mcuboot/boot/zephyr
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
..
boards zephyr: Fix overlay dir for Zephyr build 2018-03-13 16:39:14 -06:00
include Mandate the presence of mcuboot_config/mcuboot_config.h 2018-04-25 18:44:03 -03:00
targets zephyr: cleanup flash driver name 2018-04-10 14:03:35 -03:00
CMakeLists.txt use zephyr tincybor instead of mcuboot build-in tinycbor 2018-04-10 10:36:20 +02:00
Kconfig zephyr: add Kconfig options for CONF_xxx 2018-04-25 18:44:03 -03:00
dts.overlay hotfix for "zephyr: force mcuboot to fit in the boot partition" 2017-10-04 20:36:34 -04:00
flash_map.c boot: zephyr: fix flash page layout hacks 2017-10-10 13:57:02 -06:00
flash_map_legacy.c boot: zephyr: fix flash page layout hacks 2017-10-10 13:57:02 -06:00
hal_flash.c zephyr: use indentation consistent across mcuboot 2017-04-11 17:59:04 -06:00
keys.c Make mcuboot less mynewt style 2017-06-02 10:55:27 -07:00
main.c zephyr: cleanup flash driver name 2018-04-10 14:03:35 -03:00
os.c fix warnings while building along with serial recovery 2018-04-10 08:16:35 -03:00
prj-p256.conf zephyr: mbedtls: Fix compile error no such file or directory 2018-02-14 13:55:23 -02:00
prj.conf Zephyr: Use mbed TLS allocator 2017-10-30 22:33:08 -06:00
serial_adapter.c Add serial adapter module for support serial communication for zephyr 2017-12-06 16:11:10 -07:00