Commit Graph

28 Commits

Author SHA1 Message Date
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
d997f0071e change dcd_init() to take rhport struct 2024-10-11 15:31:49 +07:00
hathach
33f5547ed4 add ch32v103 bsp support, compile but does not run, probably due to compile/linker issue 2024-06-14 16:06:37 +07:00
hathach
2ed027f2bd use stock core_riscv.h for ch32 v2 v3 2024-06-14 12:51:28 +07:00
hathach
927015baae wch usbfs/usbhs need to specify which driver to use. for v307 default to highspeed 2024-05-24 11:38:44 +07:00
hathach
4a5b190a22 re-add sof event 2024-05-21 18:34:25 +07:00
hathach
953e3bd634 - minor update to ep_set_response_and_toggle/xfer_data_packet
- merge USBHS_ISO_ACT_FLAG, USBHS_TRANSFER_FLAG handler since they are similar
- improve uart output
- add note for link speed in bus reset
2024-05-21 17:50:50 +07:00
hathach
4bd72da5cd use CFG_TUD_ENDPOINT0_SIZE, rename ep0_data_in_out_buffer to simply ep0_buffer
reformat indent to 2 spaces
2024-05-21 15:41:59 +07:00
Denis Krasutski
3e604d1d54 fix(ch32, iso): fix iso IN transfers for CH32 2024-05-21 15:24:40 +07:00
dkrasutski
869e5e950c bugfix(ch32-hs-dcd): fix ch32 DATAx managment and long packet transmission 2024-05-21 15:24:36 +07:00
hathach
07d879378f code format
add missing MIT license
2024-05-20 17:41:48 +07:00
hathach
b19295c1c1 use correct wch usbhs, usbfs for ch32v307 using CFG_TUD_MAX_SPEED 2024-05-20 17:26:04 +07:00
hathach
5fee292606 temp code 2024-05-20 11:54:48 +07:00
Matthew Tran
ab5f276877 fix ep0 stall not clearing 2024-05-19 21:50:30 -07:00
hathach
2a67ce773d change default risv-gcc to riscv-none-elf- and add _zicsr extension
add cmake for ch32v20x, skip freertos examples for CH32V20X, also skip net webserver due to lack of RAM
update to use openocd with wlinke adapter
2024-05-16 19:18:43 +07:00
Matthew Tran
db60fa1c63 add CH32V20x USB OTG/FS driver 2024-05-15 20:01:00 +07:00
HiFiPhile
1cab553f4b Format. 2024-05-09 13:55:18 +02:00
HiFiPhile
fd1cde9b89 Merge branch 'master' into pr/2181 2024-05-09 13:45:44 +02:00
denis.krasutski
ce627f4318 feat(ch32f20x): add support of ch32f20x 2023-10-06 13:04:54 +03:00
Xelus22
d0bff6fd3e initial add SOF supporpt to CH32V307 USB HS 2023-07-25 23:53:55 +10:00
hathach
3623ba1884 fix trailing space and new line
temporarily disable codespell
2023-03-17 16:12:49 +07:00
hathach
3cf21c66b6 add dcd_remote_wakeup() stub 2023-01-12 15:26:48 +07:00
hathach
e61d4aefe6 rename driver with dcd_ to be consitent with other ports 2023-01-12 12:08:56 +07:00
hathach
3cc6cece07 add note for openocd with wch, also add wch-riscv.cfg 2023-01-12 10:25:48 +07:00
Greg Davill
cdb8a1a2a1 Clean up driver 2022-03-23 00:00:06 +10:30
Greg Davill
325923b6c6 Update comments about endpoint buffer modes 2022-03-22 23:40:54 +10:30
Greg Davill
a09c1648f5 Fix typo 2022-03-22 23:31:20 +10:30
Greg Davill
fccbcfc889 Add WCH CH32V307 port
Add WCH mcu submodule
Add CH32V307V-R1-1v0 bsp
2022-03-22 00:30:46 +10:30