Commit Graph

25 Commits

Author SHA1 Message Date
ranchuan
c6204620f4 usb_net编译通过
Some checks failed
Build / set-matrix (push) Has been cancelled
Build / make-os (macos-latest) (push) Has been cancelled
Build / make-os (windows-latest) (push) Has been cancelled
Build / zephyr (push) Has been cancelled
Build / hil-hfp (push) Has been cancelled
pre-commit / pre-commit (push) Has been cancelled
Build / cmake (aarch64-gcc) (push) Has been cancelled
Build / cmake (arm-gcc) (push) Has been cancelled
Build / cmake (esp-idf) (push) Has been cancelled
Build / cmake (msp430-gcc) (push) Has been cancelled
Build / cmake (riscv-gcc) (push) Has been cancelled
Build / make (aarch64-gcc) (push) Has been cancelled
Build / make (arm-gcc) (push) Has been cancelled
Build / make (msp430-gcc) (push) Has been cancelled
Build / make (riscv-gcc) (push) Has been cancelled
Build / make (rx-gcc) (push) Has been cancelled
Build / arm-iar (make) (push) Has been cancelled
Build / hil-build (arm-gcc) (push) Has been cancelled
Build / hil-build (esp-idf) (push) Has been cancelled
Build / hil-tinyusb (push) Has been cancelled
2025-09-26 16:45:54 +08:00
hathach
41606a533d make notify API and memory configurable with CFG_TUD_CDC_NOTIFY
add tud_cdc_n_notify_conn_speed_change()
add tud_cdc_notify_complete_cb()
2025-07-03 13:42:05 +07:00
HiFiPhile
85ff529a31 Merge branch 'master' into dcd_notif
Signed-off-by: HiFiPhile <admin@hifiphile.com>
2024-10-30 19:47:03 +01:00
hathach
1f18be93db change the tusb_rhport_init_t struct, exclude the rhport to make API more consistent 2024-10-14 18:27:52 +07:00
hathach
92602b9de3 change tusb_init(), tusb_rhport_init() to use init struct for expandability 2024-10-11 13:41:53 +07:00
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
HiFiPhile
418b8b2f13 Add uart status notif to cdc_dual_ports example. 2024-04-26 00:17:51 +02: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