Commit Graph

6734 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