Commit Graph

15087 Commits

Author SHA1 Message Date
Man, Jianting (Meco) 64c1d626e2
[bsp][stm32l476-nucleo] support timer 7 for RTduino (#7721) 2023-06-26 09:30:21 +08:00
goldengrandpa 139d2b9fb9
[testcases]增加volatile解决优化等级高的情况下,测试不通过的问题 (#7717) 2023-06-25 13:53:22 -04:00
Rbb666 b8796f55a5 [bsp][stm32]fix stm32u5 gpio interrupt error 2023-06-25 17:12:44 +08:00
Meco Man d8a3b7c68d [kernel][Kconfig] 调整Kconfig缩进 2023-06-23 17:41:01 -04:00
Bernard Xiong e3f068f058
[DeviceDrivers] prepare for device driver v2.0 (#7697) 2023-06-22 14:16:03 +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
guo 74b15524db
Add 5.0.1 ChangeLog.md (#7710) 2023-06-21 08:52:41 -04: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
yangfasheng b4e59bac4e
dfs v2 修改 fd_new 的 startfd 起始值为 0 ;修复 futex_wait 超时时间换算异常; (#7705)
Signed-off-by: yangfasheng <yangfasheng@live.com>
2023-06-20 23:09:58 +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
zhangyan 511bafb807
[testcase] correct the file names in sconscirpt 2023-06-19 17:38:05 -04:00
dejavudwh 93baf8ddbb
[bsp][STM32] Add more Kconfig configuration support for stm32l496-st-nucleo (#7696) 2023-06-19 09:42:12 -04:00
heyuanjie87 0503d1e27f [libc/termios]修改oflags定义与musl一致 2023-06-19 00:38:36 -04:00
wangqinglin 8335c5add2 更新gicv3中断亲和性设置,重构api: arm_gic_send_affinity_sgi, 增加AMP宏判断, rt_ioremap和宏RT_USING_SMART解耦
修改:中断安装默认绑定至当前核心, 修改rt_hw_interrupt_set_target_cpus函数,
2023-06-19 11:35:46 +08:00
heyuanjie87 a790c809a8 [pty]修正pty引起waitqueue崩溃的问题 2023-06-19 10:56:06 +08:00
Man, Jianting (Meco) 704554f1f9
[sensor-v2]将当前sensor框架revert回v1版本并独立为v2 (#7698) 2023-06-18 22:36:53 -04:00
zhangyan 1758de1be1
testcase 修改 (#7688) 2023-06-18 21:40:02 +08: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 7d8f485321
[finsh] 添加 RT_Device_Class_Bus 对应的描述字符串 2023-06-16 22:33:03 -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
yangjie11 c4df1d6a19 [cpp] support rt-thread CPP wrapper sub-switch macros 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
yangjie11 d256d742d1 [components][time.h]Fixed undefined macro TIMER_ABSTIME 2023-06-14 06:31:10 -04:00
Mingjie Shen c7ad493b9a [libc][ctime] move null pointer check before dereference
This null check was redundant because the pointer timep was
dereferenced in any case.
2023-06-13 18:29:22 -04:00
Mingjie Shen 6198eea6c7 [msh] fix offset used before range check
These uses of offset 'cmd0_size' should follow the range check.
2023-06-13 18:00:32 -04:00
Mingjie Shen 177f3d4056 [adc] remove dead code
The variable result_str is never used after this assignment.
2023-06-13 17:47:54 -04:00
zhkag aa4aeedb74
[simulator] 添加 simulator in Linux ci (#7664) 2023-06-13 13:05:56 -04: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 76d8416e72
修复aarch64-qemu启动失败问题 (#7661) 2023-06-12 19:49:18 +08:00
wangqinglin edaa0d9c8a 更新rk3568 bsp 支持PSCI、amp模式 2023-06-11 21:41:37 -04:00
wdfk-prog 780806feb4 [rtdef] RT_IS_ALIGN marco add a null address exclusive 2023-06-11 11:41:50 -04:00
yangfasheng e36b97ff94
[dfs v2] fix dentry hash lookup bug; update dentry dump msh cmd; (#7655)
Signed-off-by: yangfasheng <yangfasheng@live.com>
2023-06-11 18:07:06 +08:00
Bernard Xiong cd3f0f9c8a
Add color ls for executable file. (#7654) 2023-06-11 13:12:40 +08:00
wangqinglin 0cb2a5e735 删除mmu.c对board.h的引用 2023-06-11 07:09:24 +08:00