NU-LL
4ab11d5bbc
FIX: add stm32h7xx series board information
2023-03-26 22:17:57 -04:00
NU-LL
735fb14fe7
[bsp][stm32] add stm32h750-fk750m1-vbt6 bsp
2023-03-26 22:17:57 -04:00
flyingcys
575abd58ff
[bsp]add bl808 uart2 driver && add bl60x/bl70x bsp to ci-action ( #7097 )
...
* update bl_mcu_sdk SConscript && add bl808 uart2 driver
* add bl60x/bl70x bsp to ci-action
2023-03-25 19:05:33 +08:00
褚仕成
1dc8e5060a
[arduino][stm32f411-weact-blackpill] : update Kconfig and README
2023-03-25 06:59:14 -04:00
Meco Man
4f8094ecd0
[stm32][l476-nucleo] support RTduino
2023-03-25 13:48:56 +08:00
褚仕成
dfd0e3e96d
[arduino][stm32f401-weact-blackpill] : 对接RTduino
2023-03-25 00:49:31 -04:00
Rbb666
1cf26a8ea7
[Renesas]Remove lcd_ili9341 and update spi driver
2023-03-24 12:52:27 -04:00
yangjie11
b0c247fb59
[components/drivers][touch]删除多余的touch.h ( #7090 )
...
* [components/drivers][touch]删除多余的touch.h
* 将touc.h替换为rtdevice.h
2023-03-24 11:47:28 -04:00
褚仕成
6095d65679
[stm32] update README.md of f401
2023-03-24 11:43:03 -04: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
Zxy
765c2ec5f9
[errno code]fix that use RT_EFULL without -
2023-03-23 01:55:46 -04:00
Zxy
156fda61cf
[errno code]fix that use RT_ENOMEM without -
2023-03-23 01:55:21 -04:00
Zxy
4ed9bc11f7
[errno code]fix that use RT_ENOSYS without - ( #7084 )
...
* [errno code]fix that use RT_ENOSYS without -
* Update bsp/airm2m/air32f103/libraries/rt_drivers/drv_hwtimer.c
---------
Co-authored-by: Man, Jianting (Meco) <920369182@qq.com>
2023-03-23 01:54:42 -04:00
Zxy
e15adf5e45
[errno code]fix that use RT_EEMPTY without -
2023-03-23 01:52:21 -04:00
guo
767c18aafc
完善 Ifx bsp ( #7078 )
...
* add uart6 support
* [ifx] add rw007 support
* [ifx] add spi6 support
* [ifx] fix rw007 cs pin
* [ifx] change default console to uart6
2023-03-23 09:40:46 +08:00
Meco Man
deb40e8c0c
[errno code][-RT_EBUSY] fix that use RT_EBUSY without -
2023-03-22 01:55:18 -04:00
Meco Man
eb3cb250be
[errno code][-RT_ETIMEOUT] fix that use RT_ETIMEOUT without -
2023-03-22 01:54:52 -04:00
Meco Man
0f461e870c
[errno code][-RT_ERROR] fix that use RT_ERROR without -
2023-03-20 00:06:16 -04:00
Meco Man
de963feef4
[stm32][drv_tim.c] enable timer clock
2023-03-20 00:05:36 -04:00
Meco Man
f80e61d6ff
[stm32][pwm] fix the timer clock enable problem
2023-03-20 00:05:36 -04:00
Meco Man
27da0f0472
format .icf, .lds, .sct
2023-03-20 00:04:51 -04:00
luobeihai
674c4d4ebc
add apm32 rtt sdio/flash/sdram driver ( #7065 )
...
* add rtt sdio/flash/sdram driver
* formatting rtt drivers
2023-03-20 00:04:18 -04:00
Meco Man
4b8f518c48
[stm32][adc] add error code return
2023-03-19 23:50:44 -04:00
Meco Man
b33e1cbf68
[stm32][pin] 修复GPIO驱动警告
2023-03-19 23:50:24 -04:00
flyingcys
a538b26858
[bsp] add bl808 lp core ( #7069 )
...
* Add riscv_32e support
* add bl808 lp core
* update README.md
2023-03-19 23:16:12 +08:00
letian
576ddc5aa7
[mm32] add drv_adc to mm32f327x ( #7061 )
2023-03-19 09:06:19 -04:00
Meco Man
c3820a2c1b
format sconscript Kconfig files
2023-03-19 07:08:27 -04:00
flyingcys
c11f5bb251
add bl60x/bl70x/bl61x/bl808 ( #7063 )
...
Co-authored-by: flyingcys <flyingcys!163.com>
2023-03-19 14:41:18 +08:00
Shell
18a14cc935
[rt-smart] move sys_cacheflush to lwp_syscall.c ( #7048 )
...
* [syscall] move sys_cacheflush to lwp_syscall.c
* [syscall] improve assertion
* [format] rename to rt_ctassert
* [debug] modified ct assertion on mm_page.c
2023-03-17 15:11:38 +08:00
Meco Man
dfddd79b24
[errno code][-RT_EINVAL] fix that use RT_EINVAL without -
2023-03-16 20:21:43 -04:00
Meco Man
e4e88b2f3e
[error code][RT_EOK] fix RT_EOK with -
2023-03-16 20:21:25 -04:00
Meco Man
991a2f1e9e
[RT_ALIGN_SIZE] set RT_ALIGN_SIZE as 8 by default
2023-03-16 20:20:55 -04:00
Meco Man
2cc9bd876e
[error code][-RT_EIO] fix that use RT_EIO without -
2023-03-16 20:20:37 -04:00
supperthomas
65301b9cdd
[bsp] Add company readme.md
2023-03-15 12:16:22 -04:00
Rbb666
d4e70e15ac
[Renesas]Add ra6m4-cpk lvgl for spi-lcd support and update rt_spi_bus_attach_device_cspin function
2023-03-14 17:46:00 +08:00
wangxiaoyao
27a1c55505
[bsp/qemu-virt64-aarch64] enable fdt by default
2023-03-11 19:01:33 +08:00
Man, Jianting (Meco)
0275b23638
[i2c] fix the i2c device return error code ( #7035 )
...
* [i2c] fix the i2c device return error code
2023-03-10 23:44:03 -05:00
yuanzihao
23786ee481
[GD32]add gd32470z-lckfb ( #7022 )
...
* --复制gd32450z-eval 作为立创梁山派 gd32470z-lckfb的模板进行移植
* -修改模板keil工程的配置,IROM需要注意总共为1024k,分为Code area 和Data area ,IRAM1为 : 512K-64K=448K=458752=0x70000。
-重新用ENV生成编译固件
片上SRAM可分为4块,分别为SRAM0(112KB)、SRAM1(16KB)、SRAM2(64KB)和TCMSRAM(64KB)。SRAM0、SRAM1和SRAM2可以被所有的AHB主机访问,然而,TCMSRAM(紧耦合存储器SRAM)只可被Cortex ® -M4内核的数据总线访问。BKPSRAM(备份SRAM)应用于备份域,即使当VDD供电电源掉电时,该SRAM仍可保持其内容。附加SRAM(ADDSRAM)只在一些特殊的GD32F4xx器件中可用。由于采用AHB互联矩阵,上述SRAM块可以同时被不同的AHB主机访问,例如,即使CPU正在访问SRAM0,USBHS也可以访问SRAM1。
* -修改IAR编译的链接脚本
* --修改Flash和RAM大小
-RAM大小为448k是因为512K-64K=448K,其中后面的64K为TCMSRAM(紧耦合存储器SRAM)只可被Cortex ® -M4内核的数据总线访问,先不要乱分配
* -修改MDK链接脚本
* -修改board.h
* -修改MCU型号
* -Finsh控制台和LED1闪灯程序工作正常,串口控制台名称错误,从uart改为uart0
-Scons正常生成工程
* -发现GD32固件库当前没有240Mhz的时钟配置,将固件库升级为GD32F4xx_Firmware_Library_V3.0.3-发布时间为2023-01-04
* -修改bsp/gd32/arm/gd32407v-start/board/SConscript文件
* -修改led1和change logs
* -按照提交规范使能 One ELF Section per Function(MDK) 并用scons重新生成工程
* -发现整个GD32的IAR模板工程template.eww 是没有的,所以当前是不支持IAR开发的,需要后面学习一下IAR使用再实现了。
* -使用formatting源码格式化工具跑一边gd32470z-lckfb目录
* -使用formatting源码格式化工具跑一遍[components/net/netdev/src/netdev.c]
-三个月前的提交多了几个空格
2023-03-10 23:21:31 -05:00
Zxy
c8b30bf31a
[device]修改i2c读写函数返回类型为rt_ssize_t ( #7029 )
2023-03-09 23:42:58 -05:00
charlown
95fea2f159
[ch32]修正接口数据类型 ( #7025 )
2023-03-08 22:52:07 -05:00
cyyang
7c95cc98f9
Remove redundant 'extern' in function declaration
2023-03-06 21:20:58 -05:00
Meco Man
0429452465
[bsp][rtduino] update arduino_main.cpp
2023-03-05 21:10:08 -05:00
Misthao
fab0e506be
新增stm32f401-weact-blackpill BSP(STM32F401CCU6最小系统板) ( #6973 )
...
* 新增stm32f401-weact-blackpill
2023-03-06 10:09:03 +08:00
Yaochenger
922e6e40d3
[libcpu/risc-v]迁移libcpu/risc-v/e310与rv32m1文件中内容至bsp ( #7015 )
2023-03-05 19:43:58 -05:00
Rbb666
d1e1f66e42
[STM32]Fix f469 touch build error and set lvgl to double buffer
2023-03-02 23:22:02 -05:00
Rbb666
3abfd4e5c1
[Renesas]Add tft-lcd pin connection description
2023-03-02 22:53:29 -05:00
杨熙
b7c2d1ba42
[bsp][lpc55sxx] add CPU define for S06/S16/S29/S36 make GCC comiple pass
2023-03-02 22:13:22 -05:00
linshire
a3bef4d0da
[bsp][lpc55sxx] 修复scons --dist工程文件复制残缺的问题
...
修复CMSIS缺失的问题
2023-03-02 21:54:19 -05:00
Yaochenger
95540854a6
[libcpu/riscv]迁移libcpu/riscv/ch32中文件至bsp ( #7004 )
2023-03-02 09:17:43 -05:00
Yaochenger
fc2e122ee2
[libcpu/risc-v]迁移libcpu/risc-v/hpmicro中的文件至bsp
2023-03-02 09:16:59 -05:00
Yaochenger
6aa2445522
[libcpu/risc-v]移除bumblebee文件夹与nuclei文件夹中的内容至bsp
2023-03-02 09:16:12 -05:00
Yaochenger
892ef3dc5b
[libcpu/risc-v]将cv32e40p文件夹中文件移至BSP ( #7002 )
2023-03-01 21:34:35 -05:00
Rbb666
00ad3921e4
[STM32]Add STM32F723E-DISCO bsp support
2023-03-01 08:23:35 -05:00
Rbb666
aa19e1376c
[Renesas]Fix add lvgl build error problem
2023-03-01 17:36:51 +08:00
Rbb666
afd86f4547
fix stm32 drv_lcd some problem ( #6836 )
...
* LTDC:将 Alpha 通道默认设置为0(完全透明)
* rt_malloc 替换为 rt_malloc_align
2023-03-01 02:12:50 -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
螺丝松掉的人
3a08336cb5
[bsp][lpc55sxx] update pwm driver
2023-02-28 17:37:09 -05:00
Yifang
ae0296e802
[rtduino][lpc55s69] 添加RTduino所需i2c引脚定义及结构体对象声明 ( #6984 )
2023-02-27 21:28:39 -05:00
Bernard Xiong
c5cb58383c
[BSP] Add vscode setting. ( #6992 )
2023-02-28 09:17:36 +08:00
杨熙
8015b61fcb
[bsp][lpc55sxx] update spi driver ( #6986 )
...
* [bsp][lpc55sxx] update spi driver
1. update spi driver, fix pin driver
2. move DMA_Init to board.c
* [bsp][lpc55sxx] formmat code
* [bsp][lpc55sxx] format lpc55s69_nxp_evk board file
2023-02-27 18:27:42 -05:00
sheltonyu
7542f780e9
replace RT_WEAK macros with rt_weak
2023-02-27 18:27:14 -05:00
sheltonyu
d6605e3f8b
fixed gcc compiling usb driver errors, update for including file position and adding macros
2023-02-27 18:27:14 -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
褚仕成
dfad527019
[arduino][lpc55s69] : update PWM
2023-02-27 14:20:08 +08:00
Zxy
f5798d9917
[pin][5.0.0] 修正pin框架数据类型使用不当 ( #6934 )
2023-02-26 21:17:51 -05:00
liYangYang
93d572dee6
[spi][5.0.0] 修正SPI设备框架中,对函数返回值类型使用不恰当的情况 ( #6937 )
2023-02-26 21:09:07 -05:00
vandoul
cdd2755bbd
[bsp][lpc55sxx]修复drv_spi和drv_pwm测试得到的问题 ( #6983 )
...
修复spi通过env配置选中之后没有使能的问题,修改spi获取时钟源的API,修改cs脚无效的问题;
修复pwm不能修改频率和占空比的问题,修改pwm获取时钟源的API解决PWM频率和占空比不正确的问题。
2023-02-26 20:06:05 -05:00
linshire
e63e33a3c6
[ch32][bsp] fix warning: rt_size_t to rt_ssize_t
2023-02-25 13:50:33 -05:00
Yifang
7763183074
[rtduino][lpc55s69] 纠正uart引脚错误并使能相关依赖项 ( #6976 )
...
* [rtduino][lpc55s69] 纠正uart引脚错误并使能相关依赖项
Co-authored-by: Man, Jianting (Meco) <920369182@qq.com>
2023-02-25 01:28:03 -05:00
螺丝松掉的人
faddfecbd2
[rtduino][lpc55s69] update ( #6972 )
2023-02-25 01:26:37 -05:00
Rbb666
022760c569
[Infineon]Fix scb5 can't use bug
2023-02-25 00:35:57 -05:00
sheltonyu
a5c62b9a84
[bsp/at32] add support usb driver ( #6968 )
...
* add support usb driver
* fixed code format error
2023-02-24 21:47:04 -05:00
jonas
7bf6648853
[serial]增加at32的serial_v2驱动
2023-02-24 14:54:20 +08:00
Yifang
08c2a65136
[rtduino][lpc55s69] 修正RTduino框架下的引脚错误 ( #6963 )
...
1.修正RTduino框架下的引脚错误
2.Kconfig新增RTduino依赖项
3.README文档完善
4.上传LPC55s69兼容arduino部分引脚图
2023-02-23 13:47:55 -05:00
Rbb666
96a636f0b5
[Renesas]Add tft-lcd lvgl support
2023-02-23 13:29:08 -05:00
褚仕成
1533b88390
[arduino][lpc55s69] : 对接RTduino
2023-02-22 19:20:33 -05:00
wangxiaoyao
484a0d602e
[fixup] add cache maintenance ops;
...
fix bugs on cache maintenance when starting user app
2023-02-21 08:48:49 +08:00
vandoul
c377c4bea3
[nxp][lpc55sxx] add status to lpc_i2c_bus in drv_i2c for lpc55sxx. ( #6935 )
...
添加一个status,判断I2C执行结果来修复i2c传输始终正确的BUG。
2023-02-19 23:09:27 -05:00
Rbb666
73f1ee76b6
[Renesas]Add use lvgl document
2023-02-16 14:00:47 +08:00
Meco Man
ad79e29474
format ch32 driver
2023-02-15 09:36:04 +08:00
Meco Man
5f080215a1
[ng32] format ng32f452 bsp
2023-02-15 09:36:04 +08:00
Meco Man
da533d113e
[nxp] format imxrt libraries
2023-02-15 09:36:04 +08:00
Shell
2d09749086
[rt-smart] PV_OFFSET as a variable ( #6904 )
...
* [rt-smart/mem] remove pv_offset
* [rt-smart] list kernel space command
* [rt-smart] restore ioremap region
* [revert] restore kernel space isolation
* [rt-smart/pv_off] code format
* [rt-smart] add get_pvoff()
* [pvoffset] pvoff as constant for C codes
* [pvoff] pvoff as interfaces
2023-02-14 23:08:32 +08:00
guozhanxin
b32eae36d3
[ci]add aarch64 smart ci
2023-02-13 10:56:17 +08:00
liYangYang
1eec660b12
[spi]添加rt_spi_bus_attach_device_cspin 函数 ( #6916 )
...
这个函数实现了原先的挂载功能,并且调用pin框架,初始化cs引脚,是一个功能相对完善的挂载函数。用户也能更简单的使用。
该函数取代rt_spi_bus_attach_device,后续rt_spi_bus_attach_device会被逐渐淘汰掉。新的BSP以及软件包应当使用rt_spi_bus_attach_device_cspin新函数。
STM32L475潘多拉测试通过。
2023-02-11 22:14:54 -05:00
Bernard Xiong
e4edf7e182
[BSP] Add color build for qemu gcc config. ( #6924 )
2023-02-11 17:14:55 +08: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
Rbb666
e010d844af
[Renesas]Fix ra6m3 build error
2023-02-06 22:18:07 -05:00
xiao xie
e94a3bf52c
[imxrt1060] Update 1060 sdk 2.12.1 ( #6892 )
...
更新的SDK2.12.1更新imxrt1060的驱动
2023-02-06 22:17:31 -05:00
Yifang
53dcac6f68
bsp][LPC55S69] README文档增加keil版本编译报错解决方案 ( #6910 )
2023-02-06 22:15:42 -05:00
褚仕成
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