flyingcys
98a997c57e
[bsp]add new bsp-bl808 ( #6824 )
...
* add new bsp-bl808
* support ARCH_RISCV_FPU_S && update rtconfig.py
2023-01-07 02:03:21 -05:00
Rbb666
3dffc78f39
Add ra6m3 readme
2023-01-06 18:42:21 -05:00
yandld
d58e863a6d
[bsp][lpc55sxx] i2c driver fix&repair
2023-01-06 18:42:00 -05:00
Rbb666
5eadf36b3b
Add studio documents for Infineon ( #6821 )
...
* Add Studio doc
* Update PSOC6系列BSP制作教程.md
2023-01-06 16:41:41 +08:00
Yaochenger
6618293dc5
[bsp][ch32]pwm避免警告 ( #6818 )
2023-01-05 23:10:46 -05:00
BruceOu
e498687a58
[BSP] Add n32g4frml-stb bsp ( #6773 )
...
新增n32g4frml-stb bsp,在n32g4frml-stb 开发板上测试通过。
Add n32g4frml-stb bsp. passed the test on the n32g4frml-stb board.
2023-01-05 01:45:17 -05:00
luobeihai
24575c4486
add apm32F0 serie MCU support ( #6789 )
...
* add apm32F0 serie MCU support
add apm32f072vb-miniboard bsp
update F103/F407 bsp
* replace apm32f072vb picture
* Update action.yml
2023-01-05 01:15:02 -05:00
Yaochenger
b99769f686
[libcpu][riscv]移除ch32中的冗余文件,使用common下的文件 ( #6813 )
...
* [libcpu][riscv]移除ch32中的冗余文件,使用common下的文件
* 修正cpuport.h宏定义
* 规范宏定义格式
2023-01-04 21:06:09 -05:00
Yaochenger
f2a66e122f
[libcpu][riscv]移除cv32e40p中部分文件,采用common中的文件
2023-01-02 16:42:18 -05:00
wdfk-prog
431579a166
[stm32][adc]更改配置通道与校准函数顺序 ( #6758 )
...
* [stm32][adc]更改配置通道与校准函数顺序
* 添加16位与14位分辨率配置
* 添加内部参考电压与温度,电池电压通道配置
* [stm32][adc]修改返回参考电压函数
* 返回准确的参考电压值
* 通过该值在使用__HAL_ADC_CALC_DATA_TO_VOLTAGE宏计算的电压值更为准确
* 删除多余代码
* 规划代码格式
* 更新支持其余芯片
* 已测试F429
2023-01-02 01:47:58 -05:00
螺丝松掉的人
c38c6e2c83
[rtduino]:add README for stm32f411-weact-blackpill pinout ( #6807 )
...
* [rtduino]:add README for stm32f411-weact-blackpill pinout
2023-01-01 23:39:40 -05:00
褚仕成
2b41f80f0e
[rtduino]: fix README
2023-01-01 23:00:52 -05:00
goldengrandpa
d355981041
[bsp][stm32f407-RoboMaster-C]Enable TIM5_CH1/2/3
2022-12-31 16:30:16 -05:00
yandld
7788227887
[bsp][lpc55sxx] update IDE project file
...
1. update all LPC55sxx ide project file
2022-12-30 07:52:46 -05:00
褚仕成
de9db80814
[rtduino] : fix arduino_pinout and README
2022-12-30 07:51:49 -05:00
Meco Man
76b5d0dfcf
[bsp][nuvoton] modify RT_WEAK as rt_weak
2022-12-29 20:23:12 -05:00
breederbai
5e40f3a0d4
修复BUG(simulator):修复bsp/simulator编译报错的BUG
2022-12-29 14:02:08 -05:00
Bernard Xiong
8a71ae75ad
[BSP][smart] fix link script for smart in vexpress-a9 ( #6764 )
2022-12-29 15:18:36 +08:00
Wayne
0d1c709fa5
Sync upstream ( #6793 )
...
Co-authored-by: Wayne Lin <wclin@nuvoton.com>
2022-12-29 15:15:13 +08:00
Yaochenger
882a0af94e
[libcpu][riscv] 添加宏用于区别是否开启FPU,更新ch32v208v-r0 ->ch32v208w-r0,更新注释
2022-12-28 18:47:39 -05:00
打盹的消防车
525417085b
[bsp] add air32f103 ( #6785 )
2022-12-27 19:44:20 -05:00
Yaochenger
b77241935c
[bsp][ch32v208]添加ch32v208BSP,合并libcpu/riscv 中ch系列的port文件 ( #6780 )
...
【1】添加ch32v208-r0 bsp
【2】合并libcpu/riscv 下ch系列mcu的port文件
2022-12-27 13:24:02 -05:00
hg0720
59f10fd704
[bsp][ch32v307]适配RT-duino框架 ( #6669 )
...
为ch32v307适配rt-duino,支持pwm、gpio、uart、iic,暂不支持 spi。
已在ch32v307评估板测试。
测试内容包括串口打印、呼吸灯、AHT10温湿度读取等。
2022-12-27 02:45:20 -05:00
Meco Man
20a6f14e89
use PIN_IRQ_PIN_NONE to replace RT_PIN_NONE
2022-12-26 02:10:30 -05:00
Meco Man
40a24806f9
[stm32][pandora] add ap3216c sensor support
2022-12-26 02:10:30 -05:00
bernard
401ad16449
[bsp][smart] fix virt64 aarch64 link script for smart.
2022-12-26 14:24:26 +08:00
wdfk-prog
fa7c1db768
[stm32][spic]修改SPI TX DMA中断优先级
...
* 原先中断优先级不生效
2022-12-24 15:12:30 -05:00
wdfk-prog
db6ee55379
[STM32][common]更新rt_hw_us_delay函数,以支持设置更高延时
...
* 未判断设置延时数是否会溢出
2022-12-22 21:18:29 -05:00
Man, Jianting (Meco)
262392a69c
[sensor] draft new sensor-hal framework ( #6746 )
...
* [sensor] new sensor framework
针对老版本sensor框架的诸多不合理设计进行重构
之前的PR中已经重构了浮点数相关的问题
本次PR主要围绕sensor的整体架构予以重构,对过于理想化的参数和模式予以删除
* [sensor] 增加can modbus总线类型
* [stm32l745] 完善sensor对接
* [sensor] fix the onchip ID print
2022-12-21 21:24:51 -05:00
Zxy
f4323f2049
[stm32f1] 对于RTC-Alarm进行添加STM32F1宏控制 ( #6765 )
...
并确认并列出已经在什么情况或板卡上进行了测试。
And confirm in which case or board has been tested. -->
STM32F103ZET6
为什么提交这份PR (why to submit this PR)
使用STM32F103ZET6的RTC的Alarm功能出现问题,按照原本的驱动代码编译会报错。
你的解决方案是什么 (what is your solution)
修改底层驱动drv_rtc.c文件,将报错的几个结构体给注释掉即可。
在什么测试环境下测试通过 (what is the test environment)
rtstudio下对STM32F103ZET6进行测试并且成功运行Alarm功能
2022-12-21 20:33:54 -05:00
螺丝松掉的人
eec9d4f595
[arduino][stm32f427-robomaster-a] : 对接RTduino ( #6767 )
...
* [arduino][stm32f427-robomaster-a] : 对接RTduino
* Update README.md
* Update pins_arduino.c
Co-authored-by: Man, Jianting (Meco) <920369182@qq.com>
2022-12-21 18:16:31 -05:00
ANDREW LI-Nordic
91cdcea900
[bsp][nrf5340]add 5340 define for 1000000 baud rate;change RTC driver for 5340 ( #6754 )
...
* add nrf5340 bsp,add uarte and gpio drv for 5340
* [bsp][nrf5340]add 5340 define for 1000000 baud rate;change RTC driver for 5340
Co-authored-by: andrew li <andrew.li@nordicsemi.no>
2022-12-20 20:11:27 -05:00
Shell
e8504c7cf1
[smart/aarch64] code sync ( #6750 )
...
* [smart/aarch64] sync aarch64
2022-12-20 17:49:37 +08:00
Stanley Lwin
f0ef8ada33
[bsp] [stm32F401] Enable PA11 for TIM1_CH4 ( #6756 )
2022-12-20 01:20:20 -05:00
螺丝松掉的人
ba2d7ba4c0
[arduino][stm32f407-robomaster-c] 对接RTduino ( #6759 )
2022-12-20 00:59:54 -05:00
Yaochenger
8ade08799b
[bsp][core-v-mcu]在驱动中添加rtconfig.h,以兼容原工程基于FreeRTOS的驱动
2022-12-19 18:25:04 -05:00
Yaochenger
b256411736
更新readme
2022-12-18 23:37:54 -05:00
guo
68ca9f07a6
[rt-smart] 弱化 RT_USING_LWP,使用 RT_USING_SMART 作为宏配置 ( #6740 )
...
* [dfs] sync cromfs
* [rt-smart]Weaken RT_USING_LWP, use RT_USING_SMART as macro configuration
* [format] fix some format issue.
2022-12-16 18:38:28 +08:00
Yaochenger
3ea5166376
[bsp][core-v-mcu]修改后兼容原有CLI,兼容原有FreeRTOS函数接口 ( #6747 )
...
* [bsp][core-v-mcu]兼容原有FreeRTOS函数接口,兼容CLI
2022-12-16 17:56:13 +08:00
wdfk-prog
0a6ffce446
[STM32][SPI]使用rt_hw_cpu_dcache_ops函数替换HAL库函数 ( #6745 )
...
* [STM32][SPI]使用rt_hw_cpu_dcache_ops函数替换HAL库函数
* 规范代码格式
2022-12-16 02:10:42 -05:00
wdfk-prog
63e7633246
[STM32][SPI]在H7芯片下修复时钟频率获取错误问题并添加DMA驱动 ( #6741 )
...
* [STM32][SPI]在H7芯片下修复时钟频率获取错误问题并添加DMA驱动
* H7下SPI时钟不再为外设总线时钟频率
* H7下DMA驱动需要进行CacheLine对齐
2022-12-15 01:05:56 -05:00
杨熙
012aa0e0d0
[bsp][lpc55sxx] add support for LPC55S16 ( #6743 )
...
* [bsp][lpc55sxx] add support for LPC55S16
* [bsp][lpc55s16] formating LPC55S16 driver
2022-12-14 23:34:08 -05:00
tangzz98
89c3bf5f92
ESP32_C3: Improve Readme, fix compile errors/warnings
2022-12-13 11:50:29 +08:00
Man, Jianting (Meco)
99bdf978d7
[rtdef] use lower-case to define attributes ( #6728 )
...
* [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-11 13:12:03 -05:00
Yaochenger
49486f98d1
[bsp][core-v-mcu]规范代码格式 添加英文readme_EN ( #6718 )
...
Co-authored-by: 1516081466@qq.com <ws051000>
2022-12-10 14:39:26 -05:00
Shell
e991be9c51
[smart][risc-v/libcpu] port rv64 cpu code ( #6704 )
...
* [risc-v/libcpu] porting Smart & RTOS
* [fix] rv64 plic
* [risc-v/rv64] remove macro in rtdef
2022-12-10 22:16:42 +08:00
liYony
190eda6ab0
[bug] fix tim bug
2022-12-09 23:19:18 -05:00
andrew li
4bbfc5fcb8
add nrf5340 bsp,add uarte and gpio drv for 5340
2022-12-09 07:55:11 -05:00
Rbb666
e6f38ec9dc
Corrections psoc6-cy8ckit-062S2-43012 figures
2022-12-09 17:34:38 +08:00
vandoul
2380c32a71
修复bsp/renesas/libraries/drv_spi.c中event定义错误 ( #6712 )
...
* fix usage of rt_event for drv_spi.c in renesas's libraries.
2022-12-09 10:14:19 +08:00
Yaochenger
9d8da76543
[bsp] add core-v-mcu bsp ( #6705 )
...
* add core-v-mcu bsp
* 规范bsp格式 添加readme
* 修改readme
Co-authored-by: 1516081466@qq.com <ws051000>
2022-12-08 15:01:37 -05:00
vandoul
ab9a80c408
add ra4m2 soc support, add sci spi support for ra4m2 ( #6707 )
...
* add ra4m2 soc support, add sci spi support for ra4m2
* update ra4m2-eco/README.md
* update ra4m2-eco/README.md
* rename board picture name.
* reduce picture size, update README.md, remove file 'Target 1.bat'
* reduce picture size
2022-12-08 10:04:04 -05:00
zhkag
2e488e0440
[rt-smart]同步 gitee nanosleep 修复 ( #6710 )
2022-12-08 10:02:40 -05:00
Rbb666
50d5046f13
Corrections mdk_package picture
2022-12-08 16:06:26 +08:00
Rbb666
35c7c38172
add Infineon README
2022-12-07 17:13:40 +08:00
Rbb666
eed673ca6c
Add Infineon BSP production document
2022-12-07 16:01:00 +08:00
Man, Jianting (Meco)
4dd0e67056
[tools][musl] add scons --exec-prefix= 用于设置编译工具的前缀 ( #6646 )
...
* [tools][musl] add scons --exec-prefix= 用于设置编译工具的前缀
可以通过如下命令在qemu直接调用musl工具链:
scons --exec-path=C:\xxx\arm-linux-musleabi_for_i686-w64-mingw32\bin --exec-prefix=arm-linux-musleabi-
* comment out GenCconfigFile
* 解决部分env变量提前预载之后重载变量的问题
2022-12-06 22:30:28 -05:00
sheltonyu
a64750ebed
[bsp/at32] 1.407/437 uart2 pins change to pd5/pd6. 2.uart and spi drivers suppor… ( #6695 )
...
* 1.407/437 uart2 pins change to pd5/pd6. 2.uart and spi drivers support dma
* [bsp/at32] remove #ifndef
2022-12-06 22:13:25 -05:00
liYangYang
e3a09b2791
[STM32][SPI]优化APBx时钟配置代码 ( #6698 )
...
* [STM32][SPI]优化APBx时钟配置代码
2022-12-06 12:52:37 -05:00
wdfk-prog
db3e261bc4
添加判断当前使用定时器是否可配置为主从定时器模式
2022-12-06 00:07:57 -05:00
少年老王
12ec87d64e
修改串口V2的putc顺序
...
1.顺序修改回V1,保证每次都是当前数据发送完才跳出
2022-12-06 10:37:35 +08:00
liYony
575fe18ea0
some errors
2022-12-06 10:37:15 +08:00
liYony
7a49f8d920
tim_clock_get
2022-12-06 10:37:15 +08:00
liYony
e9ddc36488
tim clk config fix
2022-12-06 10:36:59 +08:00
wdfk-prog
aaf1abf25f
[fix][stm32]修复输出高电平异常的问题
2022-12-05 20:49:28 -05:00
Meco Man
dea34be06c
[stm32l475-pandora] update readme
2022-12-05 20:44:34 -05:00
yandld
91ba90933c
[bsp][lpc55s06] add LPC55S06 support
2022-12-05 18:43:41 -05:00
yandld
4c44047f78
[bsp][lpc55sxx] add LPC55S36 support
2022-12-05 18:43:41 -05:00
liYangYang
4bdca93a8d
[RTduino][STM32]为stm32l431-BearPi开发板对接RTduino软件包 ( #6688 )
2022-12-04 20:28:15 -05:00
bernard
c53d9da22e
[lwIP] fix lwip sem/mutex valid issue.
2022-12-03 14:21:06 -05:00
guo
ecf2d82159
sync branch rt-smart. ( #6641 )
...
* Synchronize the code of the rt mart branch to the master branch.
* TTY device
* Add lwP code from rt-smart
* Add vnode in DFS, but DFS will be re-write for rt-smart
* There are three libcpu for rt-smart:
* arm/cortex-a, arm/aarch64
* riscv64
Co-authored-by: Rbb666 <zhangbingru@rt-thread.com>
Co-authored-by: zhkag <zhkag@foxmail.com>
2022-12-03 12:07:44 +08:00
linshire
aaf5462c6d
更改了函数名
2022-12-02 13:03:59 -05:00
Rbb666
622062aaec
first commit ra6m3-ek
2022-12-01 21:22:09 -05:00
supperthomas
5ff358fec6
[bsp][lpc55s69] Fix the ci error for lpc55s69
2022-11-30 21:58:53 -05:00
杨熙
2bbbd4b3fd
[bsp][lpc55sxx] add support of LPC5528/LPC55S28 ( #6667 )
...
* [bsp][lpc55sxx] add support of LPC5528/LPC55S28
1. add .ignore_format
2. add support of LPC55S28
3. fix LPC55S69 keil comiple error
3. refine README
* [bsp][lpc55sxx]
1. remove cmake file
2. formating code using rt-thread formating tools
3. CMSIS folder -> ../
* [bsp][lpc55s69]
- add IAR support(IAR version: 9.30.1)
2022-11-29 19:56:50 -05:00
supperthomas
2f0f426375
[bsp/nrf5x] Fix the Kconfig of nrf52832
...
Signed-off-by: supperthomas <78900636@qq.com>
2022-11-27 21:23:42 -05:00
yandld
6c5f9ffb0a
[bsp][lpc55sxx] update NXP SDK to 2_12_0
...
update NXP SDK to 2_12_0
2022-11-27 21:01:12 -05:00
linshire
1805ca5e2e
[ch32v307]添加了硬件spi驱动 ( #6654 )
...
* 添加了硬件spi驱动
2022-11-26 15:00:11 -05:00
ccx-lan
82cf0cb1de
[GD32] fix bug on spi driver ( #6636 )
...
* fix bug on spi driver
* [gd32] fix bugs on spi driver
2022-11-24 00:14:55 -05:00
Man, Jianting (Meco)
bdd663a33f
[libc][musl] support arm-linux-musleabi toolchain
...
目前基本功能已经可以在QEMU上跑起来,但是pthread和内核signal选中会报冲突。先合并一版本,后续解决这些问题。
2022-11-22 21:40:50 -05:00
Meco Man
fc83546cf5
[ch32] fix a typo
2022-11-22 13:48:14 +08:00
ShaquilleLiu
2878566c92
增加野火 启明6M5板级支持包 ( #6616 )
...
* 增加 野火 启明6M5 板级支持包
* 修复串口引脚描述错误
* 上一版提交,UART端口改了,但是uart编号漏改
Co-authored-by: Liuxiequan <liuxiequan@cvte.com>
2022-11-21 22:08:02 -05:00
wdfk-prog
569e2ae1e8
[CAN]update struct can_filter_item and rt_can_msg ( #6556 )
...
* 修改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-21 21:45:51 -05:00
Meco Man
6808f48bdc
[stm32] 解决Error_Handler()函数在*_msp.c文件下报错的问题
...
在用户头文件区增加#include <drv_common.h>即可
2022-11-21 21:31:33 -05:00
Meco Man
dc5f280a9a
[stm32l475-pandora] select AHT10_USING_SENSOR_DEVICE
2022-11-21 21:31:16 -05:00
lpy
8e8fcd8d25
[stm32f410][RTduino] 修改pins_arduino.c和Kconfig ( #6629 )
2022-11-20 21:48:39 -05:00
Harrypotter-zhs
aa15f7cd56
修改ch32v307软件spi的宏
2022-11-20 13:16:21 -05:00
螺丝松掉的人
d98a4ec1b5
[arduino][f411-blackpill] 已配置cubeMX,并生成pinout文件 ( #6614 )
...
* [arduino][f411-blackpill] 已配置cubeMX,并生成pinout文件
Signed-off-by: 褚仕成 <1468559561@qq.com>
* [arduino][f411-blackpill] 完善cubeMX配置
* 编辑 Kconfig 文件
* 完善Kconfig文件中PWM的配置
* 将rtduino的配置移至Onboard Peripheral Drivers
* 使能SPI
* Update Sconscript
Signed-off-by: 褚仕成 <1468559561@qq.com>
Co-authored-by: Man, Jianting (Meco) <920369182@qq.com>
2022-11-18 20:58:32 -05:00
Meco Man
cf66a5bc63
use rt_memcpy/rt_memset to replace memcpy/memset
2022-11-17 12:08:13 -05:00
Meco Man
b9a9225c84
format imxrt drver files
2022-11-17 12:08:13 -05:00
xjy
60b741520f
修复rtc驱动,实现掉电能保存时钟数据(硬件外接电池)
2022-11-17 12:08:13 -05:00
xiao xie
5338b1d5f2
[imxrt1176]Fix usb ( #6589 )
...
修复USB驱动,实现imxrt1176平台usb host,支持usb3.0读写
2022-11-14 23:51:35 -05:00
myshow2258
87be8fdba8
Modified bsp/stm32/libraries/HAL_Drivers/drv_usbd.c
...
Modified components/drivers/usb/usbdevice/class/cdc_vcom.c
修复cdc在v1v2的serial框架下接收发送错误的问题.stm32下usbd添加更多的ep_id,以支持复合设备.
2022-11-14 23:47:49 -05:00
Meco Man
6b9bdc12a9
[sensor] use arg to replace user_data
2022-11-14 22:19:47 -05:00
Yunjie Gu
9e152c117e
c28x scons
2022-11-14 22:19:27 -05:00
lpy
a6151716b2
添加STM32F410 NUCLEO RTDUINO ( #6613 )
...
* 添加STM32F410 NUCLEO RTDUINO
* 修改stm32f410 nuleco RTDUINO
* 修改stm32f410 nuleco RTDUINO
* Update Sconscript
Co-authored-by: Man, Jianting (Meco) <920369182@qq.com>
2022-11-13 23:16:52 -05:00
HEYAHONG
7e299cd662
修复SPI驱动不能使用RT_SPI_MODE_0与RT_SPI_MODE_2的错误。CLKPHA在设置工作模式时已设置,后面出现重复设置。
2022-11-12 22:18:48 -05:00
Meco Man
e89b0e7d8a
[stm32 f411] rename stm32f411-weact-blackpill
2022-11-12 02:16:42 -05:00
zhugengyu
1537544f6a
[bsp/phytium] add phytium bsp to support e2000 bootup with smp ( #6566 )
...
add phytium board (E2000) bsp
support usart
support SMP with demo
2022-11-10 09:22:48 -05:00
xjy
fe0a57c322
修复flexspi配置语法错误
2022-11-08 00:50:16 -05:00