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

How can the code "create_hex" work in bootloader's cmakelists?

From the cmakelists of bootloader in Meshv320src, I found the code "create_hex" but this code cannot found in CMake's document. How can it work to generate the hex file?

Parents
  • Hi,

    Have a look at our documentation on infocenter: Building with CMake

  • I have read this document, but it does not talk about the command used IN cmakelists. For common cmake, create_hex is illegal and cannot work.

    Moreover, when I want to compile, it shows:

    CMAKE ERROR at CMakelists.txt: 85(set_target_link_option)

       Unknown CMake command "set_target_link_option".

    The path of this CMakelists is \nrf5_SDK_for_Mesh_v3.2.0_src\mesh\bootloader\CMakelists.txt

    Could you please give me the correct file? The current file cannot work

Reply
  • I have read this document, but it does not talk about the command used IN cmakelists. For common cmake, create_hex is illegal and cannot work.

    Moreover, when I want to compile, it shows:

    CMAKE ERROR at CMakelists.txt: 85(set_target_link_option)

       Unknown CMake command "set_target_link_option".

    The path of this CMakelists is \nrf5_SDK_for_Mesh_v3.2.0_src\mesh\bootloader\CMakelists.txt

    Could you please give me the correct file? The current file cannot work

Children
No Data