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

Using a clean mesh sdk 3.2.0, I created a build directory inside the folder where I extracted the mesh sdk to.

Then, inside that directory, I used CMAKE with the following options:

But this does not do anything to create a project file, despite the option -DGENERATE_SES_PROJECTS=ON being passed. I have been looking at the CMakeLists.txt files of the mesh sdk examples and all of them had a add_ses_project(${target}) near the end, so I went to the CMakeLists.txt file in the mesh/bootloader folder of the sdk and added add_ses_project(${__target_serial}) to the end of the file.

I ran the command again and now the project is created but CMake outputs some errors:

I suspect that the RTT will have some problems running with this generated project, what can I do? Thank you