How to add mesh into nRF5 SDK v14.1/v15 BLE application ?

What do I need to know to add mesh functionality into a normal BLE application ?

Parents
No Data
Reply
  • Hi Hung Bui!

    Segger embedded studio version:4.12.

    nRF5 SDK version:15.2.

    nRF5 SDK for mesh version:3.0.

    I am trying to compile ble_app_uart_mesh_SDK2_0_1.zip but i got a error.

    when i add the source files in the ble_app_uart_mesh project, i can't find the ses_nRF_Startup.s and the ses_nfr52_Vectors.s in  nRF5 SDK.

    I refer to anther one mesh example, it adds ses_startup_nrf_common.s and ses_startup_nrf52.s. So i add this two files in ble_app_uart_mesh project instead of that two files i can't find.

       

    after that when I compile the ble_app_uart_mesh example, it appears a error like this:

    Building ‘ble_app_uart_pca10040_s132’ from solution ‘ble_app_uart_pca10040_s132’ in configuration ‘
    
    Release’
    1> Compiling ‘app_util_platform.c’
    2> Compiling ‘hardfault_implementation.c’
    1> rm failed: can't delete F:/ARM-Linux/jeffrey/BLE_mesh/nRF5_SDK_15.2.0_9412b96/nRF5_SDK_15.2.0_9412b96/examples/ble_peripheral/ble_app_uart_mesh/pca10040/s132/ses/Output/ble_app_uart_pca10040_s132 Release/Obj/system_nrf52.asm
    2> rm failed: can't delete F:/ARM-Linux/jeffrey/BLE_mesh/nRF5_SDK_15.2.0_9412b96/nRF5_SDK_15.2.0_9412b96/examples/ble_peripheral/ble_app_uart_mesh/pca10040/s132/ses/Output/ble_app_uart_pca10040_s132 Release/Obj/system_nrf52.asmrm failed: can't delete F:/ARM-Linux/jeffrey/BLE_mesh/nRF5_SDK_15.2.0_9412b96/nRF5_SDK_15.2.0_9412b96/examples/ble_peripheral/ble_app_uart_mesh/pca10040/s132/ses/Output/ble_app_uart_pca10040_s132 Release/Obj/system_nrf52.asm
    1> rm failed: can't delete F:/ARM-Linux/jeffrey/BLE_mesh/nRF5_SDK_15.2.0_9412b96/nRF5_SDK_15.2.0_9412b96/examples/ble_peripheral/ble_app_uart_mesh/pca10040/s132/ses/Output/ble_app_uart_pca10040_s132 Release/Obj/system_nrf52.asm
    2> rm failed: can't delete F:/ARM-Linux/jeffrey/BLE_mesh/nRF5_SDK_15.2.0_9412b96/nRF5_SDK_15.2.0_9412b96/examples/ble_peripheral/ble_app_uart_mesh/pca10040/s132/ses/Output/ble_app_uart_pca10040_s132 Release/Obj/system_nrf52.asmrm failed: can't delete F:/ARM-Linux/jeffrey/BLE_mesh/nRF5_SDK_15.2.0_9412b96/nRF5_SDK_15.2.0_9412b96/examples/ble_peripheral/ble_app_uart_mesh/pca10040/s132/ses/Output/ble_app_uart_pca10040_s132 Release/Obj/system_nrf52.asm
    1> rm failed: can't delete F:/ARM-Linux/jeffrey/BLE_mesh/nRF5_SDK_15.2.0_9412b96/nRF5_SDK_15.2.0_9412b96/examples/ble_peripheral/ble_app_uart_mesh/pca10040/s132/ses/Output/ble_app_uart_pca10040_s132 Release/Obj/system_nrf52.asm
    2> rm failed: can't delete F:/ARM-Linux/jeffrey/BLE_mesh/nRF5_SDK_15.2.0_9412b96/nRF5_SDK_15.2.0_9412b96/examples/ble_peripheral/ble_app_uart_mesh/pca10040/s132/ses/Output/ble_app_uart_pca10040_s132 Release/Obj/system_nrf52.asmrm failed: can't delete F:/ARM-Linux/jeffrey/BLE_mesh/nRF5_SDK_15.2.0_9412b96/nRF5_SDK_15.2.0_9412b96/examples/ble_peripheral/ble_app_uart_mesh/pca10040/s132/ses/Output/ble_app_uart_pca10040_s132 Release/Obj/system_nrf52.asm
    1> The object file Output/ble_app_uart_pca10040_s132 Release/Obj/system_nrf52.o has been supplied more than once
    Build failed

    Do you know why? And would you tell me how to solve this error specifically? Thank you!!!

Children
No Data