f91bca51a6
Mynewt uses this file to convert MYNEWT_VAL(xxx) to MCUBOOT_xxx config options. Zephyr currently adds config options via the compiler command line, but it should use this instead. As prep work for that conversion, add an empty mcuboot_config.h to the Zephyr port, and include this file unconditionally wherever it's needed. This takes care of the simulator as well, since that puts boot/zephyr/include on its C file include path. This turned up a couple of files (bootutil_priv.h and caps.c) that were using the MCUBOOT_xxx config values without including the file. Add the includes there, as they'll be needed later. To make this official, add it to the requirements in the porting guide and provide a template file porters can use while getting started. Signed-off-by: Marti Bolivar <marti@opensourcefoundries.com> fixup! Mandate the presence of mcuboot_config/mcuboot_config.h |
||
---|---|---|
.. | ||
boards | ||
include | ||
targets | ||
CMakeLists.txt | ||
Kconfig | ||
dts.overlay | ||
flash_map.c | ||
flash_map_legacy.c | ||
hal_flash.c | ||
keys.c | ||
main.c | ||
os.c | ||
prj-p256.conf | ||
prj.conf | ||
serial_adapter.c |