Meco Man
cd1c08b3cd
[bsp][RTduino] format Kconfig ( #8621 )
2024-03-17 19:49:34 +08:00
Meco Man
1a240798fa
[RTduino] pins_arduino.h add limit check
2024-03-08 09:39:57 +08:00
kurisaw
345ce24e31
[bsp][renesas] RTduino configuration update
...
sync update
some optimize
[bsp][driver] Updates the naming convention of the i2c configuration item
2024-01-18 11:57:51 +08:00
GSunwinder
db5bdb1ffa
[BSP] Support YD-CH32V307VCT6 ( #8473 )
2024-01-09 02:38:44 +08:00
xiaofan
8dee48fdaa
ch32_drivers: call rt_hw_pin_init explicitly
...
Signed-off-by: xiaofan <xfan1024@live.com>
2023-12-16 19:23:10 +08:00
CoderNotCute
4ac9754f5b
fix:fix wch startup risks.
...
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-11-16 14:02:17 +08:00
guozhanxin
9e79333512
[project] update mdk/iar project and config.
2023-10-08 11:21:00 +08:00
bxhsiman
93cd53d06f
[bsp][wch] fix UART IRQ declarion
...
将UART4后的中断函数声明改为UART
2023-07-25 19:18:56 -04:00
wangqinglin
a07fda3470
[bsp][stm32][airm2m]<pin>更新pin num命令 ( #7390 )
2023-07-19 18:45:43 -04:00
Shicheng Chu
2da019234e
[include][dbg]update: delete rtdebug.h ( #7759 )
2023-07-01 08:41:02 -04:00
Meco Man
53c435212c
[bsp][ch32v208w] fix C++ compling errors
2023-06-26 22:42:30 -04:00
Meco Man
4b3f14565d
[ch32][risc-v][drv] fix rt_hw_us_delay compile error
2023-06-26 22:42:30 -04:00
Meco Man
0750b71e27
[bsp][ch32v307v] add _head_end for link file
2023-06-26 22:42:18 -04:00
Meco Man
e8c0a74036
[wch][risc-v][drv] fix a typo in drv_common.c
2023-06-17 22:02:49 -04:00
self-confident neko
1104b80a4d
[ch32][risc-v][bsp] update drv_common for wch risc-v bsp
2023-06-17 18:27:57 -04:00
Meco Man
ee3ecf82d7
[bsp][ch32-rsicv][sconscript] add drv_common.c
...
attach bf4594870e
2023-06-14 18:49:04 -04:00
self-confident neko
bf4594870e
向 wch-riscv-bsp 添加 drv_common.c/.h 文件 ( #7671 )
2023-06-14 19:34:37 +08:00
Placebo27
538158bf20
[bsp] fix mismatched function types in rt_pin_ops for all drv_gpio.c ( #7457 )
2023-05-08 23:35:27 -04:00
nobody
613e5a3e51
[HUST CSE]fix:修改drv_spi.c空指针问题
2023-04-29 18:16:10 -04:00
AD0naldRavenclow
fec989a69f
[HUST CSE][WCH][library] fix error in Bubble Sort ( #7240 )
2023-04-24 00:49:24 -04:00
Yaochenger
a3c5ce717c
[bsp][readme]合并ch32v208与RT1060的readme
2023-04-19 10:26:15 +01:00
Kent Zuo
99204ab8bf
[HUST CSE][docs] fix the invalid link
2023-04-18 07:43:36 -04:00
Stwsyburg
ca1b1e5164
Fix many abnormal symbols in annotations
2023-04-16 22:37:16 -04:00
Yaochenger
ef1b3383a6
[add]添加CH32V208英文上手指南 ( #7243 )
2023-04-14 00:21:30 -04:00
Yaochenger
8487caad4b
[add][ch32v208w-r0]添加CH32V208上手指南 ( #7225 )
2023-04-13 17:26:43 +08:00
会飞的猪
422a9ec167
[bsp/wch]ch32v307 PCLK1(APB1)分频注释纠错
2023-04-09 03:27:51 -04:00
yangjie11
95e6b69b8e
sync and update all projects ( #7138 )
...
* sync and update
2023-03-31 16:49:48 +08:00
Yaochenger
de4f237482
[atomic]添加arm与risc-v下的常用原子操作函数 ( #7053 )
...
* Update Kconfig
* Update trap_gcc.S
* Update bsp/hifive1/drivers/SConscript
Co-authored-by: Man, Jianting (Meco) <920369182@qq.com>
* 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) <920369182@qq.com>
2023-03-23 20:06:50 +08:00
Meco Man
c3820a2c1b
format sconscript Kconfig files
2023-03-19 07:08:27 -04:00
Meco Man
2cc9bd876e
[error code][-RT_EIO] fix that use RT_EIO without -
2023-03-16 20:20:37 -04:00
Meco Man
0429452465
[bsp][rtduino] update arduino_main.cpp
2023-03-05 21:10:08 -05:00
Yaochenger
95540854a6
[libcpu/riscv]迁移libcpu/riscv/ch32中文件至bsp ( #7004 )
2023-03-02 09:17:43 -05:00
Yaochenger
b9e4fcfc68
[libcpu][riscv]整合libcpu/riscv中的移植文件 提供一份公共代码于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-03-01 01:32:43 -05:00
linshire
4021b82161
[bsp][ch32] fix the empty function ch32dma_transmit return error code as -RT_EIO
2023-02-28 17:41:17 -05:00
liYangYang
26fab3e792
[wch][spi] 修改ch32 risc-v spi底层驱动函数返回值类型 ( #6979 )
...
* [wch][spi] 修改ch32 risc-v spi底层驱动函数返回值类型
---------
Co-authored-by: Zxy <1308465141@qq.com>
Co-authored-by: Man, Jianting (Meco) <920369182@qq.com>
2023-02-27 18:26:16 -05:00
linshire
e63e33a3c6
[ch32][bsp] fix warning: rt_size_t to rt_ssize_t
2023-02-25 13:50:33 -05:00
Yaochenger
ee121d25dc
[RTduino][ch32v208]修正rtconfig.h配置 ( #6920 )
2023-02-09 22:55:52 -05:00
Yaochenger
7c6c12cbff
[RTduino][ch32v208w-r0]ch32v208w-r0适配RTduino ( #6917 )
2023-02-08 23:01:20 -05:00
Meco Man
f58d3c5200
rt_device_write/read return data type as rt_ssize_t
...
rt_ssize_t can give negative error code, which follows the unix style correctly
2023-02-07 21:43:57 -05:00
会飞的诸
fec7404506
[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-13 20:50:33 -05:00
Meco Man
ddccef3a64
modify RT_ALIGN_SIZE as 8 by default
2023-01-12 22:47:23 -05:00
Meco Man
b0c4aca6e5
[ch32v208] 调整Kconfig
2023-01-13 11:40:57 +08:00
Meco Man
ce3f60b22b
[RTduino][ch32v307] add English readme
2023-01-13 11:40:57 +08:00
Meco Man
fcf2367966
[bsp] update ch32v307 readme
2023-01-12 14:00:27 +08:00
zhaohaisheng
9339e495f0
[RTduino] 增加CH32V307 readme
2023-01-09 21:41:59 -05:00
Meco Man
592284c66c
format link scripts
2023-01-08 22:52:13 -05:00
Meco Man
9bc68d26a4
format Kconfig and sconscript
2023-01-08 22:52:13 -05:00
Yaochenger
6618293dc5
[bsp][ch32]pwm避免警告 ( #6818 )
2023-01-05 23:10:46 -05:00
Yaochenger
b99769f686
[libcpu][riscv]移除ch32中的冗余文件,使用common下的文件 ( #6813 )
...
* [libcpu][riscv]移除ch32中的冗余文件,使用common下的文件
* 修正cpuport.h宏定义
* 规范宏定义格式
2023-01-04 21:06:09 -05:00
Yaochenger
882a0af94e
[libcpu][riscv] 添加宏用于区别是否开启FPU,更新ch32v208v-r0 ->ch32v208w-r0,更新注释
2022-12-28 18:47:39 -05:00