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

Integrating Bluetooth mesh into nRF5 SDK examples

Hello everyone,

I am going to Integrate Bluetooth mesh into the nRF5 SDK example by using SDK 17.0.2 and SDK for Mesh V.5. I followed the instruction mentioned on the Infocenter.

The Heap Size was set as 8192 bytes.

I added all C files in the project file and added the H file path in the User Include Direction as it is shown below:

The following preprocessor symbols were added to the project file of the nRF5 SDK example.

NRF52_SERIES
NRF_MESH_LOG_ENABLE=NRF_LOG_USES_RTT 
CONFIG_APP_IN_CORE

I did these stages for three different examples, including ble_blinky_app, Blinky and SAADC.

But every time I face the errors on the different header files: No such file or directory. For example: 

Rebuilding ‘ble_app_blinky_pca10056_s140’ from solution ‘ble_app_blinky_pca10056_s140’ in configuration ‘Release’
1> Assembling ‘thumb_crt0.s’
2> Compiling ‘nrf_log_backend_rtt.c’
3> Compiling ‘nrf_log_backend_serial.c’
4> Compiling ‘nrf_log_backend_uart.c’
1> Compiling ‘nrf_log_default_backends.c’
2> Compiling ‘nrf_log_frontend.c’
3> Compiling ‘nrf_log_str_formatter.c’
4> Compiling ‘app_button.c’
1> Compiling ‘app_error.c’
1> Compiling ‘app_error_handler_gcc.c’
2> Compiling ‘app_error_weak.c’
3> Compiling ‘app_scheduler.c’
4> Compiling ‘app_timer2.c’
1> Compiling ‘app_util_platform.c’
2> Compiling ‘drv_rtc.c’
3> Compiling ‘hardfault_implementation.c’
1> Compiling ‘nrf_assert.c’
4> Compiling ‘nrf_atfifo.c’
2> Compiling ‘nrf_atflags.c’
3> Compiling ‘nrf_atomic.c’
1> Compiling ‘nrf_balloc.c’
4> Compiling ‘nrf_fprintf.c’
2> Compiling ‘nrf_fprintf_format.c’
3> Compiling ‘nrf_memobj.c’
1> Compiling ‘nrf_pwr_mgmt.c’
4> Compiling ‘nrf_ringbuf.c’
3> Compiling ‘nrf_section_iter.c’
2> Compiling ‘nrf_sortlist.c’
4> Compiling ‘nrf_strerror.c’
1> Assembling ‘ses_startup_nrf52840.s’
3> Assembling ‘ses_startup_nrf_common.s’
2> Compiling ‘system_nrf52840.c’
1> Compiling ‘boards.c’
3> Compiling ‘nrf_drv_clock.c’
4> Compiling ‘nrf_drv_uart.c’
2> Compiling ‘nrfx_atomic.c’
1> Compiling ‘nrfx_clock.c’
3> Compiling ‘nrfx_gpiote.c’
4> Compiling ‘nrfx_prs.c’
2> Compiling ‘nrfx_uart.c’
1> Compiling ‘nrfx_uarte.c’
4> Compiling ‘main.c’
3> Compiling ‘SEGGER_RTT.c’
2> Compiling ‘SEGGER_RTT_Syscalls_SES.c’
1> Compiling ‘SEGGER_RTT_printf.c’
4> Compiling ‘ble_advdata.c’
2> Compiling ‘ble_conn_params.c’
3> Compiling ‘ble_conn_state.c’
1> Compiling ‘ble_srv_common.c’
2> Compiling ‘nrf_ble_gatt.c’
4> Compiling ‘nrf_ble_qwr.c’
1> Compiling ‘utf.c’
3> Compiling ‘ble_lbs.c’
2> Compiling ‘nrf_sdh.c’
4> Compiling ‘nrf_sdh_ble.c’
1> Compiling ‘nrf_sdh_soc.c’
3> Compiling ‘aes.c’
3> In file included from D:\Behine Niroo\Nordic\NRF Mesh\nrf5_SDK_for_Mesh_v5.0.0_src\mesh\core\src\aes.c:38:
3> D:/Behine Niroo/Nordic/NRF Mesh/nRF5_SDK_17.0.2_d674dde/components/mesh/core/include/aes.h:41:10: fatal error: nrf_mesh_config_core.h: No such file or directory
3> compilation terminated.
Build failed

Could you please advice me?

Thank you,

Sama

Parents Reply Children
No Data
Related