mcuboot/boot/zephyr
Josh Gao 837cf88f35 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>
2021-03-16 12:48:41 -06:00
..
boards boot: zephyr: adding indication LED and detect pin debounce 2021-02-08 19:42:07 +01:00
include boot: Support Mbed TLS ECDSA for signatures 2021-02-23 10:29:31 -07:00
targets zephyr: Remove outdated workaround for Kinetis 2019-12-02 11:56:24 -07:00
CMakeLists.txt bootutil: extracted app common library from bootutil_misc 2021-01-13 17:49:49 +01:00
Kconfig zephyr: add an option to use GPIO to enable USB DFU. 2021-03-16 12:48:41 -06:00
arm_cleanup.c boot: zephyr: cleanup NXP MPU configuration before boot 2020-12-18 18:31:38 +01:00
dts.overlay zephyr: restore device tree overlay 2019-12-04 23:54:18 -07:00
flash_map_extended.c boot/zephyr: make flash_area_erased_val() weak 2020-10-27 18:04:21 +01:00
flash_map_legacy.c boot: zephyr: migrate to new log subystem 2019-01-10 19:11:15 +01:00
keys.c zephyr: add option to disable cryptographic check of the image 2020-05-15 12:07:20 -06:00
main.c zephyr: add an option to use GPIO to enable USB DFU. 2021-03-16 12:48:41 -06:00
nrf52840dk_nrf52840_cc310_ecdsa.conf bootutil: ecdsa: Fix CC310 for nRF devices 2020-10-28 15:50:46 +01:00
os.c bootutil: allow RSA encryption keys without DP/DQ/QP 2019-12-17 16:26:53 -03:00
prj.conf boot:zephyr: CONFIG_LOG_MINIMAL converted to CONFIG_LOG_MODE_MINIMAL 2021-01-27 14:22:57 +01:00
sample.yaml boot: zephyr: add nrf52840 QSPI NOR overlays 2020-11-10 08:52:25 -03:00
serial_adapter.c zephyr: Fix serial recovery compilation warnings 2020-09-11 15:40:55 +02:00
serial_recovery.conf zephyr: add zephyr's sanitycheck description 2019-12-16 18:40:34 +01:00
single_loader.c boot/zephyr: Improve badly written comment 2020-10-07 14:47:34 +02:00
single_slot.conf boot/zephyr: Added single-slot Zephyr-RTOS test build 2020-09-16 12:09:43 +02:00
usb_cdc_acm_log_recovery.conf zephyr: allow recovery over usb cdc-acm with logs enabled 2020-02-27 10:01:25 +01:00