Commit Graph

6832 Commits

Author SHA1 Message Date
1ridic 89330dd269
[bsp][pico] Improve UART driver (#8099) 2023-10-02 21:28:09 +08:00
Yuqiang Wang 37ef1ba88c
[bsp/stm32] Optimize the kconfig structure of ART-PI board about serial port (#8101) 2023-10-02 16:28:46 +08:00
guozhanxin 6d506dc5b6 [bsp/rt-spark] fix spi_flash_init.c 2023-09-27 10:16:46 +08:00
zhkag 29a508222c 修复 qemu 挂载 elm 文件系统失败 2023-09-26 13:23:48 +08:00
XYZboom c60ecd7c4a [bsp][nuclei] fix "usb_conf.h not found"
Nuclei sdk requires the USB configuration header file to be completed by the application in versions after 0.3.8. see https://github.com/Nuclei-Software/nuclei-sdk/pull/54 and 43912c1a22
2023-09-26 11:37:03 +08:00
Frogrey f941dfcf13 fix uart1 pin bug, delete and update wrong icf files, add vglite support for rt1170 in IAR environment. 2023-09-26 10:52:24 +08:00
1ridic a7e210d701 [bsp][pico] Optimize Kconfig configuration
Fix SPI and I2C configuration menu. Add UART enablement option. Limit
the pin selection for UART and I2C according to the datasheet.
2023-09-26 10:42:57 +08:00
wangyuqiang c8790c72e4 [bsp][utest] 添加 rt-spark 在 gcc 下运行 utest 链接代码段 2023-09-25 16:44:40 +08:00
zbtrs 36b79798bd
feat: support sdl2 (#8048) 2023-09-25 08:40:03 +08:00
liYony 2ff1a1a4c9 [bsp][stm32] BearPi 支持 MPU6050 模块 2023-09-19 13:36:47 -04:00
guo 8a7831ee4d
[bsp/IFX]补充缺少的文件 (#8055) 2023-09-19 00:27:58 -04:00
GuEe-GUI a6e9c386ff [BSP/rockchip/rk3568] fixup heapmem init flow
In RT-Smart, `rt_hw_interrupt_init` will call
`rt_ioremap` to map GIC's MMIO registers. There
is a `rt_malloc` called in rt_ioremap, that will
fail if we not init the mem heap yet.

Signed-off-by: GuEe-GUI <GuEe-GUI@github.com>
2023-09-18 22:27:19 -04:00
guo 23794d2cf9
[bsp][ifx] add bt support (#8028) 2023-09-18 00:06:51 -04:00
蒙蒙plus dfc8994ea2 fix(air links): 对应厂家手册将RAM容量改为96kb
Signed-off-by: 蒙蒙plus <chengmeng_2@outlook.com>
2023-09-07 22:27:44 -04:00
Rbb666 594db2b516 [bsp][renesas]add hwtimer device for renesas 2023-09-06 17:58:40 +08:00
yuanzihao 32d479321b
[bsp][stm32]: add NUCLEO-H563ZI (#7987) 2023-08-29 13:10:14 +08:00
zhugengyu 6db430bde6
[bsp][phytium] support Phytium PI 2023-08-28 22:27:54 -04:00
LTreeshu ba0cb59797
[bsp][esp32] update readme (#7986) 2023-08-27 21:54:08 -04:00
Donocean 0354cd83e4
[bsp][stm32][driver] Add mini bsp support for stm32f405zg 2023-08-24 12:57:13 -04:00
Wayne Lin 86f72ed6da Update NuMaker-M2354 BSP building.
1. Remove rt_hw_cpu_reset implementation in libcpu.
2. Update configuration.
3. Add drv_log.h for building.
4. Fix warnings.
2023-08-24 12:54:19 -04:00
liYangYang b4dac34167
[bsp][stm32l431-BearPi] 为BearPi支持lpuart1外设 2023-08-23 22:09:52 -04:00
Meco Man 30c793fdb9 [tools] add GetGCCLikePLATFORM
GCC like means the toolchains which are compatible with GCC
2023-08-21 01:25:52 -04:00
yuanzihao 5b36522b48 [bsp][gd32]添加 立创开发板 GD32F470 的 SDRAM驱动,从STM32的drv_sdram.c修改而来 2023-08-20 23:47:59 -04:00
Meco Man b08d8672d2 [libc][posix/io/stdio] rename libc.c as posix/stdio.c 2023-08-17 02:22:53 -04:00
Fan YANG 0bd93292b3 [bsp][hpmicro] Update libraries, add new BSPs
- Updated hpm_sdk in libraries
- Updated rt-thread driver adapter
- Updated bsp for hpm6750evkmini
- Updated bsp for hpm6750evk
- Added bsp for hpm6750evk2
- Added bsp for hpm6300evk
- Added bsp for hpm6200evk

Signed-off-by: Fan YANG <fan.yang@hpmicro.com>
2023-08-16 13:46:43 +08:00
zhkag 83a2863ab6 [bsp][stm32][rt-spark] 更新 cubemx ports 2023-08-14 13:55:28 +08:00
guozhanxin f53fc15f03 [bsp/ifx] add cyw43012 wifi module 2023-08-10 22:52:59 -04:00
cx 9968f84c2b [stm32][pandora] fix LCD init ahead PWM 2023-08-09 02:48:36 -04:00
Meco Man c6a2f5b7bd rt_hw_cpu_shutdown: implement default weak function
and remvoe duplicated default functions in each cpu/bsp level
2023-08-08 22:34:25 -04:00
Meco Man cb810dfe75 rt_hw_cpu_reset: remove all other rt_weak 2023-08-08 22:34:25 -04:00
KunYi Chen b3f7591811 avoid warning message of sequence-point
board/ports/touch/gt911/src/gt911.c: warning: operation on '*(config + 8)' may be undefined [-Wsequence-point]
                config[8] = config[8] ^= (1 << 3);
                ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
2023-08-07 16:49:32 -04:00
vacabun 6648419999 [bsp][stm32h750_artpi] use gnu99 2023-08-06 19:04:28 -04:00
Meco Man 1c03d59651 [rtduino][stm32-l476] add LED_BUILTIN 2023-08-06 10:57:19 -04:00
Meco Man 94eb8c29be [rtduino][stm32-f401] support timer9 as tone timer 2023-08-06 10:57:19 -04:00
zhangyan 3c289c26f0
[bsp][Phytium] qspi debug (#7914) 2023-08-05 14:45:11 +08:00
Meco Man 0fb393e9a1 [bsp][stm32][drv_spi.c] remove meaningless settings 2023-08-04 00:10:20 -04:00
Rbb666 a6fcb4f8a1 [bsp][renesas]update ra6m3&4 readme 2023-08-02 15:49:18 +08:00
zhangyan 31fec3bb70
[bsp] phytium e2000 update (#7900)
Co-authored-by: zhugengyu <zhugengyu@phytium.com.cn>
2023-08-02 13:27:09 +08:00
liYangYang f5fe1a5d7b
[RTduino][stm32-f401nucleo] 支持对接引脚的功能切换 (#7901) 2023-08-01 21:02:46 -04:00
guo 51100ae4a6
[libcpu/Kconfig] add ARCH_ARM_CORTEX_M23 define (#7895) 2023-08-01 00:00:49 +08:00
Shicheng Chu 5c4b44f81e
[bsp][pico]add: drv_spi and drv_i2c 2023-07-30 08:36:47 -04:00
Meco Man f258f74c09 [ci][kconfig][qemu] guard the legacy option 2023-07-28 22:17:40 -04:00
Meco Man 4e0225a48d [debug] use LOG_D instead RT_DEBUG_LOG
related: https://github.com/RT-Thread/rt-thread/pull/7799
2023-07-28 13:50:32 -04:00
bxhsiman 93cd53d06f [bsp][wch] fix UART IRQ declarion
将UART4后的中断函数声明改为UART
2023-07-25 19:18:56 -04:00
GUI 6f119d4ce9
AArch64: support public linker scripts (#7831)
Signed-off-by: GuEe-GUI <GuEe-GUI@github.com>
2023-07-25 21:31:44 +08:00
guo 14d15404d8
更新瑞萨相关 bsp (#7858) 2023-07-25 14:55:11 +08:00
WCX 0a6aaf12ad
[bsp][esp32-c3] Realization of scons compilation of ESP32-C3 | 实现ESP32-C3的scons编译 (#7821)
Co-authored-by: Supper Thomas <78900636@qq.com>
2023-07-25 13:42:31 +08:00
zhkag 7e5620edc3
[smart] 修复用户态 mq_receive 不能阻塞 (#7836) 2023-07-24 17:01:45 +08:00
Man, Jianting (Meco) 244b903e5d
[debug] 整理debug宏并增加RT_DEBUGING_CONTEXT (#7805) 2023-07-22 10:36:42 +08:00
wangqinglin a07fda3470
[bsp][stm32][airm2m]<pin>更新pin num命令 (#7390) 2023-07-19 18:45:43 -04:00
Rbb666 2dbf9acc71
[bsp][Infineon]fix i2c init error (#7817)
添加iic4的配置,将初始化错误断言部分修改为打印方式
2023-07-17 23:59:20 -04:00
yby c7d1a0f7cd [add] add msp432e401y-LaunchPad BSP v0.1 2023-07-17 20:39:12 -04:00
xqyjlj 0eb75ced70
[time]时钟框架重构 (#7794) 2023-07-17 20:11:58 +08:00
sp-cai 0ebec472e1
[components][i2c] 优化 controt 接口格式,增加可用命令 (#7806)
原来 rt_i2c_control 只能执行 RT_I2C_DEV_CTRL_CLK 单一命令,通过此修改可以支持更多可用命令
2023-07-13 21:57:40 -04:00
Supper Thomas 350626841a
[libcpu]fix RT_ASSERT undefine (#7816) 2023-07-14 09:47:02 +08:00
Siwei Xu 6a9973cf19 [bsp][Infineon] Add I2C4 config for psoc6-evaluationkit 2023-07-12 12:38:10 +08:00
Zheng-Bicheng fefffcf363
[bsp][stm32] add B-U585I-IOT02A BSP (#7778)
B-U585I-IOT02A芯片为STM32U585AIIxQ,与stm32u575-st-nucleo板卡接近,因此参考stm32u575-st-nucleo对B-U585I-IOT02A板卡的BSP进行了实现
2023-07-11 00:39:29 -04:00
Supper Thomas 032a3f2704 [bsp][rt-spark] Update README.md 2023-07-10 19:13:42 -04:00
Rbb666 b0b2256da1 [bsp][renesas]fix build error 2023-07-10 01:48:21 -04:00
Meco Man 325ddd2ab7 [bsp][stm32l476][RTduino] support PWM switch to SPI 2023-07-09 20:55:51 -04:00
Meco Man 673d1dcaf0 [bsp][stm32f411][RTduino] support Tone hwtimer 2023-07-09 20:55:51 -04:00
Meco Man a75de72bb1 [RTduino][ST7789] fix the demo of duration time caculation 2023-07-09 20:55:51 -04:00
Meco Man 5a51cd29c7 [bsp][stm32f411][RTduino] pins_switch_to_spi -> switchToSPI 2023-07-09 20:55:51 -04:00
Meco Man 237bbfd968 [debug] remove RT_DEBUG_xxx
remove RT_DEBUG_THREAD RT_DEBUG_SCHEDULER RT_DEBUG_IPC RT_DEBUG_TIMER RT_DEBUG_IRQ RT_DEBUG_MEM RT_DEBUG_SLAB RT_DEBUG_MEMHEAP
2023-07-09 00:19:29 -04:00
liYangYang 3660db39a1
[RTduino][stm32-f411nucleo] 支持对接引脚的功能切换 (#7798) 2023-07-09 00:19:11 -04:00
Meco Man a87b399848 [stm32][RTduino] limit pin max number check 2023-07-08 21:47:57 -04:00
Meco Man 4f1f96bbce [stm32l475][RTduino] support tone timer 2023-07-08 21:47:57 -04:00
Supper Thomas 9295bc78ea
[bsp][stm32] remove the useless bsp (#7795) 2023-07-08 14:58:10 +08:00
Supper Thomas b59d243c4f
[bsp][stm32][spark]first version (#7787) 2023-07-07 09:39:57 +08:00
wusongjie 81c8919889 Merge branch 'master' of https://github.com/RT-Thread/rt-thread 2023-07-06 10:20:35 +08:00
zhkag c0a5129ed4
[bsp][acm32] 修复 acm32 并添加 ci (#7783) 2023-07-05 18:22:45 +08:00
zhkag efbcd5d487
[bsp][renesas] 修复 renesas 部分 bsp 并添加 ci (#7782) 2023-07-05 18:21:43 +08:00
zhkag 9c14c518db
[bsp][mm32] 修复编译问题 (#7780)
Co-authored-by: Supper Thomas <78900636@qq.com>
2023-07-05 18:20:08 +08:00
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