Commit Graph

7831 Commits

Author SHA1 Message Date
Onlyou_tzZ
4d063acc29 Update Nsing's BSP architecture and add N32H7xx series BSPs. (#11159)
* 更新国民技术BSP架构,添加N32H7xx系列BSP

* 修改clang_format-ignore文件,根据反馈修改n32h7xxx/libraries/N32_Drivers/nano/*下的文件格式,修改n32h7xxx/n32/n32hxxx/n32h760zil7-stb/applications/main.c文件,区别处理Nano下头文件包含

* 将N32 BSP的.clang-format-ignore文件放入libraries同级目录

* 忽略库文件格式检查

* 解决N32 BSP project.ewp和project.uvprojx冲突

* 更新RTT最新同步
2026-02-03 18:56:53 +08:00
CYFS
1c0926f223 [bsp][gd32]:add gd32vw533xx pwm support 2026-02-03 18:51:15 +08:00
wdfk-prog
f9de290991 fix[STM32][RTC]: Compute tv_usec from SecondFraction/SubSeconds and skip during shift pending
Use the generic SecondFraction/SubSeconds formula when SSR/PRER are available.
If SHPF is present and a shift is pending, keep tv_usec at 0.
Platforms without SSR/PRER (e.g. F1) default to 0.
2026-02-03 18:50:17 +08:00
wdfk-prog
1eaa85c581 feat[STM32][CAN]: drain RX FIFO frames in ISR with a bounded limit to reduce overruns
- Add CAN_ISR_DRAIN_LIMIT (default 3) to cap ISR work
- Drain multiple frames per RX0/RX1 interrupt to reduce FIFO FULL/OVERRUN
2026-02-03 18:40:45 +08:00
Bernard Xiong
743b614875 [components][clock_time] Refactor time subsystem around clock_time (#11111)
* [components][clock_time] Refactor time subsystem around clock_time

Introduce the clock_time core with clock source/event separation, high-resolution scheduling, and boot-time helpers, plus clock_timer adapters for timer peripherals.

Remove legacy ktime/cputime/hwtimer implementations and migrate arch and BSP time paths to the new subsystem while keeping POSIX time integration functional.

Update drivers, Kconfig/SConscript wiring, documentation, and tests; add clock_time overview docs and align naming to clock_boottime/clock_hrtimer/clock_timer.

* [components][clock_time] Use BSP-provided clock timer frequency on riscv64

* [risc-v] Use runtime clock timer frequency for tick and delays

* [bsp] Add clock timer frequency hooks for riscv64 boards

* [bsp] Update Renesas RA driver doc clock_timer link

* [bsp] Sync zynqmp-r5-axu4ev rtconfig after config refresh

* [bsp][rk3500] Update rk3500 clock configuration

* [bsp][hpmicro] Add rt_hw_us_delay hook and update board delays

* [bsp][stm32l496-st-nucleo] enable clock_time for hwtimer sample in ci

* [bsp][hpmicro] Fix rtconfig include scope for hpm6750evk

Move rtconfig.h include outside the ENET_MULTIPLE_PORT guard for hpm6750evk and hpm6750evk2 so configuration macros are available regardless of ENET settings.

* [bsp][raspi3] select clock time for systimer

* [bsp][hpm5300evk] Trim trailing blank line

* [bsp][hpm5301evklite] Trim trailing blank line

* [bsp][hpm5e00evk] Trim trailing blank line

* [bsp][hpm6200evk] Trim trailing blank line

* [bsp][hpm6300evk] Trim trailing blank line

* [bsp][hpm6750evk] Trim trailing blank line

* [bsp][hpm6750evk2] Trim trailing blank line

* [bsp][hpm6750evkmini] Trim trailing blank line

* [bsp][hpm6800evk] Trim trailing blank line

* [bsp][hpm6e00evk] Trim trailing blank line

* [bsp][nxp] switch lpc178x to gcc and remove mcx timer source

* [bsp][stm32] fix the CONFIG_RT_USING_CLOCK_TIME issue.

* [docs][clock_time] add clock time documentation

* [docs][clock_time] Update clock time subsystem documentation

- Update device driver index to use correct page reference
- Clarify upper layer responsibilities in architecture overview
- Update README to describe POSIX/libc, Soft RTC, and device driver usage
- Refine architecture diagram with improved layout and color scheme
- Remove obsolete clock_timer.md file

* [kernel][utest] Trim trailing space

* [clock_time] Fix hrtimer wrap handling

* [clock_time] fix the static rt_inline issue

* [clock_time] fix the rt_clock_hrtimer_control result issue
2026-01-31 17:44:27 +08:00
CYFS
c374aa2b19 [bsp][nxp]:fix mcxa346 ci err 2026-01-28 13:54:16 +08:00
dongly
f556099146 [bsp] fix rtconfig.py SyntaxWarning 2026-01-21 15:21:34 +08:00
PeakRacing
306505ea24 update:更新维护者信息 2026-01-20 13:27:42 +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
DaiLingxiang
9bf3a54191 bsp/stm32f407-micu:add aht20,icm20608,ssd1306 support 2026-01-15 23:31:35 -05: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
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
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
Dailingxiang1
c39e92f4c1 add i2c,timer,pwm support
revise the README.md
2025-12-27 11:58:46 +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
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
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
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
Eric Chan
99a25459cd fix: resolve QSPI compilation error and add CI guard for stm32l475-atk-pandora
- Fix function pointer type mismatch between drv_qspi.h and rt_qspi_device
- Add qspi-flash.attach file for CI compilation guard
- Optimize code with macros and inline adapter
- Include all related bug fixes and configuration updates

Fixes: #11036
2025-12-17 10:05:35 +08:00
Yaochenger
35bae6824b [add] add gd32w553h-eval bsp 2025-12-15 15:23:01 +08:00
GuEe-GUI
b61f8b410b [finsh][cmd] add 'console' command to config console
Signed-off-by: GuEe-GUI <2991707448@qq.com>
2025-12-15 12:51:30 +08:00
Siwei Xu
b75828f079 [bsp][nxp][imx] Add FRDM-i.MX91 bsp #10570 2025-12-12 13:42:35 +08:00
Tm-C-mT
acef64ed2a [libcpu-riscv]: [surpport SMP]: Add SMP support for qemu-virt64-riscv
1.Add the necessary function declarations for SMP enablement and implement the corresponding
functionalities, including rt_hw_secondary_cpu_up, secondary_cpu_entry, rt_hw_local_irq_disable,
rt_hw_local_irq_enable, rt_hw_secondary_cpu_idle_exec, rt_hw_spin_lock_init, rt_hw_spin_lock,
rt_hw_spin_unlock, rt_hw_ipi_send, rt_hw_interrupt_set_priority, rt_hw_interrupt_get_priority,
rt_hw_ipi_init, rt_hw_ipi_handler_install, and rt_hw_ipi_handler.

2.In the two functions (rt_hw_context_switch_to and rt_hw_context_switch) in context_gcc.S,
add a call to rt_cpus_lock_status_restore to update the scheduler information.

3.If the MMU is enabled, use the .percpu section and record different hartids by configuring
special page tables; if the MMU is not enabled, record them directly in the satp register.
Additionally, add dynamic startup based on core configuration.The .percpu section is only used
when both ARCH_MM_MMU and RT_USING_SMP are enabled. However, there is a certain amount of space
waste since no macro guard is added for it in the link script currently.

4.The physical memory of QEMU started in CI is 128MB, so RT_HW_PAGE_END is modified from the
original +256MB to +128MB. Modify the SConscript file under the common64 directory to include
common/atomic_riscv.c in the compilation process.

Signed-off-by: Mengchen Teng <teng_mengchen@163.com>
2025-12-04 15:42:09 +08:00
yans
0ea9d8f3be [bsp][renesas] Add ra8p1-titan-board BSP. 2025-12-03 21:44:51 +08:00
yans
99e78544f4 [bsp/renesas][drivers] Added adaptation for ra8p1. 2025-12-03 21:44:51 +08:00
CYFS
db9ee0cd9f [bsp][stm32]:remove duplicated header includes for drv_stdio.h 2025-12-01 21:53:00 +08:00
godmial
2fb53c83c5 [bsp][spi flash]: 优化GD32F470 SPI Flash初始化和UART0配置 (#10983)
* feat(gd32): 优化GD32F470 SPI Flash初始化和UART0配置

主要修改:
1. SPI Flash初始化优化
   - 添加可配置的SPI Flash自动初始化选项(BSP_USING_SPI_FLASH)
   - 支持按SPI总线独立配置Flash初始化(BSP_USING_SPIx_FLASH)
   - 避免SPI Flash初始化与其他SPI设备(如OLED、WIFI)冲突
   - 添加SPI5 Flash支持
   - 修改drv_spi_flash.c,仅在明确配置的SPI总线上初始化Flash

2. UART0配置修复
   - 将UART0的AFIO默认值从AF1改为AF7
   - 修复串口无响应问题

这些修改使得用户可以更灵活地配置SPI Flash初始化,避免自动初始化导致的设备冲突问题。

* feat(gd32): 解耦SPI Flash与SFUD的依赖关系
2025-12-01 14:47:53 +08:00
CYFS
5c20c4f8db [bsp][hpm]:fix scons --dist 2025-11-30 12:57:38 +08:00
kurisaw
5706c5ef4d [gd32/arm][bsp]: synchronous kconfig update 2025-11-26 21:42:29 +08:00
kurisaw
98b9ecdba6 [gd32/arm][drivers]: general GD serial driver adapter 2025-11-26 21:42:29 +08:00
kurisaw
d32ed6a4af [gd32/arm][drivers]: add support for the H7 series and optimize the GPIO driver 2025-11-26 21:42:29 +08:00
Ze-Hou
d3e26999ce bsp: k230: add dma support to the i2c driver
1. add dma support to the I2C driver to improve efficiency.

Signed-off-by: Ze-Hou <yingkezhou@qq.com>
2025-11-25 22:12:24 +08:00
wdfk-prog
0a02fd4545 docs:[STM32][drv_gpio] Add detailed Doxygen comments for GET_PIN macro 2025-11-22 10:11:38 +08:00
wdfk-prog
836eecc2f9 fix:[STM32][drv_can] Suppress unused variable warning in send error path 2025-11-22 10:11:38 +08:00
Chuan
ae2a5758bc bsp: k230: add spi driver
Requirement: The BSP for the k230 platform in the RT-Thread repository does not yet have an spi driver.

Solution: Provide spi driver for the k230 platform in the RT-Thread repository.

- Supports SPI0(OSPI) controller with 1/2/4/8 data lines.
- Supports SPI1(QSPI0) and SPI2(QSPI1) controllers with 1/2/4 data lines.
- Implements DMA-based transfers for OSPI, QSPI, and DSPI modes.
- Falls back to standard IRQ-driven transfers for legacy SPI mode (single line).
- Updates documentation in bsp/README.md

Signed-off-by: ChuanN-sudo <fjchuanil@gmail.com>
2025-11-16 11:37:32 +08:00
MuChenger
8286196d9f [bsp/xuantie][fix] 修正Bsp Kconfig配置 2025-11-13 18:44:24 +08:00
wdfk-prog
ec27e09df8 feat:[stm32][can]: enhance control logic and refactor sendmsg 2025-11-13 15:31:05 +08:00
westcity-YOLO
32d2cf17c7 clang format ignore migration 2025-11-13 10:33:25 +08:00
R b b666
0d78fa460e [BSP][Documentation] Add comprehensive BSP driver support summary table (#10925)
* List of RT-Thread BSP Support Additions.
2025-11-13 09:55:13 +08:00
Dailingxiang1
11a2f7eac6 bsp: add stm32f407-micu support
Update bsp/stm32/stm32f407-micu/rtconfig.py

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

Update bsp/stm32/stm32f407-micu/rtconfig.h

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

Update bsp/stm32/stm32f407-micu/project.uvproj

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

Update bsp/stm32/stm32f407-micu/project.uvproj

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

Update bsp/stm32/stm32f407-micu/board/board.h

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

add ci

Delete bsp/stm32/stm32f407-micu/project.uvgui.dlx

	modified:   MAINTAINERS
	deleted:    bsp/stm32/stm32f407-micu/figures/board.png.png
	deleted:    bsp/stm32/stm32f407-micu/project.uvopt
	modified:   bsp/stm32/stm32f407-micu/project.uvoptx
	modified:   bsp/stm32/stm32f407-micu/project.uvprojx
2025-11-11 12:35:33 +08:00
RyanCW
6e184553d1 [bsp][gd32] 串口 tx buf应该可以设置为0 (#10908) 2025-11-08 10:39:25 +08:00
CYFS
cbe9f5d82c fix:stm32 can build error (#10909) 2025-11-08 10:38:42 +08:00
Copilot
c631b39317 [Components] Remove vbus component and realview-a8-vmm libcpu (#10863)
* Initial plan

* Remove vbus component and related code

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>
2025-11-07 17:03:05 +08:00
Pcb-yun
96a125ca41 [bsp] [stm32] 添加鹿小班STM32H723开发板的BSP (#10842)
* [bsp] [stm32] 添加鹿小班STM32H723开发板的BSP

* fix(bsp): 修正链接脚本中的拼写错误并启用环境变量配置

修复链接脚本中'excetion'拼写错误为'execution'
启用rtconfig.py中的环境变量配置选项

* fix(bsp): 重新添加开发板IAR、GCC链接脚本

链接脚本中包含了所有寄存器,除flash与主sarm外其余寄存器已注释

* refactor(bsp): 移除冗余的SOC_STM32H723ZGT6配置选项
2025-11-07 17:01:51 +08:00
thomax2
2e1cf8d981 utilize the clang-format-ignore mechanism in bsp/nxp 2025-11-07 17:00:33 +08:00