commit | 9b0ee9034a1585fae7894388f26e6741e590c92f | [log] [tgz] |
---|---|---|
author | Fabio Utzig <utzig@apache.org> | Thu Nov 23 19:49:00 2017 -0200 |
committer | David Brown <davidb@davidb.org> | Thu Dec 21 13:36:34 2017 -0700 |
tree | 9b72888e17b49f0e1a9b05888998c5df2aefdbf2 | |
parent | ebdc969738277a5cd2164bea65f4846f18276235 [diff] |
Enable capturing asserts inside simulator When building in simulator mode, mock assert() to call an simulator function which will enable other code to check if some path failed. The assert checking interface, was added to boot_go which now returns the low-level invocation results as well as the number of asserts triggered. Some new added tests check for assert() and expect it to happen. To not abort tests, assert() was changed under sim env to not call c assert() and instead just do some internal calculation which could be checked by the simulator after a bootloader run and assert() catching behavior was made optional (each test choses the behavior it needs). Signed-off-by: Fabio Utzig <utzig@apache.org>
This is mcuboot, version 1.0.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.
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!