Commit Graph

6884 Commits

Author SHA1 Message Date
zhkag 33f550cb65
[Kernel] message 可以返回消息的实际大小 (#7709) 2023-06-21 18:22:42 +08:00
DingDing 3e4797c63c
[stm32][pandora] fix the static conflict error in ROMFS
#### 为什么提交这份PR (why to submit this PR)
原版编译报错:Static declaration of 'romfs_root' follows non-static declaration in dfs_romfs.h

原因为:在`board/ports/drv_filesystem.c`71行用`static`定义了常量`romfs_root`,而在`rt-thread/components/dfs/dfs_v1/filesystems/romfs/dfs_romfs.h`29行,有它的外部引用:

```
extern const struct romfs_dirent romfs_root;
```

Original compilation error: Static declaration of 'romfs_ root' follows non-static declaration in dfs_romfs. h

The reason is: in 'board/ports/drv_filesystem.c' line 71 use `static` define `romfs_root`, while in `rt-thread/components/dfs/dfs_v1/filesystems/romfs/dfs_romfs.h` line 29, with its external reference:
```
extern const struct romfs_dirent romfs_root;
```

#### 你的解决方案是什么 (what is your solution)
在`drv_filesystem.c`中,不可以用static修饰这个常量,故去掉`static`关键字。

In  `board/ports/drv_filesystem.c`, it is not allowed to define this constant with static, so the `static` keyword must be removed.

#### 在什么测试环境下测试通过 (what is the test environment)
正点原子潘多拉开发板
stm32l475-atk-pandora
2023-06-20 00:22:52 -04:00
Ting Liu 8a8ecbc25d [bsp][imxrt1060] application: fix undeclared identifier error
Fix below build error when using LVGL:

applications/lvgl/lv_port_indev.c(73): error: use of undeclared
identifier 'BOARD_Touch_I2C_Send'
    .I2C_SendFunc     = BOARD_Touch_I2C_Send,
                        ^
applications/lvgl/lv_port_indev.c(74): error: use of undeclared
identifier 'BOARD_Touch_I2C_Receive'
    .I2C_ReceiveFunc  = BOARD_Touch_I2C_Receive,
                        ^
applications/lvgl/lv_port_indev.c(154): warning: implicit declaration of
function 'BOARD_LPI2C_Init' is invalid in C99
[-Wimplicit-function-declaration]
    BOARD_LPI2C_Init(TOUCH_I2C, TOUCH_I2C_CLOCK_FREQ);
    ^

Signed-off-by: Ting Liu <ting.liu@nxp.com>
2023-06-19 23:21:51 -04:00
dejavudwh 93baf8ddbb
[bsp][STM32] Add more Kconfig configuration support for stm32l496-st-nucleo (#7696) 2023-06-19 09:42:12 -04:00
Man, Jianting (Meco) 704554f1f9
[sensor-v2]将当前sensor框架revert回v1版本并独立为v2 (#7698) 2023-06-18 22:36:53 -04:00
Meco Man e8c0a74036 [wch][risc-v][drv] fix a typo in drv_common.c 2023-06-17 22:02:49 -04:00
self-confident neko 1104b80a4d
[ch32][risc-v][bsp] update drv_common for wch risc-v bsp 2023-06-17 18:27:57 -04:00
zhkag 01fdd226e4
[menuconfig] 修复 menuconfig 相关问题 (#7686)
Co-authored-by: supperthomas <78900636@qq.com>
2023-06-16 20:14:05 -04:00
Shicheng Chu 61c53e3e9f
[bsp][lpc55sxx]update: update keil default project
1.update keil default project
2.add rtduino aht10 demo
2023-06-16 19:28:53 -04:00
zst123 96207d4246 [bsp][stm32u575] add ADC support 2023-06-15 18:37:31 -04:00
zhkag 5a07d137b8 [bsp] BSP support menuconfig for fujitsu 2023-06-15 09:25:17 -04:00
zhkag d65238febb [bsp] BSP support menuconfig for sam7x 2023-06-15 09:24:45 -04:00
Meco Man ee3ecf82d7 [bsp][ch32-rsicv][sconscript] add drv_common.c
attach bf4594870e
2023-06-14 18:49:04 -04:00
Meco Man 4f5ba63c7c [cpp] attach CXXFLAGS to reduce the resource consumptions 2023-06-14 08:49:33 -04:00
dejavudwh 49ae4ab614 Modify code format 2023-06-14 08:48:29 -04:00
dejavudwh 0131018884 BSP support menuconfig for lms38962 2023-06-14 08:48:29 -04:00
dejavudwh e4fdf23cef BSP support menuconfig for lm3s9b9x 2023-06-14 08:48:07 -04:00
self-confident neko bf4594870e
向 wch-riscv-bsp 添加 drv_common.c/.h 文件 (#7671) 2023-06-14 19:34:37 +08:00
vandoul 446fdf1329 [bsp/renesas/ebf_qi_min_6m5]use fsp v4.4.0, add sci spi config item, add sci i2c driver, update README. 2023-06-12 21:40:42 -04:00
wangqinglin 4003172797
删除ioremap 宏定义 (#7662) 2023-06-12 19:52:11 +08:00
wangqinglin edaa0d9c8a 更新rk3568 bsp 支持PSCI、amp模式 2023-06-11 21:41:37 -04:00
Meco Man 690446ee90 [pandor]st77xx update demo 2023-06-10 19:00:25 -04:00
Meco Man 28b7c88269 [stm32][drv_spi] revert the typo
it shouldn't be a static variable.
2023-06-10 19:00:08 -04:00
KurisaW 1d748a7fd8 [bsp][stm32] 修改STM32G474 ioc工程为正确的芯片型号 2023-06-10 09:38:08 -04:00
zhkag 0f998f6b05
[simulator] 模拟器可以使用 utest 测试框架 (#7644)
Co-authored-by: Man, Jianting (Meco) <920369182@qq.com>
2023-06-10 12:32:34 +08:00
wdfk-prog 7c3f5c3879 [bsp][stm32][spi] 优化DMA数据非字节对齐的处理流程 2023-06-09 22:48:22 -04:00
guo 3a7546671a
[bsp/renesas] drv_sci_spi.c add timeout. (#7632) 2023-06-09 06:22:59 +08:00
flyingcys 0b6f7743f1
[bsp/bouffalo_lab]update sdio host driver (#7642)
Co-authored-by: chenyisong <chenyisong@tuya.com>
2023-06-08 23:39:52 +08:00
shiwa 10551b54cc
[bsp][essemi]es32vf2264更新部分库函数和驱动,添加RTduino支持 (#7619) 2023-06-08 02:13:01 -04:00
zhkag 22972409d4 [simulator] 修复 linux simulator 编译运行失败 2023-06-07 08:52:28 -04:00
guozhanxin 0a7b08d00a [bsp/ra6m3-hmi-board]add english README.md 2023-06-06 22:48:21 -04:00
ZengJianwei ab8caed1a3 [bsp][gd32]添加 GD32F303 的 pwm 驱动 2023-06-06 21:06:43 -04:00
Rbb666 849f0d4a71
[bsp][Renesas]修改Readme (#7620) 2023-06-06 20:50:11 +08:00
winfenggao 37585a3f20
[serial_v1] 增加变量 DR_mask 成员变量提高效率 (#7597) 2023-06-06 00:18:32 -04:00
meng-plus dd4a068e76
[bsp][LPC4088] 增加IAR环境的支持 (#7611) 2023-06-06 00:02:54 -04:00
Shicheng Chu ff8064c02e
[bsp][pico] add drv_wdt (#7614) 2023-06-05 22:03:16 -04:00
tangzz98 26ac806521
[bsp][stm32] add STM32F334 NUCLEO BSP (#7600) 2023-06-05 21:22:34 -04:00
Shicheng Chu ccc8e7ce4d
[bsp][pico]update: add drv_adc (#7603) 2023-06-05 15:52:31 +08:00
Rbb666 b9cd90c600
[bsp][Renesas]add definitions to prevent compilation errors (#7608) 2023-06-05 11:03:53 +08:00
JasonCang 1c7e7738a7 [bsp][gd32]fixed sf probe error 2023-06-03 20:27:16 -04:00
Shicheng Chu bf07f4183e
[bsp][pico]update: add drv_soft_spi (#7598) 2023-06-04 08:16:06 +08:00
rose_man 5d299ffdcd [bsp][lpc55sxx]update: drv_soft_i2c drv_soft_spi
1.config pin in menuconfig;
2.update format;
3.chang soft_i2c name
2023-06-02 17:27:03 -04:00
Rbb666 b3ea130ddd
[bsp][Renesas]Modify some drivers and configuration files (#7590) 2023-06-02 15:47:09 +08:00
Meco Man 22fb7152d9 [stm32][spi-dma] 只有传输数据超过一定长度才会使用DMA方式
在传输数据为短小报文时,使用DMA模式反倒会慢
2023-06-02 03:14:32 -04:00
褚仕成 761a28e4d9 [bsp][pico]add: drv_soft_i2c 2023-06-02 10:08:29 +08:00
Man, Jianting (Meco) 1638241297
[stm32][drv_spi] 优化spi单工发送, 不对接收buffer操作
否则可能影响上层应用的接收/发送buffer

attach: afcc400
2023-05-31 21:54:45 -04:00
Shicheng Chu 62afa5a9dc
[bsp][lpc55sxx]add: adaptation LVGL (#7585) 2023-05-31 00:50:19 -04:00
Man, Jianting (Meco) 4366ca8af6
[stm32][pandora][RTduino] 完善RTduino demo (#7584) 2023-05-31 12:16:47 +08:00
Shicheng Chu 3a44dbbf92
[bsp][lpc55sxx]add: drv_lcd and drv_touch (#7569) 2023-05-30 23:40:19 -04:00
rose_man 31ede54ac7 [bsp][lpc55sxx]update drv_adc 2023-05-29 12:43:03 -04:00
alteracd 6d0f2267e8
[bsp] support menuconfig for lm4f232、rm48x50、mm32 (#7561)
Co-authored-by: supperthomas <78900636@qq.com>
2023-05-29 02:00:34 -04:00
Meco Man 099c889e2b [RTduino][stm32][pandora] support Arduino libraries demos 2023-05-29 01:57:19 -04:00
Meco Man afcc4005b8 [stm32][spi]完善在双工设置下仅开启TX/RX一方DMA的处理 2023-05-28 22:14:52 -04:00
flyingcys 8e4a8404e3
[bsp/bouffalo_lab]add sdcard driver (#7577) 2023-05-29 09:47:25 +08:00
Man, Jianting (Meco) 7a9ee5af20
[bsp][lpc55][gcc] fix the compiling errors when enable C++ (#7575) 2023-05-28 06:48:08 +08:00
Rbb666 a0a3b3cf87 [bsp][Infineon]Fix drv_gpio and spi problem 2023-05-27 02:31:49 -04:00
Robin Chen 790b63e923
[bsp] Add .config Kconfig file to some old bsp (#7552)
Co-authored-by: supperthomas <78900636@qq.com>
Co-authored-by: Man, Jianting (Meco) <920369182@qq.com>
2023-05-25 23:55:13 +08:00
lepus 5fc22d8d42
[bsp][imxrt]dos to unix in linux 2023-05-25 11:33:50 -04:00
guo 3cc5fe5539
[bsp][ra6m3-hmi-board] support gcc and llvm-arm toolchain. (#7553)
Co-authored-by: Man, Jianting (Meco) <920369182@qq.com>
2023-05-25 11:09:34 -04:00
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