This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

how to add new files to build

I want to use master spi mode ,but when I build the file,it is always error.I operate like this ,First I open the project in ble_peripheral\ble_app_hrs\pca10040\s132\arm5_no_packs,and add nrf_drv_spi.c file in the nRF_Drivers group, then in the main.c files ,I add #include nrf_drv_spi.h, then I build the file,the error is :............\components\drivers_nrf\spi_master\nrf_drv_spi.c(56): error: #35: #error directive: "Wrong configuration." Could you tell me how to add my file in BLE

Related