Commit Graph

6568 Commits

Author SHA1 Message Date
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
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