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!
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!
Can you give me more details on what is failing and what you have done?
Hi Mttrinh,
uder ....\mesh\bootloader path, use command as follow:
cmake -G Ninja -DPLATFORM=nrf52840_xxAA -DGENERATE_SES_PROJECTS=ON -DBUILD_BOOTLOADER=ON -DCMAKE_BUILD_TYPE=Debug -DBOOTLOADER_DEBUG_ENABLE=ON -DTOOLCHAIN=gccarmemb ..

error as above.
I don't know how to do next.
Did you install all of these following tools?
Hi Mttrinh,
Installed:
1) CMAKE
2) Ninja
3) Python27 and Python35
4) Segger
5) armcc
I have already compiled and used command(ex:nrfutil) to examples before doing mesh bootolader.
everything else?
Thanks!
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
Hi Mttrinh,
Thank you very much.
I still met some bug,
1) could not find Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)
2) Could not find `patch` executable. Automatic patching of the nRF5 SDK
3) Could not find the nRF5 SDK. The build will fail.
I don't know where the nRF SDK should add
Could you help me please?

Hi Mttrinh,
Thank you very much.
I still met some bug,
1) could not find Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)
2) Could not find `patch` executable. Automatic patching of the nRF5 SDK
3) Could not find the nRF5 SDK. The build will fail.
I don't know where the nRF SDK should add
Could you help me please?

Hi,
The nRF5 SDK folder should be adjacent to the Mesh SDK folder. Like this: