1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
Commit Graph

8 Commits

Author SHA1 Message Date
Gunar Schorcht
e3b1c81603 sys/usb_board_reset: allow to enable it also for stdio_usb_serial_jtag
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.
2023-02-06 16:19:11 +01:00
Gunar Schorcht
c0d027156a pkg/tinyusb: board reset feature moved
The board reset function can be used on any CDC ACM interface. It is not necessary that the tinyUSB CDC ACM STDIO is used. Therefore, the board reset function is now a feature of the CDC ACM interface that don't require any other functionality.
2023-01-03 10:05:54 +01:00
Gunar Schorcht
cdbc9e01e7 sys/usb_board_reset: add dummy reset in bootloader function
Definition of a function as weak symbol for reset in bootloader which prints an error message if no real implementation is compiled in and
the module `riotboot_reset` is not used. This is required if the module `usb_board_reset` is used to restart the board with an application via an USB CDC ACM interface, but the board's bootloader does not support a reset in the bootloader.
2023-01-03 10:05:54 +01:00
Gunar Schorcht
5f0d9ff3a6 sys/usb/ubsus/cdc/acm: move board reset function
The  board reset function `usb_board_reset_coding_cb` can be used on any CDC ACM interface. It is not necessary that the highlevel STDIO is used. Therefore, the call of the board reset function `usb_board_reset_coding_cb` has been moved from the USBUS STDIO CDC ACM implementation to USBUS CDC ACM implementation and is thus a feature of the USBUS CDC ACM interface that don't require any other functionality.
2022-12-11 11:17:15 +01:00
Gunar Schorcht
d390b6c7f6 sys/usb_board_reset: add stdio_tinyusb_cdc_acm support 2022-12-04 16:56:19 +01:00
MrKevinWeiss
05dd46936b
sys/usb_board_reset: Model kconfig 2021-12-06 09:05:37 +01:00
Benjamin Valentin
33ef4f2902 sys/usb_board_reset: add usb_board_reset_in_bootloader definition
Move the definition of usb_board_reset_in_bootloader() to a common
location.
2020-07-01 10:30:17 +02:00
643187c1e4
sys: add usb_board_reset module 2020-03-18 10:43:05 +01:00