Commit Graph

6759 Commits

Author SHA1 Message Date
Shell af01d1fd1c
[components/mm] improve output of list_page (#7779) 2023-07-05 17:54:28 +08:00
wusongjie 8aa4366cb2 Drivers: Support Open Firmware API and model of PIC
We support OFW API to replace fdt old API, and add
IRQ, IO, Platform-Bus, CPUs ... OFW node contorl.
To support work with Device Tree or ACPI in drivers
that use IRQ, we make a programmable interrupt
controller driver's model.

Signed-off-by: GuEe-GUI <GuEe-GUI@github.com>
2023-07-05 16:45:16 +08:00
程蒙蒙 fd3b432915 [STM32WL55]修复scons编译不通过,完善link文件,移除硬件浮点支持
Signed-off-by: 程蒙蒙 <chengmeng_2@outlook.com>
2023-07-03 15:24:12 +08:00
程蒙蒙 72a6c91032 [bsp]stm32工程生成路径在源码目录 2023-07-03 15:20:57 +08:00
Wayne 25072608f5
[nuvoton/m460] Fix related LVGL version issues. (#7762)
Co-authored-by: Wayne Lin <wclin@nuvoton.com>
2023-07-01 22:44:03 +08:00
Shicheng Chu 2da019234e
[include][dbg]update: delete rtdebug.h (#7759) 2023-07-01 08:41:02 -04:00
flyingcys 2d087c04a4 add bl808-d0 spi && i2c 2023-06-30 21:00:18 +08:00
程蒙蒙 a901828541
[acm32]修复scons --dist错误 (#7749) 2023-06-30 08:25:40 +08:00
flyingcys c78f646891
[bsp]add cv1800b (#7753) 2023-06-30 00:05:55 +08:00
Jay 69ec7981c3
[bsp][renesas] 修复SDHI尝试多块读取时只能读取到第一个块的问题 (#7737) 2023-06-29 17:42:13 +08:00
Meco Man 34bc78331c [stm32][i2c] replace stm32_udelay as rt_hw_us_delay 2023-06-28 22:08:14 -04:00
guo eafc773186 [bsp]imxrt1060 fix wrong image reference. 2023-06-28 08:51:45 -04:00
StackYuan e95318a266
[imxrt1062]refresh rw007 module port document. (#7734)
Co-authored-by: StackYuan <yuanyjyj@outlook.com>
2023-06-27 17:09:45 +08:00
Meco Man 53c435212c [bsp][ch32v208w] fix C++ compling errors 2023-06-26 22:42:30 -04:00
Meco Man 4b3f14565d [ch32][risc-v][drv] fix rt_hw_us_delay compile error 2023-06-26 22:42:30 -04:00
Meco Man 0750b71e27 [bsp][ch32v307v] add _head_end for link file 2023-06-26 22:42:18 -04:00
Dozingfiretruck 78dcc3d2c8
[BSP][airm2m] 同步lib修改,包括sram加锁、修复获取rtc频率错误等 (#7718) 2023-06-26 22:41:59 -04:00
Bernard Xiong ce4a9c324d
[bsp] add imx6ull smart board bsp (#7716) 2023-06-27 08:20:45 +08:00
Man, Jianting (Meco) 64c1d626e2
[bsp][stm32l476-nucleo] support timer 7 for RTduino (#7721) 2023-06-26 09:30:21 +08:00
Rbb666 b8796f55a5 [bsp][stm32]fix stm32u5 gpio interrupt error 2023-06-25 17:12:44 +08:00
xjy d1ed0f7ddb 完善sdram引脚定义 2023-06-21 22:51:32 +08:00
xjy a6024458ff add link file for iar project 2023-06-21 22:50:22 +08:00
xjy 878be62a0f 消除冗余定义;修复书写错误 2023-06-21 22:49:37 +08:00
guo 8d2072de55
[kernel]add api rt_hw_interrupt_is_disabled (#7706) 2023-06-21 22:42:50 +08:00
xiao xie ba76cb5ef7
[drivers]修复can驱动编译错误 (#7708) 2023-06-21 08:52:11 -04:00
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