summaryrefslogtreecommitdiff
path: root/bsp/wch/risc-v/Libraries
AgeCommit message (Collapse)Author
2025-07-21[bsp][wch]:适配WCH RISC-V系列uart_v2驱动 (#10514)CYFS
[bsp][wch]:adapt wch risc serial_v2
2025-05-23[bsp][wch][risc-v] add drv_flash for ch32v307. (#10306)Chasel
* [bsp][wch][risc-v] add drv_flash for ch32v307. * [bsp][wch][risc-v] 1. add yml file for ch32v307. 2. fix programs a word at chip flash timeout. 3. priority use of fast mode. * [bsp][wch][risc-v] fix spi device for ch32v307.
2025-02-25[bsp][wch] move ch32v20x sdk to package (#10023)Kai
* [bsp][wch]to clear the serial of ch32v20x * [bsp][wch] move ch32v20x sdk to pkg * [ci] add ch32v208 bsp * [bsp][wch] update readme
2025-02-19[bsp][wch] move ch32v307 sdk to package (#9983)Kai
* [bsp][wch] move ch32v307 sdk to package * [bsp][wch] move ch32v307 sdk to package * [bsp][wch] use a fixed version * [bsp][wch]fix: ch32v307v-r1 build * [bsp][wch] add yd board to ci * [bsp][wch] revert toolchain path
2024-12-09[bsp][wch/risc-v][ch32] 1.fixed iwdt driver is not reload counter to register;Chasel
2024-09-13[drivers] Specifies the name of the drivers driver fileCXSforHPU
https://github.com/RT-Thread/rt-thread/pull/9420
2024-08-23[device] add dev_ prefix for file namesCXSforHPU
2024-08-01remove useless codeYaochenger
2024-08-01[bsp][ch32] add eth driverYaochenger
2024-05-04[bsp][ch32v307]添加了适配RT-Thread的全速USB驱动IceBear003
2024-04-29[i2c] adjust the timing for I2C initializationLZerro
2024-04-29[spi] soft_spi_pin_init loop variable is initialized to 0LZerro
The loop variable in the function 'drv_soft_spi:xx_pin_init()' is initialized to 0.
2024-04-09[driver][soft-spi] spi device driver framework adds pin init function functionYuqiang Wang
为什么提交这份PR (why to submit this PR) ps:在设备初始化阶段不应该存在对硬件的操作 你的解决方案是什么 (what is your solution) ps:添加一个pin_init函数,在spi设备使用时调用该函数来完成硬件引脚的状态初始化,而不是在设备初始化阶段对硬件进行操作,已经在瑞萨HMI上通过验证
2024-04-01[bsp][ch32v307v]添加了硬件iic驱动白熊
2024-03-24[bsp][drv_gpio] fix the error code return when pin number is illegalMeco Man
2024-03-23[pin] pin_read/write rt_uint8_t to rt_ssize_tkk
2024-01-18[bsp][renesas] RTduino configuration updatekurisaw
sync update some optimize [bsp][driver] Updates the naming convention of the i2c configuration item
2023-12-16ch32_drivers: call rt_hw_pin_init explicitlyxiaofan
Signed-off-by: xiaofan <[email protected]>
2023-11-16fix:fix wch startup risks.CoderNotCute
1: If IAP has set mstatus to other value, using csrs will not change old value of mstatus in IAP. It should using csrw instead. 2: Reduce the flash size of undefined irq functions.
2023-07-25[bsp][wch] fix UART IRQ declarion bxhsiman
将UART4后的中断函数声明改为UART
2023-07-19[bsp][stm32][airm2m]<pin>更新pin num命令 (#7390)wangqinglin
2023-07-01[include][dbg]update: delete rtdebug.h (#7759)Shicheng Chu
2023-06-26[ch32][risc-v][drv] fix rt_hw_us_delay compile errorMeco Man
2023-06-17[wch][risc-v][drv] fix a typo in drv_common.cMeco Man
2023-06-17[ch32][risc-v][bsp] update drv_common for wch risc-v bspself-confident neko
2023-06-14[bsp][ch32-rsicv][sconscript] add drv_common.cMeco Man
attach bf4594870e9f8a533450d34a1ea2b4f035e89c96
2023-06-14向 wch-riscv-bsp 添加 drv_common.c/.h 文件 (#7671)self-confident neko
2023-05-08[bsp] fix mismatched function types in rt_pin_ops for all drv_gpio.c (#7457)Placebo27
2023-04-29[HUST CSE]fix:修改drv_spi.c空指针问题nobody
2023-04-24[HUST CSE][WCH][library] fix error in Bubble Sort (#7240)AD0naldRavenclow
2023-04-16Fix many abnormal symbols in annotationsStwsyburg
2023-04-09[bsp/wch]ch32v307 PCLK1(APB1)分频注释纠错会飞的猪
2023-03-23[atomic]添加arm与risc-v下的常用原子操作函数 (#7053)Yaochenger
* Update Kconfig * Update trap_gcc.S * Update bsp/hifive1/drivers/SConscript Co-authored-by: Man, Jianting (Meco) <[email protected]> * Update SConscript * [atomic]提交一份arm与risc-v架构下的常用原子操作函数 * 修改变量类型 * 更新rtatomic.h与atomic_port.c * 更新rt-thread\libcpu\arm\common\atomic_port.c * 更新include/rtatomic.h与libcpu/arm/common/SConscript * 更新include/rtatomic.h * 修正格式与Kconfig * 修正格式与文件结构 * 规范文件格式与文件重命名 * 添加测试用例与CI * 添加函数声明 * 修改virt64/SConscript 添加atomic_riscv.c * 1.规范代码风格 * 2.添加RISC-V64原子指令支持 解决在RV64下编译器将32-bit运算结果扩展为64-bit 导致判断错误 * 添加C11标准库原子操作测试 --------- Co-authored-by: Man, Jianting (Meco) <[email protected]>
2023-03-16[error code][-RT_EIO] fix that use RT_EIO without -Meco Man
2023-03-01[libcpu][riscv]整合libcpu/riscv中的移植文件 ↵Yaochenger
提供一份公共代码于common (#6941) 整合libcpu/riscv中的移植文件 提供一份公共代码于common 在提交本pr时,除hpmicro的内核,rv32内核bsp已完成去除大部分的冗余,大部分代码采用common中的实现。本pr的作用是进一步统一common中的文件,从而提供一份公用代码,新移植的RV32内核的BSP可以全部使用common代码。 - 在common中提供一份公用文件:interrupt_gcc.S - 修改原有的文件,将原有的中断中上下文切换代码替换为interrupt_gcc.S - 基于上述修改,修改仓库中risc-v内核的BSP与移植相关的部分 (主要包含中断入口函数 中断栈等) - 在common中提供一份公用文件:trap_common.c;提供统一中断入口函数,中断入口函数初始化,中断入口注册等函数,并完善异常时的信息输出 - 在common中提供一份公用文件:rt_hw_stack_frame.h;将栈帧结构体剥离,供用户使用 - 在上述工作完成后,在上述工作的基础上测试仓库中risc-v内核的BSP - 完善函数中的命名,完善中断栈的获取 - 提供一份详细的基于现有common文件的移植指南 #### 在什么测试环境下测试通过 - 1.CH32V307V-R1-R0 - 2.CH32V208W-R0-1V4 - 3.HPM6750EVKMINI - 4.GD32VF103V-EVAL - 5.qemu(CORE-V-MCU ) > 与上述开发板使用同样芯片的BSP均测试通过 在CH32V307V-R1-R0与HPM6750EVKMINI上基于现有移植文件进行多线程复杂场景下的长时间测试,测试过程系统运行正常。
2023-02-28[bsp][ch32] fix the empty function ch32dma_transmit return error code as -RT_EIOlinshire
2023-02-27[wch][spi] 修改ch32 risc-v spi底层驱动函数返回值类型 (#6979)liYangYang
* [wch][spi] 修改ch32 risc-v spi底层驱动函数返回值类型 --------- Co-authored-by: Zxy <[email protected]> Co-authored-by: Man, Jianting (Meco) <[email protected]>
2023-02-25[ch32][bsp] fix warning: rt_size_t to rt_ssize_tlinshire
2023-02-08[RTduino][ch32v208w-r0]ch32v208w-r0适配RTduino (#6917)Yaochenger
2023-02-07rt_device_write/read return data type as rt_ssize_tMeco Man
rt_ssize_t can give negative error code, which follows the unix style correctly
2023-01-08format Kconfig and sconscriptMeco Man
2023-01-05[bsp][ch32]pwm避免警告 (#6818)Yaochenger
2023-01-04[libcpu][riscv]移除ch32中的冗余文件,使用common下的文件 (#6813)Yaochenger
* [libcpu][riscv]移除ch32中的冗余文件,使用common下的文件 * 修正cpuport.h宏定义 * 规范宏定义格式
2022-12-28[libcpu][riscv] 添加宏用于区别是否开启FPU,更新ch32v208v-r0 ↵Yaochenger
->ch32v208w-r0,更新注释
2022-12-27[bsp][ch32v208]添加ch32v208BSP,合并libcpu/riscv 中ch系列的port文件 ↵Yaochenger
(#6780) 【1】添加ch32v208-r0 bsp 【2】合并libcpu/riscv 下ch系列mcu的port文件
2022-12-20[smart/aarch64] code sync (#6750)Shell
* [smart/aarch64] sync aarch64
2022-12-11[rtdef] use lower-case to define attributes (#6728)Man, Jianting (Meco)
* [rtdef] rename RT_WEAK attribute as rt_weak * [rtdef] rename RT_USED attribute as rt_used * [rtdef] rename RT_SECTION attribute as rt_section * [rtdef] rename ALIGN attribute as rt_align * [legacy] add RT_USED ALIGN RT_SECTION RT_WEAK as legacy support
2022-12-02更改了函数名linshire
2022-11-26[ch32v307]添加了硬件spi驱动 (#6654)linshire
* 添加了硬件spi驱动
2022-11-21[CAN]update struct can_filter_item and rt_can_msg (#6556)wdfk-prog
* 修改ry命令,已便于自定义保存路径 * modified: components/utilities/ymodem/ry_sy.c * 修复从被动错误恢复后发送返回异常 * 修复在自动重传模式下,ACK异常阻塞线程 - 删除TX中断函数else分支。仅当RQCP位 置一才进入该中断 - 添加SCE中断函数中关于ACK_ERR的else判断。自动重传模式下会进入该判断,打断自动重传释放完成量。 * 增加对于CAN1与CAN2的SCE中断和TX中断的公共处理函数 * formatting格式化代码 * update struct can_filter_item and rt_can_msg 1. 对过滤器号和索引号结构体定义中同一名称hdr进行重命名hdr_bank和hdr_index, 以便准确区分.采用宏定义兼容以前变量名. 2. 添加接收标识rxfifo,已指明是哪个RXFIFO. * 更正42M下的波特率 * 修复接收获取索引号错误 * 添加接收标识 * 更新注释 * 取消CANFD限制 * update struct can_filter_item and rt_can_msg