Commit Graph

6583 Commits

Author SHA1 Message Date
I-Hsien a08e930e20
[HUST CSE] Fix nullptr issue in bsp/rv32m1_vega/ri5cy/board/fsl_host.c (#7236)
During the process of statically checking the source code, it was found that this judgment directly obtained the member of the structure pointer without performing a null pointer check. When an upstream function has an exception and passes in a null pointer, a runtime error will occur.
2023-04-13 20:03:54 -04:00
sheltonyu f86715cee5
[bsp/at32] update for perfection of drv_usart_v2 (#7210) 2023-04-14 00:35:07 +08:00
palmyzf 8e8fcef7b8
[HUST CSE]avoids null pointer problems (#7233)
* [HUST CSE]avoids null pointer problems

* Update hal_dma.c

* Update hal_dma.c

* Update hal_dma.c
2023-04-14 00:30:28 +08:00
Yaochenger 83c0565e36
[change]修正stm32f401-st-nucleo上手指南 (#7227)
* [add]修正stm32f401-st-nucleo英文上手指南

* [add]添加STM32中文工程使用指南

* 规范英文图片名称

* 修改图片路径

* Update STM32系列如何创建新项目.md
2023-04-14 00:29:23 +08:00
DmrS5 ca02945756
【修改】hpm_clock_drv.c文件中if判断中逻辑错误 (#7235) 2023-04-14 00:28:03 +08:00
Lu_Reaper af914a1690
[bsp]: fix spi chipselect in Infineon (#7234)
1. compatible for HIGH ACTIVE SPI CHIP_SELECT
2023-04-14 00:27:03 +08:00
Yaochenger 8487caad4b
[add][ch32v208w-r0]添加CH32V208上手指南 (#7225) 2023-04-13 17:26:43 +08:00
Yaochenger fb7b1251cf
[add][RT1060]添加英文上手指南 (#7211) 2023-04-11 22:58:55 -04:00
杨熙 abb4bfdead
[bsp][lpc55sxx] update keil project files (#7180) 2023-04-11 19:02:11 -04:00
Stanley L aa4d4dfbe3 Create How to create a new project.md
initial commit
2023-04-11 18:48:45 -04:00
Hy d120cf08ac
[HUST CSE]avoids the risk of a null pointer (#7209) 2023-04-11 09:07:07 -04:00
Yaochenger 7509f55641
[add][RT1060]修正上手指南 (#7207)
* [add]修正上手指南

* [add]修正上手指南与重新配置rtconfig.h
2023-04-10 23:17:56 -04:00
guo ff12c58bf8
[bsp][renesas] Add preliminary ethernet support. (#7204) 2023-04-11 03:47:33 +08:00
Yaochenger 6a0ffc9231 [add][RT1060]添加BSP上手指南 2023-04-10 09:16:28 -04:00
Meco Man 24c3d7d72a [RTduino][stm32g474-nucleo] update readme 2023-04-09 20:02:33 -04:00
Meco Man 0e5ee77c39 [RTduino][stm32l476-nucleo] correct D9 pwm3 channel number 2023-04-09 20:02:33 -04:00
Meco Man 9fdb710f87 [RTduino][stm32l476-nucleo] update readme 2023-04-09 20:02:33 -04:00
会飞的猪 422a9ec167
[bsp/wch]ch32v307 PCLK1(APB1)分频注释纠错 2023-04-09 03:27:51 -04:00
Meco Man 85294a8e86 [RTduino][STM32] 优化内置ADC通道 2023-04-08 22:40:55 -04:00
Meco Man c8956357e4 [stm32][adc] 优化adc通道获取流程 2023-04-08 22:40:37 -04:00
Yuqiang Wang ccd6bd26ec
[bsp][stm32G474-Nucleo] Update RTduino README.md (#7197) 2023-04-08 14:24:58 -04:00
Bernard Xiong 9600b75b55
[DFS] prepare for dfs_v2.0 (#7200)
* [DFS] prepare for dfs_v2. dfs_fd -> dfs_file; dfs_fnode -> dfs_vnode.

* [BSP] fix code analysis warning

* [smart] fix the pointer overflow.

* code format

* [smart] fix the lwp->lwp_obj checking.
2023-04-08 22:25:51 +08:00
Yuqiang Wang 7fbe8bbd49
[bsp][stm32] 完善STM32系列 pwm_config.h文件 (#7196) 2023-04-08 01:03:22 -04:00
wdfk-prog 25bcb84756 [bsp][stm32]添加SDMMC驱动,以区分SDIO与SDMMC 2023-04-08 12:23:52 +08:00
Yuqiang Wang e45d9c4a1e
[bsp][rtduino] support for STM32G474 Nucleo in RTduino (#7151) 2023-04-07 21:56:59 -04:00
Yaochenger 93361c31f0
[RT1060][SPI]完善SPI支持,完善SPI对RW007的支持 (#7193)
* [RT1060][SPI]添加SPI支持,并完善RW007支持
2023-04-07 18:56:51 +08:00
sheltonyu 2352d3e310 [bsp/at32] fixed auto check error 2023-04-07 03:46:36 -04:00
sheltonyu aa4f2b224d [bsp/at32] 1.fixed some errors and remove unused contents, 2.add support at32f423 series 2023-04-07 03:46:36 -04:00
hustlixiang21 5554bb58b3
[HUST CSE][bsp]fix mismatched function types in rt_pin_ops for all drv_gpio.c (#7185) 2023-04-06 23:42:05 -04:00
xin-zheqi e79f505736
[bsp][Infineon]规范输出函数(printf)变量的类型 (#7178) 2023-04-06 14:50:08 -04:00
HEYAHONG 74eca90957 [bsp/n32g452xx] 修复会导致C++文件编译错误的头文件错误 2023-04-06 14:46:16 -04:00
lxqyyds 6c093ad654 [bsp] format the file which caused the unsuccessful check 2023-04-06 00:19:23 -04:00
lxqyyds b4c3086d2e [bsp] Add another fix similar to checking for I2Cx 2023-04-06 00:19:23 -04:00
lxqyyds ba4e48b9db [bsp] Format some files 2023-04-06 00:19:23 -04:00
HUST_lxq 99fc12ca82 [bsp] Fix the potential problem caused by the uninitialized variable dividor 2023-04-06 00:19:23 -04:00
HUST_lxq 2720c9c38c [bsp] Fix the mismatch between the print type and the variable type in print function. 2023-04-06 00:19:23 -04:00
Man, Jianting (Meco) 5c70c9e402
[lvgl][simulator] sync upstream win32 driver (#7165) 2023-04-05 13:27:14 +08:00
luobeihai 8baaf73210
add apm32 can driver and add apm32e1/s1 rtt driver support (#7170)
* add apm32 can driver and add apm32e1/s1 rtt driver support

* format some files

* modified action.yml file and modified bsp picture and add bsp README.md
2023-04-05 00:18:51 -04:00
Shicheng Chu 93f3cb30e4
[kernel] 将rt_thread结构体改为显式继承rt_object (#7131) 2023-04-04 09:06:27 -04:00
Rbb666 8a52e65013 [Infineon]Add lvgl support 2023-04-04 09:03:56 -04:00
Rbb666 72037b6353 [Renesas]Fix lvgl screen define 2023-04-04 09:02:05 -04:00
Sparks-Pion accab17fa5
[HUST CSE IoTS&P Lab] [fix] check rt_mutex_create return value (#7169) 2023-04-04 00:33:10 -04:00
sheltonyu 3bee170d52
[bsp/at32] remove #ifndef (#7168) 2023-04-03 21:18:49 -04:00
shandianchengzi e49140b513
[HUST CSE IoTS&P Lab][bsp] add missing UL suffix to BIT macro to prevent undefined behavior (#7153)
* [bsp] add missing UL suffix to BIT macro to prevent undefined behavior.

* [bsp] add UL suffix to BIT macro for consistency and readability.

* fix toUppercase.

* fix the abnormal character.

* format the file.
2023-04-03 23:05:42 +08:00
hustlixiang21 dd17ca01e6
[bsp] fix mismatched function types in rt_pin_ops (#7161) 2023-04-03 23:04:29 +08:00
Eziotao ce346d798b modify the sampling rate to increase the actual baud rate(drv_usart.c/drv_usart_v2.c) 2023-04-03 10:14:52 -04:00
hwk2077 d6c1b75e42 add `TIM1` and `TIM8` 2023-04-03 02:45:57 -04:00
KurisaW 429f46c632 [bsp][stm32] update the template.uvprojx for stm32f411-st-nucleo 2023-04-03 14:02:36 +08:00
sion 7a31ab9115 [bsp]Fix Chinese coding errors in annotations. 2023-04-02 08:02:46 -04:00
Frankx be8b381ac6
[bsp] Fix many abnormal symbols in annotations. (#7148) 2023-04-01 12:07:10 -04:00
shandianchengzi dc5123547c [bsp] Fix many abnormal symbols in annotations. 2023-03-31 23:57:17 -04:00
Shell 897ba365ba
[fix] compilation error from rpi (#7143)
* [fix] compile error from rpi
2023-03-31 20:58:01 +08:00
Wayne Lin c143842be2 Update fix warnings and builds. 2023-03-31 07:58:24 -04:00
Rbb666 d9e74b0f76 [Renesas]Update RA6M3/4 mdk proj 2023-03-31 18:10:11 +08:00
yangjie11 df74a617f1 fix #6594 2023-03-31 17:51:00 +08:00
yangjie11 95e6b69b8e
sync and update all projects (#7138)
* sync and update
2023-03-31 16:49:48 +08:00
vandoul ba6a27c850 [bsp][k210] add drv_i2c.c for i2c-tools, and use ascii code instead of special character in drv_io_config.c 2023-03-30 23:38:30 -04:00
vandoul 0822f02606 [bsp][lpc55sxx] add i2s and wm8904 driver 2023-03-30 23:38:30 -04:00
螺丝松掉的人 3c2169e637
[bsp][bouffalo_lab]add drv_adc (#7125)
* [bsp][bouffalo_lab]add drv_adc

* Update bsp/bouffalo_lab/libraries/rt_drivers/Kconfig

Co-authored-by: Man, Jianting (Meco) <920369182@qq.com>

---------

Co-authored-by: Man, Jianting (Meco) <920369182@qq.com>
2023-03-30 20:25:39 -04:00
WCX fb09316cb5
[bsp][bouffalo] add pwm & rtc & wdt devices (#7122) 2023-03-30 20:01:28 -04:00
褚仕成 0cdf72f753 [bsp] Modify the RT_Exxx error return value to a negative number 2023-03-30 09:49:24 -04:00
Rbb666 4aa38e3d86 [Infineon]Add slider driver demo 2023-03-30 16:52:34 +08:00
Rbb666 8552d061c2 [Infineon]Update spi driver 2023-03-30 16:48:48 +08:00
Shell eec78d9f5d
[rt-smart] testcase & improvements for memory management (#7099)
* [utest/mm] add testcase for create/init
format codes of create/init in components/mm

* [libcpu/aarch64] fix user stack check routine

* [kservice] export API for utest

* [utest/mm] testcase for aspace_map
format & modify the files under components/mm related with aspace_map

* [lwp/user_mm] add user_map_varea for mmap feature

* [mm] rename rt_mm_fault_try_fix to rt_aspace_fault_try_fix

* [utest/mm] testcase for synchronization

* [mm] modify unmap api to improve throughput

* [utest/mm] testcases for cache and varea map

* [format] remove extra space

* [utest/mm] fix testcase problem in header

* [lwp] extend map_user_varea with a flag

* [utest/mm] testcase for lwp_map_user_varea

* [libcpu/arm/cortex-a] fix kernel space layout

* [utest/mm] adjust for armv7 arch
2023-03-30 08:25:15 +08:00
Rbb666 dc77d8fcb6 [Renesas]Update lvgl document 2023-03-29 08:44:44 -04:00
Rbb666 b8988227d7 [Infineon]Fix spi cs problem 2023-03-29 20:35:39 +08:00
flyingcys 0cf3bcf495
[bsp]fix esp32_c3 compile error (#7107)
* fix rt_hw_interrupt_install return value

* add __rt_rvstack
2023-03-29 19:01:26 +08:00
Shell adf17c427f
[bsp] rpi 4b smart & rtos fixups (#7114)
* [bsp] rpi 4b smart & rtos fixups

* [format] remove spaces & modify readme

* [bsp] update rpi4b readme
2023-03-29 18:31:05 +08:00
ZXY_LINUX 1a7cd8b43f [driver]添加ESP32_C3 I2C驱动 2023-03-29 13:42:13 +08:00
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