| Age | Commit message (Collapse) | Author |
|
(#11158)
|
|
Signed-off-by: sakumisu <[email protected]>
|
|
[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.
|
|
|
|
|
|
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 <[email protected]>
|
|
|
|
(#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
|
|
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.
|
|
different thread priorities
|
|
|
|
|
|
|
|
Add sdcard detect before mount in case auto mount failed.
|
|
|
|
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 <[email protected]>
---------
Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Co-authored-by: BernardXiong <[email protected]>
|
|
|
|
Correct the starting virtual address of _reset alignment to 16MB
|
|
|
|
|
|
RK3588/RK3576/RK356x/RK3308
Signed-off-by: GuEe-GUI <[email protected]>
|
|
新增 ft32f407xe-starter 板级支持
|
|
|
|
* [FIX][fal]补充缺失的入参,适配DFSv2框架
* [FIX][fal]正确声明入参的数据类型
* [chg]按审查建议修改变量类型和代码格式。
|
|
|
|
|
|
dentry functions.
|
|
* add mcxa346-RTduino
|
|
|
|
- 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 <[email protected]>
|
|
* [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
|
|
virtio_queue_destroy #11114
|
|
|
|
便于 git管理
|
|
revise the README.md
|
|
引用未定义变量导致编译报错的问题
|
|
|
|
* [sdio][dm] import Kconfig for DM
Signed-off-by: GuEe-GUI <[email protected]>
* [sdio] fixup IRQ and mmcsd threads' stack size default
Signed-off-by: GuEe-GUI <[email protected]>
* [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 <[email protected]>
* [dm][sdhci] Cleanup the SDHCI
Signed-off-by: GuEe-GUI <[email protected]>
* [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 <[email protected]>
---------
Signed-off-by: GuEe-GUI <[email protected]>
|
|
|
|
的问题
|
|
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 <[email protected]>
|
|
|
|
bsp: [stm32] add stm32f407-micu RTC support
|
|
|
|
Update bsp/stm32/stm32f407-micu/board/Kconfig
Co-authored-by: Copilot <[email protected]>
Update bsp/stm32/stm32f407-micu/board/CubeMX_Config/Inc/stm32f4xx_hal_conf.h
Co-authored-by: Copilot <[email protected]>
Update bsp/stm32/stm32f407-micu/board/CubeMX_Config/Src/stm32f4xx_hal_msp.c
Co-authored-by: Copilot <[email protected]>
Update bsp/stm32/stm32f407-micu/board/Kconfig
|
|
Signed-off-by: GuEe-GUI <[email protected]>
|
|
* bsp: stm32f407-micu: add onboard spi flash support
* bsp(stm32f407-micu): cleanup SConscript formatting and dead code
|
|
|
|
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 <[email protected]>
|
|
for loop
|