Describe the set-up
Describe the bug
Projects/*/Applications/ROT/OEMiROT_Boot
All the IDE-configs seem to add '-DMCUBOOT_TARGET_CONFIG=<flash_layout.h>' to the build command line.
I have only tested with STM32CubeIDE but it is present in EWARM/Project.ewp and MDK-ARM/Project.uvprojx too.
This preprocessor symbol is redundant. No code tests for it.
In the upstream mcuboot 1.7.2 it is used in boot/zephyr/include/target.h but this file is not present in Middlewares/Third_Party/mcuboot/ in this git. There is no Zephyr support in this git. And to my understanding (which I admit is limited), if you want to boot Zephyr using mcuboot, you build mcuboot as part of Zephyr. OEMiROT_Boot cannot be used for this purpose.
Suggested fix
Remove '-DMCUBOOT_TARGET_CONFIG=<flash_layout.h>' from the project configs for EWARM, MDK-ARM and STM32CubeIDE.
Describe the set-up
Describe the bug
Projects/*/Applications/ROT/OEMiROT_Boot
All the IDE-configs seem to add
'-DMCUBOOT_TARGET_CONFIG=<flash_layout.h>'to the build command line.I have only tested with STM32CubeIDE but it is present in EWARM/Project.ewp and MDK-ARM/Project.uvprojx too.
This preprocessor symbol is redundant. No code tests for it.
In the upstream mcuboot 1.7.2 it is used in
boot/zephyr/include/target.hbut this file is not present in Middlewares/Third_Party/mcuboot/ in this git. There is no Zephyr support in this git. And to my understanding (which I admit is limited), if you want to boot Zephyr using mcuboot, you build mcuboot as part of Zephyr. OEMiROT_Boot cannot be used for this purpose.Suggested fix
Remove
'-DMCUBOOT_TARGET_CONFIG=<flash_layout.h>'from the project configs for EWARM, MDK-ARM and STM32CubeIDE.