CONFIG options in cmake file have no effect after updating NCS to 2.5

Hi,

I am migrating some projects from NCS 2.3 to NCS 2.5.2 and noticed that the configs I made in the cmakelists file no longer have an effect.

This is how it worked in ncs 2.3:

set(CONFIG_MCUBOOT_BUILD_STRATEGY_USE_HEX_FILE "y")
set(CONFIG_MCUBOOT_HEX_FILE "${CMAKE_SOURCE_DIR}/src/b...")
set(CONFIG_BOOT_SIGNATURE_KEY_FILE "${CMAKE_SOURCE_DIR}/src/...")

But now this has no effect anymore. If I set the options in prj.conf it does work though.

Is this intentional or is this a bug?

Kind regards,

Jonas

Parents Reply
  • so, I tried it but it does not work for me. the relative path is determined from the toolchain directory and not the application source directory... is there a way to change this?

    EDIT: Its not the toolchain dir, but the ncs/version/bootloader/mcuboot dir, Is this a bug? as this is the application directory of mcuboot, but only if I were to compile it... as Im using a precompiled version, this directory has nothing todo with my application..

Children
Related