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 |
||
---|---|---|
.. | ||
mcuboot_config | ||
src | ||
README.md | ||
pkg.yml | ||
syscfg.yml |
README.md
mcuboot - apps/boot
This sample app implements a boot loader for the Mynewt OS (apache.mynewt.org). This app requires the following Mynewt repositories: * @mcuboot (this one) * @apache-mynewt-core