17 Commits

Author SHA1 Message Date
hathach
86419df42c
use zero wait flash for nano v203 2024-08-13 16:01:51 +07:00
hathach
c0f38ebf8d
fsdev read/write packet use unaligned function 2024-07-23 19:53:41 +07:00
hathach
4de46fcf97
fix a bug in fsdev introduced by #1942 2024-07-22 21:07:28 +07:00
hathach
e251493a16
skip FLASH_ function to reduce dependency 2024-07-10 22:58:00 +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
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
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
937b2eac36
change default clock to 144mhz 2024-05-24 14:00:02 +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
hathach
b19295c1c1
use correct wch usbhs, usbfs for ch32v307 using CFG_TUD_MAX_SPEED 2024-05-20 17:26:04 +07:00
hathach
4a5fee503b
- update ch203 family to allow to specify flash and ram size. Introduce
- add ch32v203_ro_1v0 board
- CFG_EXAMPLE_MSC_DUAL_READONLY to build msc_dual_lun for ch32v203
2024-05-20 13:24:57 +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