mcuboot/boot/zephyr/include
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
..
flash_map flash_map: declare flash_area_get_sectors() 2017-06-14 17:07:54 -04:00
hal zephyr: Move code under 'boot' directory 2017-01-10 09:49:47 -07:00
mcuboot_config Mandate the presence of mcuboot_config/mcuboot_config.h 2018-04-25 18:44:03 -03:00
os zephyr: Move code under 'boot' directory 2017-01-10 09:49:47 -07:00
serial_adapter Add serial adapter module for support serial communication for zephyr 2017-12-06 16:11:10 -07:00
sysflash zephyr: Move code under 'boot' directory 2017-01-10 09:49:47 -07:00
config-asn1.h Fix ECDSA Zephyr configuration of mbed TLS 2017-11-14 19:12:53 -07:00
config-boot.h zephyr: Configure mbed TLS for PSS instead of V1.5 2018-02-23 09:38:47 -07:00
target.h zephyr: cleanup flash driver name 2018-04-10 14:03:35 -03:00