Commit Graph

17944 Commits

Author SHA1 Message Date
copilot-swe-agent[bot] 7ccb5cbced
chore: align getaddrinfo hints copy flow 2026-06-09 06:57:25 +00:00
copilot-swe-agent[bot] c7ff65ca6e
chore: simplify getaddrinfo user copy checks 2026-06-09 06:56:37 +00:00
copilot-swe-agent[bot] f8866f57a7
chore: tighten getaddrinfo user checks 2026-06-09 06:55:42 +00:00
copilot-swe-agent[bot] 1cf0530745
chore: clarify getaddrinfo user pointer handling 2026-06-09 06:54:39 +00:00
copilot-swe-agent[bot] fb72c2aa26
chore: refine getaddrinfo validation locals 2026-06-09 06:53:21 +00:00
copilot-swe-agent[bot] cf03fb3322
fix: validate nested getaddrinfo user pointers 2026-06-09 06:51:59 +00:00
copilot-swe-agent[bot] ea467324b2
Initial plan 2026-06-09 06:44:21 +00:00
CYFS 9ed61540ac [bsp][nxp]: remove duplicate imxrt sdk inclusion 2026-06-08 15:41:14 +08:00
CYFS 8e6718a611 [bsp][nxp][lpc]: rename Libraries to libraries 2026-06-08 15:22:45 +08:00
CYFS e219bfa136 [bsp][raspberry-pico]: adjust file structure 2026-06-08 15:22:45 +08:00
CYFS baed882d37 [feat][soft_i2c]:change soft i2c default bus name 2026-06-08 15:13:11 +08:00
GuEe-GUI 63965cb103 [bsp][zynqmp-a53-dfzu2eg] enable full dm
This is a builtin fdt example BSP

Signed-off-by: GuEe-GUI <2991707448@qq.com>
2026-06-08 14:57:37 +08:00
nino ba3dcd5522 [BSP][NS800RT7P65] Add ADC driver support 2026-06-08 09:43:40 +08:00
CYFS 75246b56d5 ci: tighten BSP build failure detection 2026-06-05 14:41:51 +08:00
Rbb666 3932b77c64 [action]补充BSP的Labeler 2026-06-05 13:50:39 +08:00
haitao-zhang 38ac0718ec
[BSP] [NS800RT7P65]Feature/optimize ns800 uart Drive (#11423)
[ns800] Option Uart Kconfig, and Resolve the issue of data loss in serial communication at low baud rates.
2026-06-03 11:28:22 +08:00
rcitach 196a6f44cd
[BSP][NS800RT7P65] Add SPI functionality (#11427)
* 添加 SPI 功能

* 默认不开启SPI

* 添加SPI驱动编译看护

* 解决冲突文件
2026-06-03 11:16:01 +08:00
Eric 99dcb22f71
[bsp][Novosense] optimize ECAP driver 2026-06-03 11:07:47 +08:00
CYFS f7a69863cb Fix BSP dist packaging 2026-06-02 18:06:01 +08:00
CYFS c577400ca7 [feat][ci]: verify bsp dist build 2026-06-02 18:06:01 +08:00
蒙蒙plus b1d51b4964 fix IAR build error 2026-06-02 18:05:02 +08:00
Evlers 2e4f500b14 [components][drivers][usb] add the missing file and fix build error for cherryusb 2026-06-02 17:41:34 +08:00
ShaquilleLiu c6eb181a1f
[novosns][ns800][drivers] 增加 TIM 硬件定时器支持#11395 2026-06-02 11:55:50 +08:00
rcitach 88f3f9c692 Remove Keil AC5 feature support 2026-06-02 11:54:19 +08:00
GuEe-GUI cfda3b3d1a [docs] device-driver: add DM subsystem docs and expand INDEX
Add Doxygen pages for RT-Thread device-model drivers: platform/OFW,
DM core (bus, dm, power), clk/regulator/reset/power-domain, PCI/PIC,
Phye, DMA/hwcache, block/SCSI/ATA/NVMe/UFS/SDIO, SCMI, RPMsg,
mailbox, NVMem, NUMA, syscon, thermal, input/LED/IIO/graphic, and
related power/charger/supply docs.
Expand device-driver INDEX.md with ~90 @subpage entries so all new
pages appear in the driver chapter navigation.
Update existing UART/SPI/RTC/pin/framework/dtc pages: UART docs moved
from serial/ to uart/ (uart + uart_dm + uart_earlycon); SPI and RTC
gain DM companion pages; pin links to pin_dm; framework points at DM
topics.
Focus on registration/probe flow and in-tree APIs; no standalone
VirtIO subsystem page (transport code still incomplete).
Test plan: build Doxygen for documentation/ and verify device-driver
INDEX links resolve without missing @ref/@subpage warnings.

Signed-off-by: GuEe-GUI <2991707448@qq.com>
2026-05-28 16:09:55 +08:00
CYFS 633a963007 [bsp][mm32]:feat reorganize BSPs and drivers 2026-05-28 09:46:31 +08:00
CYFS 7a4ac8436e [bsp][esp]:fix esp32_c3 ci err 2026-05-27 14:17:42 +08:00
CYFS 689e268603 [bsp][esp32]: reorganize ESP32C3 BSP layout 2026-05-26 22:16:11 +08:00
yang.zhang d4f4c50b9e lwp: fix pid leak on exec failure before task startup
When msh tries to execute a non-ELF path, lwp_execve() may allocate a PID
before lwp_load() fails. The old error path only dropped the LWP reference,
leaving the PID tree entry pointing to a freed LWP.

In an init-less boot flow, this can poison pid 1 after a failed command from
msh. A later LWP launch may then treat the stale pid 1 entry as a valid parent
LWP, resulting in invalid pgrp/session state and a job-control assertion during
process exit.

Add lwp_pid_rollback() for exec/spawn failures before the process becomes
runnable. Unlike lwp_pid_put(), it always releases the PID lock and does not
enter the "no more pid allocation" state when the PID tree becomes empty.

Use the rollback helper in lwp_execve() failure paths after PID allocation.

Signed-off-by: zhangyang <gaoshanliukou@163.com>
2026-05-26 16:56:36 +08:00
langqwu 208a09e074 为posix_signal.c文件中的signal函数进行注释 2026-05-26 14:01:02 +08:00
nxp-ran 96f247170d
[bsp][nxp] support imxrt1180-evk board#11393 2026-05-25 19:23:45 +08:00
orbisai0security 49f985e0f6 fix: V-001 security vulnerability
Automated security fix generated by Orbis Security AI
2026-05-25 10:15:11 +08:00
atxhua 479acdb47e Add picolib support to bsp/x86, default to newlib
- add i686-atxhua-picolib-elf-gcc toolchain
    - add picolib option to bsp/x86
    - add necessary picolib require library
2026-05-25 09:51:06 +08:00
CYFS 0b2e35ab93 [bsp][stm32]:Fix dependencies in ARDUINO 2026-05-25 09:33:36 +08:00
Evlers e583b6c774 [lwip][ppp]: replace strncpy with rt_strncpy 2026-05-24 12:06:38 +08:00
Evlers c191ad8cd4 [lwip][ppp]: fix the risk of name member contamination in the ppp netif 2026-05-24 12:06:38 +08:00
guozhanxin 047ab1eca4 [bsp][stm32]完善星火1号链接脚本 2026-05-24 10:35:56 +08:00
guozhanxin ffb509a424 fix[tool]zigbuild: 适配Zig 0.14+版本的构建脚本变更
新增Zig版本检测逻辑,根据当前Zig版本切换兼容的构建配置:
0.14及以上版本使用新的模块构建API,
低于0.14版本保留原有构建逻辑
2026-05-24 10:35:56 +08:00
rcitach f6cb95b5b4
[bsp][rdk s100] Add the RDC S100 BSP (#11406)
* 添加 rdk_s100 bsp

* 添加 CI 看护
2026-05-20 15:42:17 +08:00
Evlers 3345bbc423
fix(lwip): fix build error with PPP enabled#11403 2026-05-20 14:25:06 +08:00
wdfk-prog 3fa50a4b33 fix[STM32][SPI]: preload receive-only dummy buffer
preload the actual HAL receive buffer with 0xFF for receive-only transfers
rename spi_dma_flag to spi_xfer_flags to match DMA and interrupt flags
clarify SPI async completion and transfer-mode comments
add Doxygen comments for STM32 SPI runtime structures and handlers
2026-05-20 10:42:56 +08:00
wdfk-prog bdcaf2ad56 fix[STM32][SPI]: ignore benign Tx-only OVR after async completion 2026-05-20 10:42:56 +08:00
wdfk-prog 415f924c5f feat[STM32][SPI]: add interrupt transfer scaffolding for spi driver
introduce interrupt transfer route selection and SPI IRQ visibility macros
unify DMA and INT completion handling with timeout-triggered abort recovery
keep short transfers on polling and use DMA or INT only when eligible
refine STM32 SPI init and IRQ registration paths for mixed transfer backends
2026-05-20 10:42:56 +08:00
wdfk-prog e37e3107f4 feat[STM32][SPI]: refine dma config hierarchy for hard spi
refine the stm32 hard spi dma configuration hierarchy with shared feature macros

align dma flag usage with rt-device dma flags and gate dma-only fields and paths

make the dma transfer threshold configurable through BSP_SPI_DMA_TRANS_MIN_LEN
2026-05-20 10:42:56 +08:00
Runcheng Lu ec9eaadf85 [fix] components: serial_v2: preserve RT_DEVICE_FLAG_STREAM when reopening serial device
- The serial_fops_open function closes and reopens the serial device,but the RT_DEVICE_FLAG_STREAM flag was not preserved across the close/open cycle. This change saves the STREAM flag before close and restores it during reopen to ensure consistent behavior.

Signed-off-by: Runcheng Lu <runcheng.lu@hpmicro.com>
2026-05-20 10:05:02 +08:00
Evlers ad205d2bf3 [libcpu][arm][cortex-m33] allows rewrite to interrupt enable/disable api to support independent interrupts management 2026-05-19 16:34:34 +08:00
kaidegit c96fc44ba3 style: format code with clang-format [skip ci] 2026-05-19 13:12:21 +08:00
kaidegit b57c80f06f [drivers][serial/v2] fix missing break after -RT_EPERM when buf size is 0
When rx_bufsz or tx_bufsz is 0, the driver returns -RT_EPERM but falls
through to RT_ASSERT(rx_fifo/tx_fifo != RT_NULL). Since serial_rx/serial_tx
is NULL in non-buffered mode, this triggers an assertion failure.

Add break after setting ret = -RT_EPERM in the four affected cases:
- RT_SERIAL_CTRL_SET_RX_TIMEOUT
- RT_SERIAL_CTRL_SET_TX_TIMEOUT
- RT_SERIAL_CTRL_GET_RX_TIMEOUT
- RT_SERIAL_CTRL_GET_TX_TIMEOUT
2026-05-19 13:12:21 +08:00
wdfk-prog 4ec8373caa feat(kernel): Check interrupt-disabled context in RT_DEBUG_SCHEDULER_AVAILABLE 2026-05-19 09:36:16 +08:00
CYFS 630f4fa7a3 [tools]: reject unicode dash options 2026-05-16 21:52:06 +08:00