Hello,
I merged the two projects usbd_cdc_acm_pca10056 (A) and ble_app_hids_mouse_pca10056_s140 (B) by copying all additional contents from A's flash_placement.xml into B's. Also, I added all .c files from A to B that were not present in B anyway.
I then merged A's sdk_config.h into B's and included all the additional user build paths from A into B that were not present in B's build paths (by removing duplicates).
I used the search function and my error seems not to be produced by including ../../../../../../components/drivers_nrf/nrf_soc_nosd as I removed that include already manually. The ../../../../../../components/softdevice/s140/headers include is still present.
When building, I get the following errors:
Building ‘ble_app_hids_mouse_pca10056_s140’ from solution ‘ble_app_hids_mouse_pca10056_s140’ in configuration ‘Release’ Compiling ‘nrfx_gpiote.c’ Compiling ‘nrfx_uart.c’ Compiling ‘nrfx_uarte.c’ Compiling ‘nrf_nvic.c’ 'NRF_SUCCESS' undeclared (first use in this function); did you mean 'EXIT_SUCCESS'? each undeclared identifier is reported only once for each function it appears in 'NRF_SUCCESS' undeclared (first use in this function); did you mean 'EXIT_SUCCESS'? 'NRF_SUCCESS' undeclared (first use in this function); did you mean 'EXIT_SUCCESS'? 'NRF_ERROR_NULL' undeclared (first use in this function) 'NRF_SUCCESS' undeclared (first use in this function); did you mean 'EXIT_SUCCESS'? 'NRF_SUCCESS' undeclared (first use in this function); did you mean 'EXIT_SUCCESS'? 'NRF_SUCCESS' undeclared (first use in this function); did you mean 'EXIT_SUCCESS'? 'NRF_SUCCESS' undeclared (first use in this function); did you mean 'EXIT_SUCCESS'? 'NRF_ERROR_NULL' undeclared (first use in this function) 'NRF_SUCCESS' undeclared (first use in this function); did you mean 'EXIT_SUCCESS'? 'NRF_SUCCESS' undeclared (first use in this function); did you mean 'EXIT_SUCCESS'? 'NRF_SUCCESS' undeclared (first use in this function); did you mean 'EXIT_SUCCESS'? Compiling ‘nrf_soc.c’ 'NRF_SUCCESS' undeclared (first use in this function); did you mean 'EXIT_SUCCESS'? each undeclared identifier is reported only once for each function it appears in Compiling ‘nrfx_power.c’ Compiling ‘nrf_drv_power.c’ Compiling ‘nrfx_systick.c’ Build failed
I'm planning to run that on the nRF52840 DK and later port it to the nRF52840 Dongle.
Please help me