summaryrefslogtreecommitdiff
path: root/bsp/wch
AgeCommit message (Collapse)Author
2023-07-01[include][dbg]update: delete rtdebug.h (#7759)Shicheng Chu
2023-06-26[bsp][ch32v208w] fix C++ compling errorsMeco Man
2023-06-26[ch32][risc-v][drv] fix rt_hw_us_delay compile errorMeco Man
2023-06-26[bsp][ch32v307v] add _head_end for link fileMeco 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-19[bsp][readme]合并ch32v208与RT1060的readmeYaochenger
2023-04-18[HUST CSE][docs] fix the invalid linkKent Zuo
2023-04-16Fix many abnormal symbols in annotationsStwsyburg
2023-04-14[add]添加CH32V208英文上手指南 (#7243)Yaochenger
2023-04-13[add][ch32v208w-r0]添加CH32V208上手指南 (#7225)Yaochenger
2023-04-09[bsp/wch]ch32v307 PCLK1(APB1)分频注释纠错会飞的猪
2023-03-31sync and update all projects (#7138)yangjie11
* sync and update
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-23[errno code]fix that use RT_EFULL without -Zxy
2023-03-23[errno code]fix that use RT_ENOSYS without - (#7084)Zxy
* [errno code]fix that use RT_ENOSYS without - * Update bsp/airm2m/air32f103/libraries/rt_drivers/drv_hwtimer.c --------- Co-authored-by: Man, Jianting (Meco) <[email protected]>
2023-03-23[errno code]fix that use RT_EEMPTY without -Zxy
2023-03-19format sconscript Kconfig filesMeco Man
2023-03-16[errno code][-RT_EINVAL] fix that use RT_EINVAL without -Meco Man
2023-03-16[error code][-RT_EIO] fix that use RT_EIO without -Meco Man
2023-03-08[ch32]修正接口数据类型 (#7025)charlown
2023-03-05[bsp][rtduino] update arduino_main.cppMeco Man
2023-03-02[libcpu/riscv]迁移libcpu/riscv/ch32中文件至bsp (#7004)Yaochenger
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-15format ch32 driverMeco Man
2023-02-09[RTduino][ch32v208]修正rtconfig.h配置 (#6920)Yaochenger
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-13[bsp] wch ch32v307v-r1动态初始化堆内存 (#6849)会飞的诸
#### 为什么提交这份PR (why to submit this PR) - 修复ch32v307v-r1 board.h 中变量_stack_size未声明BUG - 提供ch32v307v-r1动态堆内存分配(宏开关)代码 - ch32v307v-r1 MD文档新增烧录方式,作为烧录后无运行结果的替代方案 #### 你的解决方案是什么 (what is your solution) - 去掉_stack_size未声明变量 - 动态分配内存堆,将堆起始地址放在.bss段结尾,堆结束地址放在.stack段开头[详情](https://club.rt-thread.org/ask/article/001065082e9ae611.html) - 将烧录工具替换为WCH-LinkUtility #### 在什么测试环境下测试通过 (what is the test environment) - 开发工具: RT-Thread Studio - 测试板卡:ch32v307v-r1评估板 - 烧录工具:WCH-LinkUtility
2023-01-12modify RT_ALIGN_SIZE as 8 by defaultMeco Man
2023-01-13[ch32v208] 调整KconfigMeco Man
2023-01-13[RTduino][ch32v307] add English readmeMeco Man
2023-01-12[bsp] update ch32v307 readmeMeco Man
2023-01-09[RTduino] 增加CH32V307 readmezhaohaisheng
2023-01-08format link scriptsMeco Man
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-27[bsp][ch32v307]适配RT-duino框架 (#6669)hg0720
为ch32v307适配rt-duino,支持pwm、gpio、uart、iic,暂不支持 spi。 已在ch32v307评估板测试。 测试内容包括串口打印、呼吸灯、AHT10温湿度读取等。
2022-12-20[smart/aarch64] code sync (#6750)Shell
* [smart/aarch64] sync aarch64