commit | e4885a637b3f9e0355afaf623603de044955c568 | [log] [tgz] |
---|---|---|
author | Tamas Ban <tamas.ban@arm.com> | Thu Nov 12 13:50:07 2020 +0000 |
committer | Andrzej Puzdrowski <andrzej.puzdrowski@nordicsemi.no> | Mon Nov 23 16:37:48 2020 +0100 |
tree | ffd1895facbe6de10726e14eda86563fd8b39061 | |
parent | 32342e7ade08bb941f142d3a7d569786bd26abc2 [diff] |
boot: Fix LOAD_IMAGE_DATA macro If RAM_LOAD is defined then the return value of memcpy() is always compared against its first parameter. By definition memcpy() returns with its first paramter (destination) so the not equal check is always false. The fix replaces this runtime check with a comma operator assigning 0 to the variable at build time, as a result compiler can be done dead code elimination much better. Signed-off-by: Tamas Ban <tamas.ban@arm.com> Change-Id: I8d0d6e68a931661fa19d395556beb20470d74fb1
This is mcuboot version 1.7.0-rc2
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 simple software upgrades.
MCUboot is operating system and hardware independent and relies on hardware porting layers from the operating. 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 using GitHub issues. To participate please visit:
Issues were previously tracked on MCUboot JIRA , but it is now deprecated.
Information and documentation on the bootloader are stored within the source.
It was previously also documented on confluence: MCUBoot Confluence however, it is now deprecated and not currently maintained
For more information in the source, here are some pointers:
Developers welcome!