Commit Graph

17745 Commits

Author SHA1 Message Date
CYFS
c374aa2b19 [bsp][nxp]:fix mcxa346 ci err 2026-01-28 13:54:16 +08:00
R b b666
3e2d924e9d [driver/usb]Update dwc2/usb_glue_infineon.c to add the missing header file. (#11158) 2026-01-28 10:54:30 +08:00
sakumisu
cdc50db570 update(cherryusb): update to v1.6.0
Signed-off-by: sakumisu <1203593632@qq.com>
2026-01-28 09:46:34 +08:00
vm22
97e1f014a1 cmake: make CPPDEFINES handling robust for SCons-generated values
[tools][cmake] fix type handling when generating CMake targets

[Root Cause]
Unexpected macro definition types during `scons --target=cmake`
could trigger a TypeError and abort CMakeLists.txt generation.

[Solution]
Add support for handling different macro definition types.

[Affect Area]
cmake.py

[Test Suggestion]
Run `scons --target=cmake` and verify CMakeLists.txt is generated
successfully with different macro definition formats.
2026-01-27 13:04:11 +08:00
wdfk-prog
5d1f199e9e feat(fal): add Kconfig options for device name length and block count 2026-01-26 17:24:39 +08:00
dongly
f556099146 [bsp] fix rtconfig.py SyntaxWarning 2026-01-21 15:21:34 +08:00
lhxj
7641ef6885 [drivers] Fix OFW bus conflict and prevent duplicate device creation
Problem:
When enumerating device tree nodes, platform bus and native buses (I2C/SPI)
may create duplicate devices for the same OFW node, causing cross-bus conflicts.
This triggers assertion failure '(dev->bus != new_bus)' in
rt_bus_reload_driver_device() during boot on minimal DM-enabled systems.

Root Cause:
1. Platform bus tries to reload devices that already belong to other buses
   by calling rt_bus_reload_driver_device(dev->bus, dev), which violates
   the API contract (requires dev->bus != new_bus).
2. Native buses (I2C/SPI) do not mark OFW nodes as occupied, so platform
   bus creates duplicate platform devices for I2C/SPI client nodes.

Solution:
1. components/drivers/core/platform_ofw.c: Return RT_EOK when np->dev exists,
   letting the native bus handle device lifecycle instead of cross-bus reload.
2. components/drivers/i2c/dev_i2c_bus.c: Mark i2c_client_np->dev during scan
   to prevent platform bus from duplicating I2C client devices.
3. components/drivers/spi/dev_spi_bus.c: Mark spi_dev_np->dev during scan
   to prevent platform bus from duplicating SPI devices.

Tested on Spacemit K1 RISC-V platform with minimal DM configuration.

Signed-off-by: lhxj <2743257167@qq.com>
2026-01-20 22:05:28 +08:00
PeakRacing
306505ea24 update:更新维护者信息 2026-01-20 13:27:42 +08:00
ricky
a68cc2e71a [tool] tools/targets/vsc.py : improve compile_commands handling and w… (#11138)
[tool] tools/targets/vsc.py : improve compile_commands handling and workspace excludes
  - broaden source file extension detection to include C++ and asm
  - resolve compile_commands path to absolute and pass its directory to clangd
  - limit excludes scan to rt-thread/packages and always include board/linker_scripts
2026-01-19 11:31:00 +08:00
Eric Chan
b3c71a6f34 Fix: fix xpt2046_touch_readpoint type error
Fix & Improve: fix touch event bug with LVGL

Fix touch event bug with LVGL.
Improve the touch sliding experience of resistive screens.

[ci][stm32f407] add lcd attach config CI check

Fix: minor modification

Fix format issue.

Fix Ci attach file.
2026-01-19 09:51:26 +08:00
wdfk-prog
d76eca1384 fix(Kconfig): Update the default value of FINSH_THREAD_PRIORITY to support different thread priorities 2026-01-19 09:47:48 +08:00
milo
3ca5cd53f5 [fix] fix normalization issue of mktime and timegm 2026-01-17 19:12:40 -05:00
DaiLingxiang
9bf3a54191 bsp/stm32f407-micu:add aht20,icm20608,ssd1306 support 2026-01-15 23:31:35 -05:00
westcity-YOLO
949cd2c720 Add standardized utest documentation block 2026-01-15 13:39:00 +08:00
Eric Chan
8dc7db90b2 Fix: add sdcard detect before mount
Add sdcard detect before mount in case auto mount failed.
2026-01-14 16:31:08 +08:00
Tang Qingmei
6c2b9a8f20 [libcpu][aarch64] Replace x8 with a callee-saved register 2026-01-13 13:42:26 +08:00
Copilot
570cc03579 [risc-v][common64] Make rt_hw_cpu_shutdown weak to resolve multiple definition with RT_USING_DM (#11100)
* Initial plan

* [risc-v][common64] Make rt_hw_cpu_shutdown weak to fix multiple definition error

Co-authored-by: BernardXiong <1241087+BernardXiong@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: BernardXiong <1241087+BernardXiong@users.noreply.github.com>
2026-01-12 17:15:42 +08:00
AngryProton
f4566f14dc [drivers/blk] 解决块设备写入不对齐数据失败的问题 #11103 2026-01-12 17:14:59 +08:00
laidene
68a5c6a83b [libcpu][arm][cortex-a] Fixup mmu setup early
Correct the starting virtual address of _reset alignment to 16MB
2026-01-10 13:30:09 +08:00
laidene
9c60c5fb06 Update libcpu/arm/cortex-a/gic.c 2026-01-09 10:19:52 +08:00
laidene
ff5c5eab6b [docs][libcpu][arm][cortex-a] add comment for gic.c 2026-01-09 10:19:52 +08:00
GuEe-GUI
45fe9ee96b [bsp][rockchip] Port to DM
RK3588/RK3576/RK356x/RK3308

Signed-off-by: GuEe-GUI <2991707448@qq.com>
2026-01-08 21:33:25 +08:00
weidong
f671816aae [bsp/ft32] 新增 ft32f407xe-starter 板级支持 (#11130)
新增 ft32f407xe-starter 板级支持
2026-01-08 13:28:56 +08:00
wdfk-prog
3a2d67e965 fix(components): validate RT_MAIN_THREAD_PRIORITY range at build time 2026-01-07 17:47:48 +08:00
AngryProton
3d8114bcfe [FIX][fal]char设备类型补充缺失的入参,适配DFSv2框架 (#11112)
* [FIX][fal]补充缺失的入参,适配DFSv2框架

* [FIX][fal]正确声明入参的数据类型

* [chg]按审查建议修改变量类型和代码格式。
2026-01-06 17:12:55 +08:00
CYFS
96bce36533 [tools][cmake]:Fix the cmake creation error of scons 2026-01-06 16:47:43 +08:00
wdfk-prog
bd22f2fa6a fix(dfs): align fd API declarations with DFS_USING_POSIX 2026-01-06 16:44:35 +08:00
AngryProton
7384a8e035 [FIX]Locking for dfs_dentry_dump must be consistent with that of all other dentry functions. 2026-01-06 12:03:41 +08:00
xiyao
45511af114 [add][RTduino] Fitter RTduino in frdm-mcxa346 (#11067)
* add mcxa346-RTduino
2026-01-06 09:37:55 +08:00
wdfk-prog
9d1d4a08a9 feat:[stm32][can]: Validate CAN filter bank settings and skip invalid items 2026-01-05 16:28:13 +08:00
Runcheng Lu
17d026c6cc [fix] drivers: spi: refactor SPI bit operations into independent configuration
- Add RT_USING_SPI_BITOPS as a separate configurable option
- Make RT_USING_SOFT_SPI depend on RT_USING_SPI_BITOPS
- Adjust build order in SConscript for proper com

Signed-off-by: Runcheng Lu <runcheng.lu@hpmicro.com>
2026-01-04 17:04:34 +08:00
caicunjun
a73f5d1032 [docs][libcpu][arm][cortex-a] add comment for mmu.h (#11104)
* [docs][libcpu][arm][cortex-a] add comment for mmu.h

* [docs][libcpu][arm][cortex-a] beautify comment for mmu.h

* [docs][libcpu][arm][cortex-a] delete extra space at the end of lines
2026-01-04 17:03:20 +08:00
Copilot
7c05661ae9 [virtio] Fix queue_sel ordering in virtio_queue_init and virtio_queue_destroy #11114 2026-01-04 16:55:19 +08:00
CYFS
4463dbcf23 ci:arm_smart ci build erro (#11113) 2026-01-03 15:22:29 +08:00
蒙蒙plus
d9c74834b0 fix: 更换去重算法,保证工程输出一致性
便于 git管理
2026-01-01 22:57:49 -05:00
Dailingxiang1
c39e92f4c1 add i2c,timer,pwm support
revise the README.md
2025-12-27 11:58:46 +08:00
angryproton
df85c74265 [FIX][DFSv2][ELMFAT]解决dfs_elm_unlink在FF_VOLUMES为1时赋值drivers_fn引用未定义变量导致编译报错的问题 2025-12-27 10:46:50 +08:00
CYFS
3a78e8e74c feat[nxp][can]:add mcxa346 can device 2025-12-26 21:47:15 +08:00
GUI
c6498b5f65 [sdio][dm] update for DM (#11078)
* [sdio][dm] import Kconfig for DM

Signed-off-by: GuEe-GUI <2991707448@qq.com>

* [sdio] fixup IRQ and mmcsd threads' stack size default

Signed-off-by: GuEe-GUI <2991707448@qq.com>

* [sdio][dm] Support DM mode

1. Support features read by DM.
2. Support regulator API in drivers.
3. Support send tuning option CMD.
4. Replace `switch_uhs_voltage` by `signal_voltage_switch`.

Signed-off-by: GuEe-GUI <2991707448@qq.com>

* [dm][sdhci] Cleanup the SDHCI

Signed-off-by: GuEe-GUI <2991707448@qq.com>

* [sdio][dm] add new SDIO/SDHCI drivers

1. SDHCI support on PCI bus
2. Synopsys DesignWare MMC Family(MMIO/PCI)

Signed-off-by: GuEe-GUI <2991707448@qq.com>

---------

Signed-off-by: GuEe-GUI <2991707448@qq.com>
2025-12-26 21:04:42 +08:00
caicunjun
71d802c415 [docs][libcpu][arm][cortex-a] update comment for start_gcc.S #11089 2025-12-26 21:04:23 +08:00
angryproton
ec0c2bbbd8 [FIX][DFSv2][ELMFAT]修复多线程环境下lseek返回值概率性被篡改的问题 2025-12-26 21:03:26 +08:00
Chuan
239f371fcb [bsp][k230]:add gnne driver
Requirement: The BSP for the k230 platform in the RT-Thread repository does not yet have a gnne driver.
Solution: Provide gnne driver for the k230 platform in the RT-Thread repository.
- Implements mutex lock mechanism for AI2D and GNNE modules.
- Adds HARDLOCK_AI2D support in hardlock driver for mutual exclusion.
- Implements poll operation for device status monitoring.
- Updates documentation in bsp/README.md.
Signed-off-by: ChuanN-sudo <fjchuanil@gmail.com>
2025-12-26 21:02:37 +08:00
AngryProton
916b212855 [FIX]Update vnode size after writing to tmpfs 2025-12-26 15:10:48 +08:00
DaiLingxiang
6b5331a410 bsp: stm32f407-micu: add RTC support (#11086)
bsp: [stm32] add stm32f407-micu RTC support
2025-12-26 10:42:16 +08:00
CXSforHPU
754d5179a8 [nxp/mcxa156] Fix the low-frequency PWM output 2025-12-25 08:41:56 +08:00
DaiLingxiang
f52fb6053d bsp: stm32f407-micu: add SDIO support (#11081)
Update bsp/stm32/stm32f407-micu/board/Kconfig

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

Update bsp/stm32/stm32f407-micu/board/CubeMX_Config/Inc/stm32f4xx_hal_conf.h

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

Update bsp/stm32/stm32f407-micu/board/CubeMX_Config/Src/stm32f4xx_hal_msp.c

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

Update bsp/stm32/stm32f407-micu/board/Kconfig
2025-12-24 14:42:57 +08:00
GuEe-GUI
9370f81ad7 [dm][include] fixup loss' header
Signed-off-by: GuEe-GUI <2991707448@qq.com>
2025-12-22 13:24:41 +08:00
DaiLingxiang
dd3cee9646 bsp: stm32f407-micu: add onboard spi flash support (#11065)
* bsp: stm32f407-micu: add onboard spi flash support

* bsp(stm32f407-micu): cleanup SConscript formatting and dead code
2025-12-22 09:58:56 +08:00
GUI
43733268c1 [dm][firmware][scmi] support ARM-SCMI interface #11069 2025-12-19 21:20:17 +08:00
GuEe-GUI
77fbed5744 [libcpu][aarch64] Update for DM
1. PSCI port to system power.
2. Support builtin fdt.
3. Update system aspace size.
4. Support DMA memory probe.
5. Fixup not backtrace in Serror for device bus fault.

Signed-off-by: GuEe-GUI <2991707448@qq.com>
2025-12-19 21:18:54 +08:00