hathach
6e88895dbc
always define CFG_TUH_WCH_USBIP_USBFS=1 for ch32v20x since only port1 support host mode
...
reformat hcd usbfs
add uart rx for ch32v20x bsp
2025-07-05 11:26:48 +07:00
hathach
1b5f97ff23
Merge branch 'refs/heads/master' into fork/verylowfreq/pr-ch32v-usbfs-host
2025-07-04 09:49:28 +07:00
Radomir Dopieralski
1f2f92d97a
Allow different port and mode for LED on ch32v boards
...
While there is a define for the port, the clock enable is hardcoded for
GPIOA, so setting a different port than GPIOA doesn't work. This fixes
it by adding a define for enabling the port clock.
It also adds a define for the pin mode, because not all boards have the
LED connected in a way that open drain works with it.
2025-04-06 17:14:32 +02:00
verylowfreq
7ed5503a5c
Fix the condition related to CFG_TUH_WCH_USBIP_USBFS macro
2025-03-16 10:13:25 +09:00
verylowfreq
c61dfc7c7a
Add ch32v20x usbfs hcd initial support.
2025-03-16 10:13:25 +09:00
hathach
6a36c74b10
embed metadata to family.c and board.h to generate supported boards doc
2024-12-27 09:11:09 +07:00
hathach
c0f38ebf8d
fsdev read/write packet use unaligned function
2024-07-23 19:53:41 +07:00
hathach
c1175b7013
enable full 224KB flash for ch32v203 with flash enhanced read mode in SystemInit (better with startup).
...
add flash with wlink-rs
2024-07-10 22:48:06 +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
02bea8982e
add new ch32v203g6u board, sysfreq is defined in board.cmake/mk
2024-06-21 16:08:37 +07:00
hathach
2ed027f2bd
use stock core_riscv.h for ch32 v2 v3
2024-06-14 12:51:28 +07:00
hathach
90deeddf3d
add c6 devkit, tested with max3421e
2024-06-06 15:49:20 +07:00
hathach
3175aaa0eb
increase version as pre-releases, still need more clean up before actual relesae
2024-05-24 20:17:53 +07:00
hathach
4ce439a75a
add ch32 support for fsdev driver. v20x can select fsdev or usbfs with make/cmake PORT=0/1. default to fsdev
2024-05-24 13:58:44 +07:00
Matthew Tran
db60fa1c63
add CH32V20x USB OTG/FS driver
2024-05-15 20:01:00 +07:00