Commit Graph

19 Commits

Author SHA1 Message Date
hathach
57aac432b5 add new tusb_int_handler(rhport, in_isr) as common irq handler
update tusb_init() to take rhport and role, defined as macro with optional argument for backward compatible
2024-10-10 16:28:36 +07:00
hathach
8d5dbb9577 add board_reset_to_bootloader(), try to implement that for ch32v203 but not working yet 2024-07-05 15:40:02 +07:00
hathach
2a4b27ed33 add led blinky to cdc_dual_ports example 2024-03-11 22:00:21 +07:00
hathach
ef5bd9ee6c Merge branch 'master' into enhance-bsp 2023-08-04 00:31:12 +07:00
hathach
cf91660cee rename hw/bsp/board.h to board_api.h 2023-08-03 15:44:05 +07:00
hathach
3f788a4e5a enable USBMC for uno r4, add board_init_after_tusb() API
add BOARD_UPPERCASE for board detection
2023-07-31 19:09:40 +07:00
hathach
bdfcd50b1b Merge branch 'master' into portability 2023-03-17 23:53:38 +07:00
hathach
3623ba1884 fix trailing space and new line
temporarily disable codespell
2023-03-17 16:12:49 +07:00
Ben Avison
65ba15c37d Remove unreachable code
IAR generates warning Pe111 'statement is unreachable'. In a couple of
cases, replace return statements with TU_ATTR_FALLTHROUGH; because some
compilers apparently can't figure out that the return statements are
unreachable but do whinge about an imagined fall-through without them!
2022-09-13 18:00:50 +01:00
hathach
898b52be45 update rp2040 warnings
- remove "-Wno-stringop-overflow -Wno-array-bounds"
- skip -Wconversion for gcc 9 and prior
- suppress_tinyusb_warnings only when building with gcc 9 and below
2022-06-28 16:27:44 +07:00
graham sanderson
4057c2d8d9 rework suppress_tinyusb_warnings
* gcc 9.2.1 has some spurious -Wconversion warnings
* cmake 3.18 and above require set_target_properties to be added from the target directory (so added it to all examples)
* fixed a few warnings in a couple of examples
2022-06-27 22:43:41 +01:00
hathach
9794a2b865 more example update 2022-06-06 22:41:04 +07:00
hathach
2882390c82 clean up some examples 2021-03-18 15:23:08 +07:00
hathach
7860469661 comment out and add note for tud_cdc_connected() in cdc_msc examples 2020-11-24 00:06:59 +07:00
Jan Dümpelmann
e7069da7eb Reset CDC examples to original state 2020-11-18 09:47:39 +01:00
Jan Dümpelmann
e09ebea7b9 Remove tud_cdc_connected check from examples 2020-09-04 17:25:32 +02:00
hathach
08da3e80b7 echo to both serial at once 2020-01-11 12:59:02 +07:00
hathach
242a2b6126 clean example 2020-01-11 12:43:02 +07:00
Peter Lawrence
ff0e7d2bed implement multiple interfaces support 2019-12-28 14:27:32 -06:00