mcuboot/boot/mynewt
Marti Bolivar f91bca51a6 Mandate the presence of mcuboot_config/mcuboot_config.h
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
2018-04-25 18:44:03 -03:00
..
mcuboot_config Add config for BOOT_MAX_IMG_SECTORS 2018-04-05 18:15:35 -03:00
src Mandate the presence of mcuboot_config/mcuboot_config.h 2018-04-25 18:44:03 -03:00
README.md Make mcuboot less mynewt style 2017-06-02 10:55:27 -07:00
pkg.yml Mynewt app: Remove .OVERWITE suffix from pkg.deps 2018-02-23 20:50:37 -03:00
syscfg.yml Fix serial boot functionality for Mynewt 2018-02-22 15:51:39 -07:00

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