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

How to create a mesh bootloader project for Segger Or how to build ..\mesh\bootloader, generate new mesh bootloader hex?

Hi ,

    I want to build ..\mesh\bootloader, I know must use CMAKE,  but I do not know how to use CMAKE?

    Could you tell me or show me the step,please?  

    Thanks!

Parents Reply
  • Hi,

    Go into the root folder and press alt+D then type "cmd". Type this into the command line:

    \nrf5_SDK_for_Mesh_v4.2.0_src>mkdir build
    \nrf5_SDK_for_Mesh_v4.2.0_src>cd build
    \nrf5_SDK_for_Mesh_v4.2.0_src\build>cmake -G Ninja -DPLATFORM=nrf52840_xxAA -DGENERATE_SES_PROJECTS=ON -DBUILD_BOOTLOADER=ON -DTOOLCHAIN=gccarmemb ..
    C:\MESH\nrf5_SDK_for_Mesh_v4.2.0_src\build>ninja

    And after that, you can find the bootloader in nrf5_SDK_for_Mesh_v4.2.0_src\build\mesh\bootloader

Children
Related