commit | 837cf88f35d0cc0d7d54fe050d2dc58cfab967c0 | [log] [tgz] |
---|---|---|
author | Josh Gao <josh@jmgao.dev> | Fri Nov 13 18:51:27 2020 -0800 |
committer | David Brown <davidb@davidb.org> | Tue Mar 16 12:48:41 2021 -0600 |
tree | 722e7f63b2afd0c64b198906d87f68dd9b324a49 | |
parent | 895300103d84cc710a06e9b161e4a04798578553 [diff] |
zephyr: add an option to use GPIO to enable USB DFU. Devices with a physical reset button might prefer to use it to enter USB DFU mode, instead of always entering it with a timeout. Extract the existing CONFIG_BOOT_SERIAL_DETECT detection code and use it to enter DFU mode when CONFIG_BOOT_USB_DFU_GPIO is enabled. This commit depends on zephyrproject-rtos/zephyr#30015, which changes wait_for_usb_dfu from a nullary function that waits for a compile-time fixed amount of time, to one that takes a timeout. Signed-off-by: Josh Gao <josh@jmgao.dev>
This is mcuboot version 1.8.0-dev
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!