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

thingy52-provisioning-demo not compiling with cmake

Hi,

I am currently having issues compiling the thingy52-mesh-provisioning demo from github with cmake. The Readme talks about using SES to compile it, which works fine, but i am trying to make a script to compile it all at once with other demos. The demo comes with a CMakeLists.txt so I assumed it could be copiled with CMake but it could not compile. I have had to make modifications to each layer of CmakeLists files and still it is having linking errors and is not compiling files from ThingySDKv2.1 which are needed. Am I overlooking something? Would anyone know a fix or the correct way to compile the demo with cmake?

Thank You,

Takunda

Parents
  • Update:

    Without making changes to any of the source .c or .h files, I modified the CMakeLists.txt file for the thingy52-provisioning-demo to include the correct generic_on_off model (CMakeLists.txt currently tries to use Simple_on_off_model), as well as the missing source codes and include files. But when I flash just the application to the thingy52 DK, it does not boot. The same occurs when I flash the Softdevice and Application. The same result with the Softdevice, Application and Bootloader. (Softdevice and bootloader nrf52 v6.0.0 from the bin folder).

    Did I skip any steps? What could be the reason my DK does not boot as it does when I flash it through SES?

    PS* I have tried both the armcc and the gccarmemb Bootloaders But I do not think they are necessary as the SES project does not flash a bootloader to the DK.

Reply
  • Update:

    Without making changes to any of the source .c or .h files, I modified the CMakeLists.txt file for the thingy52-provisioning-demo to include the correct generic_on_off model (CMakeLists.txt currently tries to use Simple_on_off_model), as well as the missing source codes and include files. But when I flash just the application to the thingy52 DK, it does not boot. The same occurs when I flash the Softdevice and Application. The same result with the Softdevice, Application and Bootloader. (Softdevice and bootloader nrf52 v6.0.0 from the bin folder).

    Did I skip any steps? What could be the reason my DK does not boot as it does when I flash it through SES?

    PS* I have tried both the armcc and the gccarmemb Bootloaders But I do not think they are necessary as the SES project does not flash a bootloader to the DK.

Children
No Data
Related