summaryrefslogtreecommitdiff
path: root/bsp/wch
AgeCommit message (Collapse)Author
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-22[ch32] fix a typoMeco Man
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
2022-11-20修改ch32v307软件spi的宏Harrypotter-zhs
2022-10-26[ch32v307] support c++Meco Man
2022-10-24[ch32v307] 删掉无意义的memset重载 (#6561)linshire
2022-10-23replaced the judgement of RT_USING_XXX with BSP_USING, and add some… (#6554)linshire
* replaced the judgement of RT_USING_XXX with BSP_USING, and add some tips in Konfig about soft_i2c
2022-10-22[bsp][ch32v307]补全PWM设备,并为每个PWM设备添加条件编译,� ↵self-confident neko
��少代码量 (#6548) * 新增硬件定时器功能 * 新增定时器功能 * Update Kconfig * Update bsp/wch/risc-v/Libraries/ch32_drivers/drv_hwtimer.h Co-authored-by: Man, Jianting (Meco) <[email protected]> * Update Kconfig * 添加剩余的PWM设备,并为每个PWM设备添加条件编译,减少代码量 * Update drv_pwm.c * 根据建议进行修改 * 已根据建议修改 * Update bsp/wch/risc-v/Libraries/ch32_drivers/drv_pwm.c Co-authored-by: Man, Jianting (Meco) <[email protected]> * Update bsp/wch/risc-v/Libraries/ch32_drivers/drv_pwm.h Co-authored-by: Man, Jianting (Meco) <[email protected]> * Update bsp/wch/risc-v/Libraries/ch32_drivers/drv_pwm.c Co-authored-by: Man, Jianting (Meco) <[email protected]> Co-authored-by: Man, Jianting (Meco) <[email protected]>
2022-10-21新增CH32V307的硬件定时器功能 (#6545)self-confident neko
新增CH32V307的硬件定时器功能,并在CH32V307V-R1-1V0板卡上进行了测试。
2022-10-19[bsp][ch32v307]增加软件spi驱动 (#6532)zhaohaisheng
2022-10-18[ch32v307][readme] 增加vscode编译介绍 (#6540)Man, Jianting (Meco)
2022-10-17[ch32v307] update readme (#6529)Man, Jianting (Meco)
* [ch32v307] update Chinese readme * add English readme
2022-10-16[bsp][ch32v307]添加了pwm驱动 (#6519)hg0720
* [bsp][ch32v307]添加了 pwm 驱动
2022-10-14[bsp][ch32v307]补充readme文件说明hg0720
2022-10-11[bsp][ch32v307]修复了模拟iic的BUG (#6505)hg0720
2022-10-10[bsp][readme] 增加scons --exec-path=xxx 命令的使用说明Meco Man
2022-10-08[bsp][ch32v307] 添加can驱动 (#6484)chenbin182
CH32V307 添加can驱动。 CAN1和CAN2均可以使用,而且调整好波特率
2022-10-03[bsp][applications][sconscript] 整理统一sconscript格式 (#6481)Man, Jianting (Meco)
* [bsp][sconscript] 整理统一sconscript格式 * update * update
2022-09-30[bsp][ch32v307] 修改部分菜单 (#6483)linshire
* 修改部分菜单 * change again
2022-09-30[ch32v3] 修改RT_USING为BSP_USING (#6482)linshire
* 修改RT_USING为BSP_USING * Update SConscript * Update SConscript Co-authored-by: Man, Jianting (Meco) <[email protected]>
2022-09-28[ch32v307][bsp]添加了看门狗驱动 (#6474)hg0720
添加了 ch32v307 看门狗驱动,已在 ch32v307评估板验证; 修改了 rt-thread\bsp\wch\risc-v\ch32v307v-r1\board 目录下的 Kconfig 文件; 修改了 rt-thread\bsp\wch\risc-v\Libraries\ch32_drivers 目录下的 SConscript 文件; 添加了 rt-thread\bsp\wch\risc-v\Libraries\ch32_drivers 目录下的 drv_iwdt.c 文件;
2022-09-22添加了 rtc 驱动hg0720
2022-09-19[ch32v307v-r1] 添加了模拟iic驱动 (#6447)hg0720
2022-09-18[ch32v307v-r1] 添加dac驱动 (#6440)hg0720
2022-09-16[BSP] CH32V307 add drv_adc (#6431)linshire
添加了ch32v307的adc驱动,已在ch32v307评估班上对adc1ch5进行了验证,并修改了kconfig以及scons脚本,可以成功编译以及使用
2022-09-08修改了ch32 的 readme 文件hg0720
2022-09-06add drv_ulog.h so that the project can built successfullylinshire
2022-09-05Ch32 v307 kconfig fix (#6373)linshire
* add Kconfig file "USART2~USART8"
2022-09-01完善CH32V307的串口BSP (#6359)self-confident neko
* Update drv_usart.h CH32V307的串口1外设是对接在APB2桥上,其他串口均对接在APB1桥上 已完全测试,并发现一个问题,已修正。
2022-08-27[drv_usart]完善ch32的串口驱动。 (#6336)liYang~
2022-08-25[drv_gpio]为ch32完善gpio驱动 (#6334)liYang~
* 修改Kconfig的不足 * update gpio driver * formatting code
2022-08-24ch569w-evt: add usbhs device mode driver (#6330)emuzit
ch569w-evt: add usbhs device mode driver * usbd driver tested with cdc_vcom, internal loopback (can't run both MSH & usbd due to 16KB RAM limitation) * reduce usrstack & main thread stack size for usbd test * ch56x_uart.c : iron out UART0_PIN_ALT assignment
2022-08-23[bsp]添加ch32v307vct6 (#6331)liYang~
2022-08-23[bsp]添加ch32v307需要的库文件 (#6329)liYang~
* add ch32v307 lib * fix scons
2022-08-16update the project for RT-Thread_V4.1.1liuxianliang
2022-08-16[armclang] 使用__clang__代替__CLANG_ARMMeco Man
attach https://github.com/RT-Thread/rt-thread/pull/5451
2022-08-09ch569w-evt : add pwm driver, and spi_xfer bug fix (#6240)emuzit
add PWM driver, output checked with logic analyzer spi_xfer() bug fix for cs_pin and message looping uart pin_mode init moved to uart driver
2022-08-01ch569w-evt : add spi master driver, SPI0 tested (#6205)emuzit
* ch569w-evt : add spi master driver, SPI0 tested * Update bsp/wch/risc-v/ch569w-evt/board/Kconfig * Update bsp/wch/risc-v/ch569w-evt/board/Kconfig Co-authored-by: Man, Jianting (Meco) <[email protected]>
2022-07-30WCH CH569W-R0-1v0 evt board bsp port, first version (#6167)emuzit
WCH CH569W-R0-1v0 evt board bsp port, first version dev/test under Ubuntu 20.04 toolchain from MounRiver_Studio_Community_Linux_x64_V120 tested drivers : SysTick, gpio, gpio interrupt, uart1 (RX interrupt, TX polling) libcpu/risc-v/SConscript : group includes rtconfig.CPU only if folder exists libcpu/risc-v/common/cpuport.c/rt_hw_context_switch_interrupt() : make it RT_WEAK for customization
2022-06-09[scons][iar] 将IAR的PLATFORM字段由iar调整为iccarmMeco Man
将路径更新为IAR最新版本的路径
2022-06-09[Scons][iar][iccarm] ↵Meco Man
IAR统一使用iccarm作为判断条件而不是是用IDE的名字来进行判断 因为不确定后续IAR是否会像Keil一样内含有不同的编译工具链 此外,将判断条件改为列表方式,这样更方便后续增加其他可能的IAR编译链
2022-06-09[Scons] ↵Meco Man
将GCC判断条件改为列表方式,方便后续增加新的编译工具链
2022-04-20[gcc][armcc][armclang] rtconfig.CROSS_TOOL->rtconfig.PLATFORM (#5802)Man, Jianting (Meco)
* [gcc][armcc][armclang] rtconfig.CROSS_TOOL->rtconfig.PLATFORM
2022-04-06[bsp/ch32v103r-evt] add ch32v103r-evt bspblta
feat: move MRS demo source to bsp and libraries folder feat: update Sconscript feat: modify SConstruct in the bsp feat: use the rtconfig.py of gd32vf103v-eval bsp to modify feat: use the MRS's rtconfig.h temoporarily feat: update Kconfig files feat: use the MRS's .ld and rename as link.lds feat: add ch32v1 porting folder perf: remove board/system_ch32v10x.c fix: define SOC_ARM_SERIES_CH32V103 in rtconfig.h fix: add some neccessary macros in rtconfig.h perf: use the menuconfig to generate rtconfig.h feat: add readme.md fix: correct the bad encode in main.c fix: include board.h in main.c perf: check and update README.md perf: remove ch32f10x_port_cn.md feat: ignore the standard libraries's CI checking feat: add sdk_dist.py fix: correct some style errors again perf: simply the board/kconfig fix: format ch32v103r-evt fix: format drvs and libcpu
2022-03-29[bsp] Update all projects.guozhanxin
2022-03-21[stm32f072 nucleo] support pwm for arduino (#5693)Man, Jianting (Meco)
2022-03-15[update] add fal component. (#5662)LiuKang
* [update] add fal component. * [update] format code. * [update] change PKG_USING_FAL to RT_USING_FAL * [update] format code. * [update] fal * [update] delete FAL_SW_VERSION
2022-02-18add ch579m bsp (#5600)Tuber
* add ch579m bsp Author: Tuber <[email protected]> Date: Wed Feb 16 07:20:23 2022 +0000 * fix uart reg value error and format code * change file encode to utf-8