Commit Graph
7985 Commits
Author SHA1 Message Date
GUI 19e9be8779 [dm][ufs] fixup the ufs supported (#11646)
* [dm][block] add 4K support for EFI partion

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

* [dm][ufs] fixup the linkup flow

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

* style: format code with clang-format

* style: format complete changed files with clang-format

* drivers: address UFS review feedback

---------

Signed-off-by: GuEe-GUI <2991707448@qq.com>
2026-08-07 16:54:29 +08:00
rcitach 71fd997662 RA6W1基础BSP内容 2026-08-05 14:52:20 +08:00
Old-Ding b26ae7d8d9 bsp: Use raw regex strings in upgrade tools
Python warns about invalid escape sequences in the heap update regex patterns. Mark the patterns as raw strings so the regex values stay unchanged without relying on invalid Python escapes.

Generated-by: OpenAI Codex
Signed-off-by: Old-Ding <35417409+Old-Ding@users.noreply.github.com>
2026-07-27 17:52:19 +08:00
CYFS3 b1cd917f9a bsp: rename Libraries directories to lowercase 2026-07-27 13:17:02 +08:00
CYFS 17712f5e5f bsp: support RA8P1 Titan dual-core projects 2026-07-27 13:15:58 +08:00
CYFS 03ecbdd823 bsp: fix RA8P1 Titan Keil startup 2026-07-27 13:15:58 +08:00
Onlyou_tzZandOnlyoutzZ f08217a883 [bsp/n32]n32h760zil7-stb bsp修复完善,添加 n32h497zgl7-evb和n32h487zgl7-evb bsp (#11627)
1、修改n32\n32gxx_lxx\n32g4frml-stb中的GCC启动文件bl entry
2、修复完善n32h760zil7-stb bsp,支持GCC环境、支持更多外设
3、添加n32h487zgl7-evb初版BSP
4、添加n32h497zgl7-evb初版BSP
5、删除n32g452xx这个bsp

---------

Co-authored-by: OnlyoutzZ <OnlyoutzZ+github[bot]@noreply.github.com>
2026-07-22 17:06:34 +08:00
CYFS 622c55248c bsp: raspberry-pico: fix SDK sub-build invocation 2026-07-22 13:47:46 +08:00
CYFS bb85278748 [bsp] Fix HC32 and HT32 variant builds 2026-07-22 13:32:41 +08:00
CYFS 55cf9cd3fa [bsp] Place SConscript outputs under build directories 2026-07-22 13:32:41 +08:00
Just Chenandmoment-NEW 9657b3ce10 [bsp][drives]fix(spi_config):修复H7的SPI6配置缺失问题 (#11633)
* [bsp][drives]fix(spi_config):修复H7的SPI6配置缺失问题

* style: format code with clang-format [skip ci]

* [bsp][stm32]refactor:(spi_config):去除尚不支持的DMA相关配置

* [bsp][stm32]refactor(spi_config):格式化SPI_CONFIG.H

---------

Co-authored-by: moment-NEW <moment-NEW+github[bot]@noreply.github.com>
2026-07-21 11:58:33 +08:00
CYFS 1fa451feea [bsp][nxp]:keep imxrt1180 mini bsp#11629 2026-07-20 17:34:08 +08:00
CYFS 25212f3745 fix: name anonymous Kconfig choices 2026-07-20 13:05:46 +08:00
CYFS 0e0f403cc1 bsp: fix GD32VW55x lwIP mem ownership 2026-07-20 12:01:32 +08:00
Old-Ding df959080fc bsp: zynqmp-r5: Fix IGMP multicast range check
Reject IPv4 addresses outside 224.0.0.0/4 before updating the multicast MAC hash. The previous condition used AND, so it could never reject a non-multicast first octet.

Generated-by: OpenAI Codex
Signed-off-by: Old-Ding <35417409+Old-Ding@users.noreply.github.com>
2026-07-20 10:21:31 +08:00
Old-Ding 858433a0a1 bsp: fm33lc026: Fix GPIO IRQ map lookup
Keep pin2irqindex within the pin_irq_map bounds and handle the first map entry without reading index -1. Pass encoded pin values to the IRQ map lookup path, and validate the lookup result before indexing the map.

Generated-by: OpenAI Codex
Signed-off-by: Old-Ding <35417409+Old-Ding@users.noreply.github.com>
2026-07-20 10:20:33 +08:00
shannon2000 247f540f6b [bsp][nxp]support imxrt1180-evk board gpio and LPUART, Serial V2, DMA (V2) (#11489)
* support gpio and LPUART, Serial V2, DMA (V2)

* remove unused ci comment workflows

* fix: correct YAML indentation on line 12 in ci workflow files

* [bsp][nxp]support imxrt1180-evk board gpio and LPUART, Serial V2, DMA V2

* fix: address review feedback - revert CI/drv_uart.c/dev_serial.c, remove drv_uart_v2.h, use drv_uart.h instead

* revert: remove framework file changes per review feedback

* fix: remove unused variable 'value' in imxrt_pin_read

* fix: remove trailing whitespace in pin_mux.c
2026-07-20 09:08:53 +08:00
23c05e48a1 MCX A366 SLCD BSP driver support (#11608)
* SLCD BSP driver support

* style: format code with clang-format [skip ci]

* Update default for SLCD display configuration

Change default setting for onboard SLCD display to 'n'.

* add ci.attach for slcd

---------

Co-authored-by: yuplus <yuplus+github[bot]@noreply.github.com>
Co-authored-by: WANGYU <yuplus@126.com>
2026-07-17 16:29:30 +08:00
yuplus f827d1bc01 style: format code with clang-format [skip ci] 2026-07-17 15:03:04 +08:00
WANGYU c54a2d246b CANFD BSP driver support and ci.attach support 2026-07-17 15:03:04 +08:00
CYFS 5363e4ed4c [bsp][drivers][soft_spi] unify the software SPI driver 2026-07-17 09:41:51 +08:00
Jasontek f42337ba03 [bsp/nxp]imxrt1180 nxp evk lpadc&hyperflash#11529
ToolsCI / Tools (push) Canceled after 0s
RT-Thread BSP Static Build Check / 🔍 Summary of Git Diff Changes (push) Canceled after 0s
doc_doxygen / doxygen_doc generate (push) Canceled after 0s
MemBrowse Memory Report / load-targets (push) Canceled after 0s
pkgs_test / change (push) Canceled after 0s
utest_auto_run / A9 :components/dfs.cfg (push) Canceled after 0s
utest_auto_run / A9 :components/lwip.cfg (push) Canceled after 0s
utest_auto_run / A9 :components/netdev.cfg (push) Canceled after 0s
utest_auto_run / A9 :components/sal.cfg (push) Canceled after 0s
utest_auto_run / A9 :cpp11/cpp11.cfg (push) Canceled after 0s
utest_auto_run / AARCH64-rtsmart :default.cfg (push) Canceled after 0s
utest_auto_run / A9-rtsmart :default.cfg (push) Canceled after 0s
utest_auto_run / RISCV-rtsmart :default.cfg (push) Canceled after 0s
utest_auto_run / XUANTIE-rtsmart :default.cfg (push) Canceled after 0s
utest_auto_run / AARCH64 :default.cfg (push) Canceled after 0s
utest_auto_run / AARCH64-smp :default.cfg (push) Canceled after 0s
utest_auto_run / A9 :default.cfg (push) Canceled after 0s
utest_auto_run / A9-smp :default.cfg (push) Canceled after 0s
utest_auto_run / RISCV :default.cfg (push) Canceled after 0s
utest_auto_run / RISCV-smp :default.cfg (push) Canceled after 0s
utest_auto_run / A9 :kernel/atomic_c11.cfg (push) Canceled after 0s
utest_auto_run / RISCV :kernel/atomic_c11.cfg (push) Canceled after 0s
utest_auto_run / A9-rtsmart :kernel/ipc.cfg (push) Canceled after 0s
utest_auto_run / RISCV-rtsmart :kernel/ipc.cfg (push) Canceled after 0s
utest_auto_run / XUANTIE-rtsmart :kernel/ipc.cfg (push) Canceled after 0s
utest_auto_run / A9 :kernel/ipc.cfg (push) Canceled after 0s
utest_auto_run / A9-smp :kernel/ipc.cfg (push) Canceled after 0s
utest_auto_run / RISCV :kernel/ipc.cfg (push) Canceled after 0s
utest_auto_run / A9-rtsmart :kernel/kernel_basic.cfg (push) Canceled after 0s
utest_auto_run / RISCV-rtsmart :kernel/kernel_basic.cfg (push) Canceled after 0s
utest_auto_run / XUANTIE-rtsmart :kernel/kernel_basic.cfg (push) Canceled after 0s
utest_auto_run / A9 :kernel/kernel_basic.cfg (push) Canceled after 0s
utest_auto_run / A9-smp :kernel/kernel_basic.cfg (push) Canceled after 0s
utest_auto_run / RISCV :kernel/kernel_basic.cfg (push) Canceled after 0s
utest_auto_run / AARCH64-rtsmart :kernel/mem.cfg (push) Canceled after 0s
utest_auto_run / A9-rtsmart :kernel/mem.cfg (push) Canceled after 0s
utest_auto_run / RISCV-rtsmart :kernel/mem.cfg (push) Canceled after 0s
utest_auto_run / XUANTIE-rtsmart :kernel/mem.cfg (push) Canceled after 0s
utest_auto_run / AARCH64 :kernel/mem.cfg (push) Canceled after 0s
utest_auto_run / AARCH64-smp :kernel/mem.cfg (push) Canceled after 0s
utest_auto_run / A9 :kernel/mem.cfg (push) Canceled after 0s
utest_auto_run / A9-smp :kernel/mem.cfg (push) Canceled after 0s
utest_auto_run / RISCV :kernel/mem.cfg (push) Canceled after 0s
utest_auto_run / RISCV-smp :kernel/mem.cfg (push) Canceled after 0s
RT-Thread BSP Static Build Check / ${{ matrix.legs.RTT_BSP }} (push) Canceled after 0s
RT-Thread BSP Static Build Check / collect-artifacts (push) Canceled after 0s
doc_doxygen / deploy (push) Canceled after 0s
MemBrowse Memory Report / analyze (push) Canceled after 0s
MemBrowse Memory Report / mark-identical (push) Canceled after 0s
2026-07-16 15:13:49 +08:00
CYFS 414ff7f371 [bsp][drivers][soft_i2c] unify the software I2C driver 2026-07-16 13:19:57 +08:00
Leeto1970 aff47231e6 [HC32] Format files by newer clang-format.
RT-Thread BSP Static Build Check / 🔍 Summary of Git Diff Changes (push) Has been cancelled
RT-Thread BSP Static Build Check / ${{ matrix.legs.RTT_BSP }} (push) Has been cancelled
RT-Thread BSP Static Build Check / collect-artifacts (push) Has been cancelled
pkgs_test / change (push) Has been cancelled
ToolsCI / Tools (push) Has been cancelled
MemBrowse Memory Report / load-targets (push) Has been cancelled
MemBrowse Memory Report / analyze (push) Has been cancelled
MemBrowse Memory Report / mark-identical (push) Has been cancelled
2026-07-14 19:55:12 +08:00
Leeto1970 d513da02db [HC32] Add HC32F4A2/HC32F467 BSP support
- Add chip macro for driver
 - Modify 'IDLE_THREAD_STACK_SIZE' to 512
 - Modify 'HWTIMER' to 'CLOCK_TIMER'
 - Use 'clang-format' format driver and BSP code
 - Fix SPI clock division configuration
2026-07-14 19:55:12 +08:00
CYFS c96551a7dd [bsp][stm32]:update templates files 2026-07-14 14:45:24 +08:00
HonestQiao 2f992bdd4c [bsp][imxrt1180-nxp-evk]add I2C adapter support 2026-07-14 11:59:09 +08:00
CYFS d86e4d93ba [ci][format] Ignore BSP rtconfig.h files
RT-Thread BSP Static Build Check / 🔍 Summary of Git Diff Changes (push) Has been cancelled
RT-Thread BSP Static Build Check / ${{ matrix.legs.RTT_BSP }} (push) Has been cancelled
RT-Thread BSP Static Build Check / collect-artifacts (push) Has been cancelled
doc_doxygen / doxygen_doc generate (push) Has been cancelled
doc_doxygen / deploy (push) Has been cancelled
pkgs_test / change (push) Has been cancelled
utest_auto_run / A9 :components/dfs.cfg (push) Has been cancelled
utest_auto_run / A9 :components/lwip.cfg (push) Has been cancelled
utest_auto_run / A9 :components/netdev.cfg (push) Has been cancelled
utest_auto_run / A9 :components/sal.cfg (push) Has been cancelled
utest_auto_run / A9 :cpp11/cpp11.cfg (push) Has been cancelled
utest_auto_run / AARCH64-rtsmart :default.cfg (push) Has been cancelled
utest_auto_run / A9-rtsmart :default.cfg (push) Has been cancelled
utest_auto_run / RISCV-rtsmart :default.cfg (push) Has been cancelled
utest_auto_run / XUANTIE-rtsmart :default.cfg (push) Has been cancelled
utest_auto_run / AARCH64 :default.cfg (push) Has been cancelled
utest_auto_run / AARCH64-smp :default.cfg (push) Has been cancelled
utest_auto_run / A9 :default.cfg (push) Has been cancelled
utest_auto_run / A9-smp :default.cfg (push) Has been cancelled
utest_auto_run / RISCV :default.cfg (push) Has been cancelled
utest_auto_run / RISCV-smp :default.cfg (push) Has been cancelled
utest_auto_run / A9 :kernel/atomic_c11.cfg (push) Has been cancelled
utest_auto_run / RISCV :kernel/atomic_c11.cfg (push) Has been cancelled
utest_auto_run / A9-rtsmart :kernel/ipc.cfg (push) Has been cancelled
utest_auto_run / RISCV-rtsmart :kernel/ipc.cfg (push) Has been cancelled
utest_auto_run / XUANTIE-rtsmart :kernel/ipc.cfg (push) Has been cancelled
utest_auto_run / A9 :kernel/ipc.cfg (push) Has been cancelled
utest_auto_run / A9-smp :kernel/ipc.cfg (push) Has been cancelled
utest_auto_run / RISCV :kernel/ipc.cfg (push) Has been cancelled
utest_auto_run / A9-rtsmart :kernel/kernel_basic.cfg (push) Has been cancelled
utest_auto_run / RISCV-rtsmart :kernel/kernel_basic.cfg (push) Has been cancelled
utest_auto_run / XUANTIE-rtsmart :kernel/kernel_basic.cfg (push) Has been cancelled
utest_auto_run / A9 :kernel/kernel_basic.cfg (push) Has been cancelled
utest_auto_run / A9-smp :kernel/kernel_basic.cfg (push) Has been cancelled
utest_auto_run / RISCV :kernel/kernel_basic.cfg (push) Has been cancelled
utest_auto_run / AARCH64-rtsmart :kernel/mem.cfg (push) Has been cancelled
utest_auto_run / A9-rtsmart :kernel/mem.cfg (push) Has been cancelled
utest_auto_run / RISCV-rtsmart :kernel/mem.cfg (push) Has been cancelled
utest_auto_run / XUANTIE-rtsmart :kernel/mem.cfg (push) Has been cancelled
utest_auto_run / AARCH64 :kernel/mem.cfg (push) Has been cancelled
utest_auto_run / AARCH64-smp :kernel/mem.cfg (push) Has been cancelled
utest_auto_run / A9 :kernel/mem.cfg (push) Has been cancelled
utest_auto_run / A9-smp :kernel/mem.cfg (push) Has been cancelled
utest_auto_run / RISCV :kernel/mem.cfg (push) Has been cancelled
utest_auto_run / RISCV-smp :kernel/mem.cfg (push) Has been cancelled
ToolsCI / Tools (push) Has been cancelled
MemBrowse Memory Report / load-targets (push) Has been cancelled
MemBrowse Memory Report / analyze (push) Has been cancelled
MemBrowse Memory Report / mark-identical (push) Has been cancelled
2026-07-13 17:39:35 +08:00
HonestQiao 66d3070c80 [bsp][imxrt1180-nxp-evk]add TIMER support (#11511)
* [bsp][imxrt1180-nxp-evk]add TIMER support

* [bsp][imxrt1180-nxp-evk]update TIMER support

* [bsp][imxrt1180-nxp-evk] move fsl_gpt.c inclusion to SDK package SConscript

* [bsp][imxrt1180-nxp-evk] restore main.c to original Hello_World version

* [bsp][imxrt1180-nxp-evk] remove libraries/drivers/drv_timer.h

* [bsp][imxrt1180-nxp-evk]update TIMER support
2026-07-12 20:58:13 +08:00
CYFS b7eb6fb0e4 [ci][format] Use clang-format for format check#11582 2026-07-10 11:34:58 +08:00
CYFS dd7da0fd79 bsp: support env shared package paths 2026-07-09 17:29:51 +08:00
CYFS f12485a60e bsp: fix ra8p1 titan board keil build 2026-07-09 16:32:06 +08:00
CYFS 205c713b3c bsp: update renesas MDK5 projects
同步 Renesas BSP 的 MDK5 工程生成方式,移除对 RASC gpdsc/build hook 的依赖,并更新由 scons 生成的 Keil 工程。

已保留存在实际 via 文件的 BSP 配置,仅移除缺失 via 文件的引用。
2026-07-09 10:36:08 +08:00
Old-Ding ac6dc197a0 bsp: hpmicro: clear full ENET buffers
rt_hw_eth_init() clears ENET descriptor tables using element size times count, but the RX/TX data buffers used sizeof(size), which only covers the width of the size field.

Use the configured buffer count and size so the whole RX/TX buffer areas are initialized before handing them to the ENET descriptor configuration.

Make the Cppcheck intent explicit for the HPM placement macros and the LPI_CSR register read so the touched file passes static analysis.

Signed-off-by: Old-Ding <35417409+Old-Ding@users.noreply.github.com>
2026-07-08 14:03:58 +08:00
Old-Ding 9e2ab35e17 bsp: rockchip: Fix CAN-FD bit timing copy size
RT_CAN_CMD_SET_BITTIMING receives an array of struct rt_can_bit_timing entries. The Rockchip CAN-FD driver used sizeof(&timing->items[n]) when copying those entries, so only pointer-sized bytes were copied into the device configuration.

Use the element size so both arbitration and data phase timing structures are copied completely.

Generated-by: OpenAI Codex
Signed-off-by: Old-Ding <35417409+Old-Ding@users.noreply.github.com>
2026-07-08 14:02:42 +08:00
Old-Ding 1648becff8 bsp: ft2004: Clear full QSPI command pack
Reset the whole FQSpi_CmdPack object before reusing it in the QSPI debug commands. Using sizeof(&cmd_pack) only clears the pointer-sized prefix and can leave stale fields in the command pack.

Generated-by: OpenAI Codex
Signed-off-by: Old-Ding <35417409+Old-Ding@users.noreply.github.com>
2026-07-08 13:40:24 +08:00
Old-Ding 965fc8e992 bsp: nxp: Bound VGLite buffer reader access
Check the buffer limits before reading ptr[i] in bufferred_fgets(). Also guard CR/LF skipping against the available input bytes so reading a full buffer does not inspect one byte past the source.

Generated-by: OpenAI Codex
Signed-off-by: Old-Ding <35417409+Old-Ding@users.noreply.github.com>
2026-07-08 13:38:32 +08:00
Old-Ding d8a7e3eeb0 bsp: renesas: Fix LCD framebuffer bounds
The Renesas LCD helper treats LCD_WIDTH and LCD_HEIGHT as pixel counts. The framebuffer clear loop and lcd_draw_pixel() accepted those count values as valid indexes, which can write one pixel past the framebuffer.

Use strict bounds for the 0-based framebuffer indexes and adjust the 180-degree rotation mapping to target the last valid row and column.

Generated-by: OpenAI Codex
Signed-off-by: Old-Ding <35417409+Old-Ding@users.noreply.github.com>
2026-07-08 13:21:51 +08:00
wdfk-prog 937be2c97d feat[ADC]: 新增 ADC V2 驱动支持 (#11440)
* feat[ADC V2]: add ADC V2 driver support

add ADC V2 core APIs, session state management, and sequence read support
add STM32 ADC V2 HAL backend with internal-channel and VREF handling
add per-series STM32 ADC V2 default configuration headers
wire ADC V2 Kconfig and SConscript integration for components and STM32 BSP drivers
keep ADC V2 mutually exclusive with the legacy ADC driver path

* feat[ADC V2]: add ADC V2 MSH special channel read support

add generic ADC V2 MSH commands for probing, configuring, raw reads, voltage reads, and sequence reads
add STM32 ADC V2 backend special commands for VREFINT, temperature sensor, and VBAT reads
add STM32 helper APIs for special logical channels, sampling time, resolution, and temperature calculation
wire ADC V2 MSH sources through Kconfig and SConscript

* feat[ADC V2]: add ADC V2 stream DMA support

add ADC V2 stream APIs with latest-frame and FIFO buffering policies
wire STM32 ADC V2 to circular DMA stream mode with per-instance Kconfig options
extend STM32 ADC config headers and DMA helpers for stream DMA configuration
add FinSH stream commands for start, read, cancel, and stop operations
handle Cortex-M7 cache-safe DMA buffers for STM32 stream sampling

* feat[ADC V2]: add timer trigger support for ADC V2 streams

add ADC V2 trigger configuration, validation, and lifecycle coordination
add timer update trigger support through clock timer TRGO controls
map STM32 ADC V2 timer update triggers to HAL external trigger selector fields
add Kconfig, SConscript, and MSH entries for ADC trigger setup and inspection

* feat[ADCV2]: add timer and comparator trigger selectors

add ADC V2 timer compare and analog comparator trigger configuration support
extend clock timer trigger config with compare event and channel fields
wire STM32 ADC external trigger selector mappings for TIM update, TIM compare, and COMP output
add FinSH trigger_set commands and Kconfig switches for timer and comparator trigger backends

* fix[ADC V2]: resolve ADC V1 compatibility Kconfig loop

* ci[ADC V2][stm32]: add ADC v2 peripheral config for stm32f407-rt-spark BSP
2026-07-07 08:59:22 +08:00
Old-Ding 31e634376f bsp: renesas: Fix RA pin name digit checks
Validate the second and third digits of RA PXXX pin names against their own characters. The previous checks used name[1] for those upper bounds, so non-digit suffixes could pass validation.

Generated-by: OpenAI Codex
Signed-off-by: Old-Ding <35417409+Old-Ding@users.noreply.github.com>
2026-07-06 13:03:28 +08:00
Old-Ding 5882e6a127 docs: clarify STM32 BSP template usage 2026-07-05 16:01:03 +08:00
rcitach 313e159031 Fix the CAN driver bug 2026-07-05 16:00:12 +08:00
Old-Ding 2b75ff3463 [bsp][gd32] add PWM ci attach config 2026-07-05 15:52:24 +08:00
Old-Ding 8f54be877d [bsp][gd32] fix pwm enable channel check 2026-07-05 15:52:24 +08:00
CYFS e97530fea8 [components][spi] add utest cases 2026-07-04 16:45:24 +08:00
Old-Ding 224a841c9e [bsp][n32] fix USART2 remap macro 2026-07-03 09:22:58 +08:00
rcitach d875db8938 Refresh menuconfig to keep it as minimal as possible 2026-07-01 12:25:19 +08:00
rcitach a57d9ddb47 Improve the CAN driver 2026-07-01 12:25:19 +08:00
rcitach e1b3a192f6 Add RTC functionality 2026-07-01 12:25:19 +08:00
rcitach a9917f1572 Add NS800RT7 IIC Functionality 2026-07-01 12:25:19 +08:00