Skip to content

Commit

Permalink
sys/usb_board_reset: allow to enable it also for stdio_usb_serial_jtag
Browse files Browse the repository at this point in the history
Even if only `stdio_usb_serial_jtag` is enabled as STDIO, `usb_board_reset` is enabled since there should be a CDC ACM interface in any case. This is necessary, for example, to reset the board into bootloader if `stdio_cdc_acm` or `stdio_tinyusb_cdc_acm` was previously used.
  • Loading branch information
gschorcht committed Feb 4, 2023
1 parent 6afdc91 commit 9f8b1e0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sys/usb_board_reset/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,5 @@
config MODULE_USB_BOARD_RESET
bool "Trigger a board reset via USB CDC ACM"
depends on TEST_KCONFIG
depends on MODULE_USBUS_CDC_ACM || (MODULE_TINYUSB_DEVICE && MODULE_TINYUSB_CLASS_CDC)
depends on MODULE_USBUS_CDC_ACM || (MODULE_TINYUSB_DEVICE && MODULE_TINYUSB_CLASS_CDC) \
|| MODULE_STDIO_USB_SERIAL_JTAG

0 comments on commit 9f8b1e0

Please sign in to comment.