Commit ee5a2be6 authored by Jean Alinei's avatar Jean Alinei
Browse files

Changed the config from USB DFU wait to GPIO enabled bootloader

parent 415d1fdb
......@@ -45,6 +45,12 @@ CONFIG_USB_DEVICE_STACK=y
CONFIG_USB_DEVICE_PRODUCT="MCUBOOT"
CONFIG_USB_COMPOSITE_DEVICE=n
CONFIG_USB_MASS_STORAGE=n
CONFIG_USB_DRIVER_LOG_LEVEL_INF=y
# Enable USB Download Firmware Upgrade (DFU)
CONFIG_BOOT_USB_DFU_WAIT=y
CONFIG_BOOT_USB_DFU_GPIO=y
CONFIG_BOOT_USB_DFU_DETECT_PORT="GPIOC"
CONFIG_BOOT_USB_DFU_DETECT_PIN=13
CONFIG_BOOT_USB_DFU_DETECT_PIN_VAL=0
CONFIG_BOOT_USB_DFU_DETECT_DELAY=200
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment