summaryrefslogtreecommitdiff
path: root/components
AgeCommit message (Collapse)Author
2026-07-20[pic][gicv3-its] fixup cleanup path removes list node after freeing itGuEe-GUI
Link: https://github.com/RT-Thread/rt-thread/issues/11604 Signed-off-by: GuEe-GUI <[email protected]>
2026-07-20[fix][tmpfs]修正 getdents 中文件类型错误的判断变量angryproton
2026-07-20net: lwip: fix mDNS test buffer fill sizeOld-Ding
Fill the mDNS domain name buffers with their array size instead of the size of the MDNS_DOMAIN_MAXLEN constant. This preserves the test intent of leaving different trailing bytes after equal names are encoded. Generated-by: OpenAI Codex Signed-off-by: Old-Ding <[email protected]>
2026-07-17[bsp][drivers][soft_spi] unify the software SPI driverCYFS
2026-07-16[bsp][drivers][soft_i2c] unify the software I2C driverCYFS
2026-07-15[fix][dfs] elmfat磁盘操作设备指针判空angryproton
2026-07-14sb_glue_nation.c中添加N32H49X和N32H7XX系列MCU的USBHS支持Onlyou_tzZ
2026-07-14[finsh][cmd] Merge duplicate RT_USING_CPU_USAGE_TRACER blocks in list_threadCheng Mingming
The RT_USING_CPU_USAGE_TRACER print block was duplicated identically in both the ARCH_CPU_STACK_GROWS_UPWARD and the normal branch of list_thread(). Both branches only differ in the stack usage line (which has no trailing newline), so move the single shared block after the #endif of the stack-growth conditional. No functional change.
2026-07-13[chg][dfs]Clean up comments in dfs_elm_free_vnode与非熊
Removed unnecessary comments from dfs_elm_free_vnode function.
2026-07-13[fix][dfs_elm] 修复关闭目录和释放vnode时的资源泄露angryproton
2026-07-13[fix][dfs] 修复elmfat挂载失败时的内存泄漏angryproton
2026-07-08drivers: pci: Fix endpoint MSI setupOld-Ding
rt_pci_ep_set_msi() checked the set_msix callback before calling set_msi. That rejects endpoint controllers that implement MSI without MSI-X, and can call through a NULL set_msi pointer when only MSI-X is provided. The same helper converts a requested MSI vector count into the log2 field passed to the controller. Stop after the first value large enough for the request so smaller requests are not widened by later loop iterations. Generated-by: OpenAI Codex Signed-off-by: Old-Ding <[email protected]>
2026-07-08drivers: pic: Fix PIRQ lookup upper boundOld-Ding
rt_pic_linear_irq() stores irq_nr as a count and assigns pic->pirqs to the first entry in that range. rt_pic_find_pirq() therefore must treat the upper bound as exclusive. The inclusive check could return pic->pirqs[irq_nr] when irq equals irq_start + irq_nr, which is one entry past the allocated range. Generated-by: OpenAI Codex Signed-off-by: Old-Ding <[email protected]>
2026-07-08drivers: fix fan53555 slew rate bounds checkOld-Ding
Valid slew_rates indices are 0 through RT_ARRAY_SIZE(slew_rates) - 1. The current check rejects only values greater than the table size, allowing slew_idx == RT_ARRAY_SIZE(slew_rates) to index one element past the table. Generated-by: OpenAI Codex Signed-off-by: Old-Ding <[email protected]>
2026-07-08components: finsh: check token bounds before accessOld-Ding
Move the command length checks before reading command buffers while parsing module, script, and LWP command names. This keeps commands without separators from reading one byte past the provided length. Generated-by: OpenAI Codex Signed-off-by: Old-Ding <[email protected]>
2026-07-08drivers: dac: Fix disable callback checkOld-Ding
_dac_control() checked the enabled callback before invoking disabled for RT_DAC_CMD_DISABLE. That can reject DAC drivers that provide a disable callback without enable, and can call through a NULL disabled callback when only enable is implemented. Check the disabled callback in the disable command path so the guard matches the operation being dispatched. Generated-by: OpenAI Codex Signed-off-by: Old-Ding <[email protected]>
2026-07-07rt-link: reject frame offset at frame limitOld-Ding
The receive sequence filter maps incoming data-frame sequence numbers to zero-based frame offsets. RT_LINK_FRAMES_MAX is the maximum number of split frames, so valid offsets are 0 through RT_LINK_FRAMES_MAX - 1. Reject offset == RT_LINK_FRAMES_MAX before frame handling instead of letting it reach long-frame assembly. Generated-by: OpenAI Codex Signed-off-by: Old-Ding <[email protected]>
2026-07-07[ci]:add armclang BSP build coverage (#11577)CYFS
* ci: add armclang BSP build coverage * components/libc: avoid armclang errno include recursion
2026-07-07feat[ADC]: 新增 ADC V2 驱动支持 (#11440)wdfk-prog
* 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-06components/usb: configure CDC VCOM stringsOld-Ding
2026-07-05lwip: fix trailing whitespace in TLS configOld-Ding
2026-07-05lwip: require TLS certificate verification when CA is configuredOld-Ding
2026-07-04[components][spi] add utest casesCYFS
2026-07-03components: fix serial v2 rx indicate setupOld-Ding
2026-07-01fix dfs statfs fullpath leakOld-Ding
2026-07-01fix pthread cond wait schedulingOld-Ding
2026-06-30[components][ulog] include stdlib.h for atoiOld-Ding
2026-06-30[dm][graphic] support ili9486 SPI LCD driverGuEe-GUI
Signed-off-by: GuEe-GUI <[email protected]>
2026-06-30[dm][graphic] fixup the simple framebuffer regulator checkGuEe-GUI
Signed-off-by: GuEe-GUI <[email protected]>
2026-06-29lwip: constrain ping address resolution to IPv4Old-Ding
2026-06-29[dm][ptp] support Precision Time Protocol (PTP) IEEE 1588 clockGuEe-GUI
Signed-off-by: GuEe-GUI <[email protected]>
2026-06-27feat[serial][v2]: add RX DMA event mode controlwdfk-prog
add serial v2 RX DMA event mode configuration for DMA-enabled builds support STM32 UART RX DMA half/full transfer interrupt policy selection validate RX DMA event mode before applying serial configuration restore serial configuration when backend configure fails
2026-06-23[utest] fix testcase init failure summaryCYFS
2026-06-23[bsp][rockchip] support DVFS for RockchipGuEe-GUI
The I2C will timeout in fan53555, fixed it. Signed-off-by: GuEe-GUI <[email protected]>
2026-06-23[dm][dvfs] support Dynamic Voltage and Frequency Scaling (DVFS)GuEe-GUI
1. Support DVFS and finsh cmd, there are 6 governors: - conservative - freedom - performance - powersave - schedutil 2. Support DVFS for SCMI. 3. Port the Cooling device for DVFS. 4. Port the PM with DVFS. Signed-off-by: GuEe-GUI <[email protected]>
2026-06-22[fix][dfsv1][elm]解决块设备扇区大小校验失败时存在的disk泄� ↵与非熊
��问题
2026-06-22[fix][elm]解决块设备扇区大小校验失败时存在的disk泄漏问题与非熊
2026-06-22[utest][pin] add pin loopback utest (#11445)CYFS
* [utest][pin] add pin loopback utest * [utest][pin] add BSP CI coverage * [utest][pin] fix BSP CI config * [utest][pin] fix ra8p1 utest link section
2026-06-21[bsp/rockchip]Add CI compilation checks for RK3500 BSP.Rbb666
2026-06-17fix: stabilize smp_bind_affinity_tc on SMP CIGuEe-GUI
This change fixes intermittent failures of the `core.smp_bind_affinity` utest across SMP CI targets. The original failure was a flaky assertion on unbound threads (`thread_inc[x] != thread_tic[x]` in thread_entry), not incorrect bind_cpu behavior. CI logs already showed T0 binding worked (thread_inc[0] == thread_tic[0] == 100) while the not_equal check failed. The root issue is that unbound-thread CPU placement is platform-dependent and outside the bind_cpu contract. On dual-core RISC-V/ARMv7 CI, an unbound thread may legitimately run all iterations on core 0 while T0 delays on the same core, so any assertion requiring cross-core migration (thread_inc != thread_tic, or core_mask with multiple bits) remains flaky. This patch narrows the test to what bind_affinity actually verifies: T0 bound to core 0 must always execute on core 0. Unbound threads only add scheduling pressure; their core_mask is printed for observation but not asserted. Changes: - Sample `rt_hw_cpu_id()` and update counters under `rt_sched_lock` to avoid migration skew between counting and CPU sampling. - Track `thread_core_mask` for diagnostics; assert only T0 binding via `thread_inc[0] == thread_tic[0]` and `thread_core_mask[0] == 1`. - Remove flaky unbound-thread assertions (`thread_inc != thread_tic` and multi-core core_mask checks). - Move T0 assertions to the main test thread after all workers finish. - Use atomic `finsh_flag`; reset counters and `threads[]` in `utest_tc_init`. - Spin in worker loops after `run_num` until cleanup deletes them (do not return from thread_entry or use `RT_WAITING_FOREVER` with `rt_thread_delay`). - Guard `rt_thread_delete` in cleanup with non-NULL checks. Signed-off-by: GuEe-GUI <[email protected]>
2026-06-16fix: move tty_ptmx regression test to utest frameworkOrbisAI Security
The previous commit placed the test in a new top-level tests/ directory that does not exist in the RT-Thread repo structure and used the external check library. Move the test to examples/utest/testcases/lwp/ and rewrite it using RT-Thread's native utest framework, add a Kconfig symbol (RT_UTEST_LWP_TTY_PTMX), and wire it into Kconfig.utestcases. Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
2026-06-16fix: V-004 security vulnerabilityorbisai0security
Automated security fix generated by OrbisAI Security
2026-06-16doc: add Doxygen comments to DMA driver subsystem #11477Guorui Li
2026-06-16Update fal_flash.cembedim
An extra argument has been removed. The log level has been changed INFO->ERROR
2026-06-15fix: with mismatched bound [-Warray-parameter=].maosql
2026-06-15[dm][audio] support Intel HDAGuEe-GUI
make DM import in audio easier Signed-off-by: GuEe-GUI <[email protected]>
2026-06-15[dm][virtio] update virtio dmGuEe-GUI
1. support RPMsg 2. support Sound 3. fixup virtio-blk free Signed-off-by: GuEe-GUI <[email protected]>
2026-06-15[bsp][qemu-virt64-aarch64] support full dmGuEe-GUI
Signed-off-by: GuEe-GUI <[email protected]>
2026-06-15[dm][firmware] support QEMU fw configGuEe-GUI
Signed-off-by: GuEe-GUI <[email protected]>
2026-06-15[dm][virtio] support virtio dmGuEe-GUI
1. version for v1.2 2. support packed queue 1. support MMIO/PCI over bus 2. new virtio queue api with dma/cpu sync 3. update for virtio device drivers: - net - block - console - input - gpu 4. new virtio device drivers: - 9p - crypto - rng - scmi - scsi Signed-off-by: GuEe-GUI <[email protected]>