Commit Graph

6421 Commits

Author SHA1 Message Date
褚仕成 60199160cf [bsp][lpc55sxx] add: README_zh and README 2023-02-05 22:03:27 -05:00
Bernard Xiong 98e0c58527
Add ADT Kconfig and fix MMU kconfig issue in Cortex-A (#6901)
* Add ADT Kconfig and fix MMU kconfig issue in Cortex-A

* [BSP] enable ADT
2023-02-06 01:11:04 +08:00
Rbb666 db5ed9c576 [IFX]Add psoc6 bsp 2023-02-03 13:56:30 +08:00
杨熙 83bd8614ab
Bsp lpc55sxx (#6897)
* [bsp_lpc55sxx] i2c,rtc bsp update

1. add i2c DMA mode
2. enable rtc driver

* [bsp_lpc55sxx] formmat code

using formmating.py for format code

* [lpc55sxx] remove .gitignore

* [bsp][lpc55sxx] update bsp driver

1. update sdif driver, enable DFS, FAT32
2. update rtc driver
2023-02-02 16:41:14 +08:00
螺丝松掉的人 6d00b28425
[bsp/raspberry-pico] add: SMP (#6888) 2023-02-02 12:19:33 +08:00
Rbb666 a9b9bf0e7f [IFX]Add two board README.md 2023-02-01 18:18:43 +08:00
Rbb666 ca26a85652 [IFX]Add capsense support 2023-01-31 23:58:16 -05:00
sheltonyu a59a8d9302 fixed format error, add auto compile check 2023-02-01 11:30:56 +08:00
sheltonyu c8106bc19b add support f421/f425 2023-02-01 11:30:56 +08:00
Rbb666 ae78aedfac [Renesas]Fix ra6m3 build error 2023-02-01 10:32:55 +08:00
杨熙 c9c43c8c5b
[bsp_lpc55sxx] i2c,rtc bsp update (#6885)
* [bsp_lpc55sxx] i2c,rtc bsp update
2023-01-30 21:21:52 -05:00
andrew li 5f4b4ae5f1 add spi twi drv for nrf5340 2023-01-29 21:30:41 -05:00
Meco Man 7e177ebf1a [at32][can]修复CAN驱动返回消息时,错误给id和ide赋值问题
该驱动收到can消息时,给上级返回消息结构的id和ide成员赋值不正确。

Signed-off-by: 李刚 <lg28870983@163.com>
2023-01-29 08:44:07 -05:00
Meco Man 9b109639d1 [stm32] sconscript typo 2023-01-22 22:07:54 -05:00
Rbb666 a6502eea74
[IFX]Add psoc6-rtt-062S2 BSP (#6866)
* [IFX]Add psoc6-rtt-062S2 BSP

* [IFX]Update BSP name

* [IFX]Add libcy_capsense.a
2023-01-19 21:49:23 -05:00
褚仕成 61631c393e [bsp/bl808] add: drv_i2c 2023-01-19 21:41:53 -05:00
Rbb666 65adce2989 [D1s]Add mksdcard.sh 2023-01-19 21:40:49 -05:00
liYangYang 6eaf9a9c57
[stm32][qspi] qspi attach 函数问题解决方案 (#6867)
* [qspi] qspi attach 函数解决方案

* pin

* 更改函数名字
2023-01-18 22:04:45 -05:00
liYangYang 63294afc9d
[stm32][softspi]soft spi attach函数问题解决方案 (#6868)
* [softspi]soft spi attach函数问题解决方案

* 更改函数名
2023-01-18 22:03:48 -05:00
liYangYang 7ff64c1cfd
[stm32][spi] spi attach函数问题解决方案 (#6864)
attach #6819
2023-01-18 00:27:08 -05:00
会飞的猪 65f1804005 [bsp/stm32wle5-yizhilian-lm402]修复scons --dist缺失大量文件 2023-01-17 21:32:43 -05:00
会飞的猪 265dbc0ce1 [bsp/stm32wle5-yizhilian-lm401]修复scons --dist缺失大量文件 2023-01-17 21:32:43 -05:00
Rbb666 9a6dab644a Add psoc6-cy8cproto-062S3-4343W BSP and update doc 2023-01-16 23:37:22 -05:00
Zxy c9f7f0e771
[BSP][stm32] fix the compile error 2023-01-16 23:21:21 -05:00
褚仕成 a2647aa3e2 [bsp/bl808] update: READme 2023-01-16 21:34:23 -05:00
Rbb666 25c567e330 [IFX]Remove Kconfig—>Board extended module Drivers 2023-01-16 21:34:03 -05:00
螺丝松掉的人 84af32db34
[bsp/bl808] add: drv_gpio (#6856)
* [bsp/bl808] add: drv_gpio
2023-01-15 23:41:09 -05:00
Rbb666 1632ad083a [IFX]Remove HAL_Drivers/config folder 2023-01-15 21:36:49 -05:00
luobeihai 2da43febbd
add some apm32 bsp and fix apm32f0/apm32f1 gcc startup assembly file bug and fix apm32 drv_eth.c bug (#6855)
* add some apm32 bsp and fix apm32f0/apm32f4 gcc startup assembly file bug and fix drv_eth.c bug

* fix apm32f103xe-minibroard and apm32f407ig-minibroard link.lds file error

* replace apm32f051r8-evalboard picture

* fix apm32f1 gcc assembly startup file suffix name

* renamed startup_apm32f10x_md.s/startup_apm32f10x_hd.s file and modify apm32f103xe-minibroard/board SConscript file
2023-01-15 21:16:02 -05:00
Shell f0dadcb3c3
[rt-smart] porting c906 and D1s to mm (#6848)
* [rv64/bsp] porting to mm

* [mm] report more info for debugging

* [fix] code format

* [libcpu/c906] porting to RTOS

* [fix] using rtdbg api

* [fix] add return

* [fix] report more information for debugging

* [fix] use assert 0 for unrecoverable error
2023-01-16 08:24:03 +08: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 f4fa7ba970 [RTduino][stm32f469-disco][readme] fix typo 2023-01-13 11:40:57 +08:00
Meco Man 09b36e76f2 [RTduino][stm32f411-nucleo] add English readme 2023-01-13 11:40:57 +08:00
Meco Man baac8760a5 [RTduino][stm32f410-nucleo] add English readme 2023-01-13 11:40:57 +08:00
Meco Man 120595d371 [RTduino][readme] correct grammar 2023-01-13 11:40:57 +08: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
Rbb666 7b35c8d353 Add Infineon Doc and modify file structure 2023-01-12 17:23:30 +08:00
Meco Man b310541471 [env] add scons --strict
此commit意图在脚本中增加 scons --strict命令,使用该命令编译工程时,会自动将CFLAGS CXXFLAGS设置为 Werrors,即较为严格的编译模式,任何警告都会当做错误来处理。

该命令主要用于CI,在CI执行bsp编译时,可以使用 scons --strict命令。现在QEMU的rtconfig.py 为了CI检查,直接将CFLAGS加上了Werrors,导致正常编译过程中也把警告当做了错误,对日常使用该bsp造成了影响。
2023-01-12 01:43:44 -05:00
Meco Man fcf2367966 [bsp] update ch32v307 readme 2023-01-12 14:00:27 +08:00
vandoul 076683f6e3 fix the syntax error of drv_spi.c in lpc55sxx. 2023-01-11 17:53:33 -05:00
Wayne bf8db63c78
Fix building issue of Nuvoton porting. (#6833)
* Fix  building issue of Nuvoton porting.

1. Change thread priority of lwip-tcpip and erx.
2. Remove '')' garbage symbols.
3. mm driver issues.

Co-authored-by: Wayne Lin <wclin@nuvoton.com>
2023-01-11 16:26:56 +08:00
Rbb666 168e12501d
Add RA6M3 Studio Support (#6835) 2023-01-11 16:22:17 +08:00
lpy 071d52ad44
[RTduino][stm32f410-nucleo] 添加readme,在pins_arduino.c和pins_arduino.h添加了USER_KEY引脚编号 (#6838)
* 添加readme
* 更改pins_arduino.h引脚编号
Co-authored-by: Man, Jianting (Meco) <920369182@qq.com>
2023-01-10 21:41:58 -05:00
flyingcys 1480f7296c format file && update README.md 2023-01-09 22:15:30 -05:00
zhaohaisheng 9339e495f0
[RTduino] 增加CH32V307 readme 2023-01-09 21:41:59 -05:00
Rbb666 92531dec87 Update Infineon documents and introduce 2023-01-10 09:35:34 +08:00
Meco Man 7ecba50ff6 format stm32 drivers 2023-01-08 22:52:13 -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
Man, Jianting (Meco) f4b285dc9c
improve sensor framework (#6784)
* [stm32l475-pandora] rename sensor_port.c as drv_sensors.c
* [sensor][cmd] add enter critical section protection
* [sensor] add sensor reset command
2023-01-08 21:33:38 -05:00
Shell 7450ef6c4d
[rt-smart] kernel virtual memory management layer (#6809)
synchronize virtual memory system works.
adding kernel virtual memory management layer for page-based MMU enabled architecture
porting libcpu MMU codes
porting lwp memory related codes
2023-01-08 21:08:55 -05:00
liYangYang 7c05d8517c
[STM32][SPI]解决挂载函数里面不同bsp对uaer_data的滥用 (#6819)
* [spi]attach 片选引脚依赖pin框架
* 修改attach函数
2023-01-07 23:03:42 -05:00
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