Commit Graph

6825 Commits

Author SHA1 Message Date
zhiqiandeng 17ce4a462b
[bsp][yichip] add yc3122-pos (#7526)
Co-authored-by: supperthomas <78900636@qq.com>
2023-05-23 16:07:16 +08:00
Rain Park 7f31d5cb8c
[bsp][stm32][stm32l496-st-discovery] add stm32l496G DISCO bsp (#7544)
Signed-off-by: spencergotowork <1162678210@qq.com>
2023-05-22 02:56:33 -04:00
Meco Man 3334a05148 [stm32l4] support SPI3 RX DMA 2023-05-22 02:56:14 -04:00
Man, Jianting (Meco) 7aa3c806cd
[stm32l475][Kconfig] add BSP_USING_PWM4_CH2 when enable RTduino 2023-05-22 01:40:49 -04:00
Meco Man 1f4f495da6 [rtduino][stm32] support SPI LCD 2023-05-21 15:37:18 -04:00
vandoul a36d2df236
[bsp/Infineon]psoc6 add drv sdcard (#7522)
Co-authored-by: Man, Jianting (Meco) <920369182@qq.com>
2023-05-20 13:26:34 +08:00
shandianchengzi a294d7da9a
[HUST CSE][example] fix some typo bugs about 'sucess' and others. (#7528) 2023-05-18 10:42:44 -04:00
rose_man c349fe68b8 [bsp][lpc55sxx]update Kconfig default and delete drv_led drv_key 2023-05-18 10:16:49 -04:00
guo 606ad9272b [tools] llvm-arm reduce code size. 2023-05-18 10:08:31 -04:00
guozhanxin 82ccbc40db support llvm-arm 16.0 2023-05-17 12:09:10 -04:00
forest-rain 014f885d9c [gd32][spi] add spi3\spi4 support and rt_hw_spi_device_attach 2023-05-17 00:59:12 -04:00
xinyi.gao 3b913914c2 [bsp][nxp][imxrt1020] update to support Keil AC6 2023-05-16 21:53:38 -04:00
suxiaocheng e865b5b7dd [bsp/raspberry-pico] fix sys_tick setting wrong clock source 2023-05-16 20:19:07 -04:00
褚仕成 5f8b33f85d [bsp][lpc55sxx]update: drv_spi 2023-05-17 07:20:05 +08:00
Meco Man 6cea142222 [tool][release] add tools/release folder for the scrips that prepare the version release 2023-05-15 09:03:04 -04:00
Shicheng Chu 5e188b8ca8
[bsp][lpc55sxx]update: drv_soft_i2c, fix macro (#7506)
Co-authored-by: Man, Jianting (Meco) <920369182@qq.com>
2023-05-15 09:02:32 -04:00
xym ca58456843
[bsp][rt1061] 新增飞凌 ok1061-s 开发板 bsp (#7468) 2023-05-14 23:59:06 -04:00
Meco Man eb08036537 [stm32][start_up] modify heap size as 0x00 and stack size as 0x400 2023-05-14 20:11:29 -04:00
Shicheng Chu f7337f9db6
[bsp][Infineon]update: READ.me use path of relative (#7500) 2023-05-14 21:35:11 +08:00
Rbb666 c547cc1dff
[Renesas]Modifying some script files (#7445)
Co-authored-by: Man, Jianting (Meco) <920369182@qq.com>
2023-05-13 02:37:11 -04:00
flyingcys acb5010e04
[bsp/allwinner]update allwinnter libraries object file path (#7482) 2023-05-12 22:50:21 +08:00
褚仕成 5991990b6a [bsp][bl]update: drv_soft_i2c 2023-05-12 08:42:59 -04:00
Rbb666 22a7bf8711 [Renesas]Modify player output buffer to dynamic malloc 2023-05-12 12:29:42 +08:00
Liu,Yuan df85bdeeee
[bsp][bl][tools] add dist function (#7278) 2023-05-12 00:14:55 -04:00
supperthomas c94a849ba4
[CI][action] optimize the action view (#7480) 2023-05-12 12:03:26 +08:00
Shicheng Chu a650e3e69c
[bsp][lpc55sxx]update rtconfig.py to support armclang configurations 2023-05-12 00:01:44 -04:00
Dozingfiretruck 132dba2e65
[bsp/airm2m] update:update AIR32F10xLib (#7472) 2023-05-11 21:24:05 -04:00
huanghe 50a4e8c662
[bsp][phytium]适配rt-thread5.0.0 版本 (#7441)
Co-authored-by: 朱耿宇 <zhugengyu@phytium.com.cn>
2023-05-11 10:25:21 +08:00
flyingcys 23f91e83ab
[bsp/bouffalo_lab]add drv_i2c (#7473) 2023-05-10 22:12:20 -04:00
liuhy-2020 3650fdd583
[bsp/essemi]增加rsicv芯片bsp:es32vf2264. (#7463) 2023-05-10 18:33:20 +08:00
Placebo27 538158bf20
[bsp] fix mismatched function types in rt_pin_ops for all drv_gpio.c (#7457) 2023-05-08 23:35:27 -04:00
Shicheng Chu 4ce116dae0
[bsp][lpc55sxx]add: rw007_lpc55sxx_port.c (#7450) 2023-05-08 21:51:58 -04:00
张康 7aaf5babb3 将 slider 和 slider demo 宏分离 2023-05-08 15:47:57 +08:00
flyingcys 76befa4e36
[bsp/bouffalo_lab]update uart driver pin && bl808-d0 ioremap mode (#7456) 2023-05-07 23:13:38 +08:00
JonasWen 16472d03f7
[bsp][at32]disable spi to change transfer size (#7448) 2023-05-06 10:49:39 +08:00
Ken 94ed48d338
[doc] fix document error (#7449) 2023-05-05 19:18:11 +08:00
Rbb666 bc9fe6d3c8 [Renesas]Update tft callback and modify comments 2023-05-05 13:28:24 +08:00
Rbb666 ac27da5689 [Renesas]Update README.md 2023-05-05 13:28:24 +08:00
Rbb666 7679b9ec1d [Renesas]Add jpeg and g2d device support 2023-05-05 13:28:24 +08:00
Jia Salix Ye 0d7e18df1e
[HUST CSE][bsp][fix] Fix potential buffer overflow vulnerability (#7409) 2023-05-04 22:38:48 +08:00
LostCivilization 1efe3071c7
[HUST CSE] 变量 tick 没有初始化 (#7424) 2023-05-04 22:11:33 +08:00
flyingcys 6edd0586f2
[bsp/bouffalo_lab]add spi driver (#7435) 2023-05-04 11:49:38 +08:00
nobody 613e5a3e51 [HUST CSE]fix:修改drv_spi.c空指针问题 2023-04-29 18:16:10 -04:00
vandoul 7693c6f5ab
[fix]boot os failed in mdk ide! (#7404) 2023-04-29 12:41:02 +08:00
Shicheng Chu 0c55c4d3ed
[bsp][bl] add drv_soft_i2c (#7406) 2023-04-29 12:40:15 +08:00
zouziyu2002 ce4674defa
[HUST CSE] add forced type conversion when using 'realloc','malloc','calloc' for better readability 2023-04-28 15:55:28 +01:00
Shicheng Chu a8b7e28741
[bsp][lpc55sxx]update:update drv_wdt (#7397) 2023-04-28 19:26:01 +08:00
Shicheng Chu 8964fb70ac
[bsp][lpc55sxx]update: add missing library (#7408) 2023-04-28 19:24:17 +08:00
Shicheng Chu 2b9a095c77
[bsp][lpc55s69]update:drv_hwtimer (#7385) 2023-04-28 17:44:40 +08:00
MsyCoa 1e66a25eef
[HUST CSE]drv_spi.c miss a "{" on line 83 (#7403) 2023-04-28 07:40:06 +08:00
yxf 4ab43ca98f
[HUST CSE][NXP][imx6sx] memset函数使用错误 2023-04-27 00:02:16 -04:00
flyingcys c2ac614c59
[bsp/bouffalo_lab]add bl808-d0 (#7373)
Co-authored-by: chenyisong <chenyisong@tuya.com>
2023-04-26 08:50:03 +08:00
顿玄 00c04d925d
[STM32][Readme] fix incorrect image link 2023-04-24 19:31:53 +01:00
AD0naldRavenclow fec989a69f
[HUST CSE][WCH][library] fix error in Bubble Sort (#7240) 2023-04-24 00:49:24 -04:00
Sseven731 17ed572644
[HUST CSE] [readme] fix invalid URL 2023-04-24 00:47:02 -04:00
Rbb666 2f9d3bfe20 [Renesas]Add HMI-Board bsp 2023-04-24 10:54:57 +08:00
Yuqiang Wang a09a2ea6fe
[bsp][lpc55sxx] Added drv_soft_spi functionality and fixed drv_soft_i2c pin errors (#7251)
1.lpc55sxx添加软件模拟SPI驱动
2.lpc55s69 board在Kconfig中添加软件SPI配置项
3.lpc55s69添加通用GPIO引脚定义
4.lpc55s69修正Kconfig中关于软件i2c配置项
2023-04-23 19:30:42 -04:00
chichen113 7ff6fe7c0d
[HUST CSE]github上正常但导入vscode出现乱码 2023-04-22 19:22:19 +01:00
wsxk a894aef494
[HUST CSE][bsp] fix some documents link error (#7335) 2023-04-22 19:18:44 +01:00
flyingcys 90c69a0588
update bouffalo_lab libraries && script (#7349) 2023-04-22 23:57:53 +08:00
Chef003 9490f8818d
[HUST CSE][bsp] fix printf parameter in loongson (#7321) 2023-04-19 23:08:58 -04:00
hustgxj 0ace6078e7 [HUST CSE]fix logical error in judgment statement 2023-04-19 23:07:39 -04:00
lbw15507 56eafc52e8
[HUST CSE] fix: Fixed the third-level heading, cell alignment and ord… (#7312) 2023-04-19 14:33:38 +01:00
Chaos-3 a61bbdd6d0 [HUST CSE]fix invalid document link about env tools user manual
Signed-off-by: Chaos-3 <u202011995@hust.edu.cn>
2023-04-19 11:10:59 +01:00
Yaochenger a3c5ce717c [bsp][readme]合并ch32v208与RT1060的readme 2023-04-19 10:26:15 +01:00
Stanley L 1c886a857c [doc][stm32] add How to create a RT-Studio project 2023-04-18 21:32:34 -04:00
zylugl 1c308310b8
[bsp]修正renesas / libraries / HAL_Drivers /drv_gpip.c形参错误 (#7308) 2023-04-18 12:32:42 -04:00
Hornos Lee 4f1a50be24
[HUST CSE] fix: Fixed wrong download link of env in 20+ files. (#7296) 2023-04-18 09:18:56 -04:00
songw4232 6368e7ef35
[stm32][NUCLEO-STM32U575ZI] update readme
combine the beginner guide with the readme.md file
2023-04-18 07:47:31 -04:00
Kent Zuo 99204ab8bf
[HUST CSE][docs] fix the invalid link 2023-04-18 07:43:36 -04:00
arche8 59977a21de
[HUST CSE]Modify invalid links (#7279)
* [HUST CSE]Modify invalid links
2023-04-18 19:13:58 +08:00
sheltonyu 8612d5e119 [bsp/at32] add support dac driver 2023-04-18 17:16:57 +08:00
7YZ7 501b22aabe
[HUST CSE] Fix many abnormal symbols in annotations and format code 2023-04-17 22:26:23 -04:00
Stwsyburg 3f44132ade Fix: if语句的判断条件存在变量名错误 2023-04-17 22:07:14 -04:00
aoao 308c1c66c8
[HUST CSE]Modified some invalid links in README documents (#7283)
* [HUST CSE]Modified some invalid links in README documents
2023-04-18 09:49:53 +08:00
wangqinglin 2d36be841f
aarch64:修复qemu.bat (#7276) 2023-04-17 23:59:43 +08:00
Stwsyburg ca1b1e5164 Fix many abnormal symbols in annotations 2023-04-16 22:37:16 -04:00
Hy 7c629d974d
[HUST CSE]NULL POINTER (#7220)
* avoids the risk of a null pointer

* 将||改成&&来判断断言
There is a possibility of a null pointer

* there is a possibility of a null pointer

* Update components/drivers/fdt/src/dtb_get.c

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

* 已根据代码规范进行修改,谢谢提醒

---------

Co-authored-by: Man, Jianting (Meco) <920369182@qq.com>
2023-04-17 08:12:27 +08:00
L3LeTrigger 60835af8e1
[HUST-CSE]fix:Invalid document link about env (#7262) 2023-04-17 08:10:43 +08:00
sb508 467a7f92a1 [HUST CSE]Missing right parenthesis 2023-04-16 16:02:35 -04:00
Shelton Jacob 87ab55bbb2
fix: Extra brackets (#7252) 2023-04-15 22:46:42 -04:00
xinyi.gao 61c239b6f0 [nxp][imxrt1060] add link script files 2023-04-15 10:01:10 -04:00
WCX b2f2825456
[bsp][bouffalo] add hwtimer & flash driver support (#7203)
* add hwtimer & flash driver support
2023-04-15 15:34:36 +08:00
Rbb666 aeed2eebdc [Infineon]Update Infineon [mtb-hal-cat1] to V2.3.0 and [mtb-pdl-cat1] to v3.2.0 2023-04-15 15:33:20 +08:00
Eziotao 870bf84964 下标越界判断有误(interrupt.c) 2023-04-15 15:18:15 +08:00
sheltonyu 4157a2802b [bsp/at32] add at32f435_437 uart interrupt functions macros 2023-04-14 12:28:19 -04:00
qwerta 60b0f9d5f8
[HUST CSE] Initialize uint16_t variable in delay loop (#7241) 2023-04-14 12:23:30 -04:00
meisiman 0acf4a764a [HUST CSE]fix:Grammar error: An extra ') ' 2023-04-14 12:22:15 -04:00
songw4232 d4257aff20
[add]添加stm32u575上手文档 (#7246) 2023-04-14 18:46:42 +08:00
songw4232 ad309699d6
[add]添加bsp/stm32/stm32u575-st-nucleo外设 (#7237)
* [add]添加bsp/stm32/stm32u575-st-nucleo外设

* [fix]修改源码格式使之符合RT-Thread代码规范

* [fix]修改相关报错问题

* [fix]修改README.md

* [fix]删除无效代码及添加相关注释
2023-04-14 14:07:05 +08:00
Yaochenger ef1b3383a6
[add]添加CH32V208英文上手指南 (#7243) 2023-04-14 00:21:30 -04:00
linshire 825cdefe70
[bsp][lpc55s69]add softi2c (#7221) 2023-04-13 21:41:38 -04:00
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
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