commit | f91bca51a635bba90e92df00d829abeb6b6f6949 | [log] [tgz] |
---|---|---|
author | Marti Bolivar <marti@opensourcefoundries.com> | Thu Apr 12 12:40:46 2018 -0400 |
committer | Fabio Utzig <utzig@utzig.org> | Wed Apr 25 18:44:03 2018 -0300 |
tree | ce8b2c414beac8bdfd477f6b6a5ad7e1a80368fc | |
parent | bc2fa4e1e748d2aa257ec25aab63063c7c44a6b6 [diff] |
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
This is mcuboot, version 1.1.0
MCUboot is a secure bootloader for 32-bit MCUs. The goal of MCUboot is to define a common infrastructure for the bootloader, system flash layout on microcontroller systems, and to provide a secure bootloader that enables easy software upgrade.
MCUboot is operating system and hardware independent, and relies on hardware porting layers from the operating system it works with. Currently mcuboot works with both the Apache Mynewt, and Zephyr operating systems, but more ports are planned in the future. RIOT is currently supported as a boot target with a complete port planned.
Instructions for different operating systems can be found here:
The issues being planned and worked on are tracked on Jira. To participate please visit:
https://runtimeco.atlassian.net/projects/MCUB/summary
Information and documentation on the bootloader is stored within the source, and on confluence:
https://runtimeco.atlassian.net/wiki/discover/all-updates
For more information in the source, here are some pointers:
Developers welcome!