Commit Graph

17825 Commits

Author SHA1 Message Date
copilot-swe-agent[bot] f5c603d1c3
[finsh][shell] Drop unrelated generated BSP change
Agent-Logs-Url: https://github.com/RT-Thread/rt-thread/sessions/b514540d-90fa-4ac9-bb74-5c84dd939b40

Co-authored-by: BernardXiong <1241087+BernardXiong@users.noreply.github.com>
2026-04-01 13:55:24 +00:00
copilot-swe-agent[bot] 9a3f97a24d
[finsh][shell] Finalize prompt format-string fix
Agent-Logs-Url: https://github.com/RT-Thread/rt-thread/sessions/b514540d-90fa-4ac9-bb74-5c84dd939b40

Co-authored-by: BernardXiong <1241087+BernardXiong@users.noreply.github.com>
2026-04-01 13:54:10 +00:00
copilot-swe-agent[bot] 1d4b45954b
[finsh][shell] Avoid prompt format-string injection
Agent-Logs-Url: https://github.com/RT-Thread/rt-thread/sessions/b514540d-90fa-4ac9-bb74-5c84dd939b40

Co-authored-by: BernardXiong <1241087+BernardXiong@users.noreply.github.com>
2026-04-01 13:52:14 +00:00
copilot-swe-agent[bot] 8c7dbbb0a6
Initial plan 2026-04-01 13:42:27 +00:00
AFWEF_147 9c8b58f482 fix(lwp): reject wrapped user copy ranges 2026-04-01 10:11:37 +08:00
AFWEF_147 6fa12d5dd8 fix(ramfs): harden entry name validation and termination 2026-04-01 10:09:07 +08:00
AFWEF_147 c167bbbc7e fix(tmpfs): harden path component bounds and validation 2026-04-01 10:09:07 +08:00
Telecaster2147 c7122a46b4 style: format code with clang-format [skip ci] 2026-03-31 10:37:11 +08:00
AFWEF_147 7cd7e05ba4 fix(lwp): validate thread priority in sched syscalls 2026-03-31 10:37:11 +08:00
GuEe-GUI d65076d83d [bsp][rockchip] support RK3528
1. CLK for RK3528
2. Pinctrl for RK3528
3. hwrng for RK-RNG
4. OTP for RK3528
5. TSADC for RK3528

Signed-off-by: GuEe-GUI <2991707448@qq.com>
2026-03-31 10:36:42 +08:00
GuEe-GUI e41c7ccf88 [dm][clk][rockchip] fixup rockchip clk
Signed-off-by: GuEe-GUI <2991707448@qq.com>
2026-03-24 22:56:54 +08:00
takuya60 25295501c0
[bsp][stm32/fdcan]修复CAN-FD发送/接收问题并新增5Mbps ISO CAN-FD数据相位速率支持 2026-03-22 12:02:04 +08:00
kurisaw 4ca97e50dd [ci][format] fix the issue of CLA verification interception 2026-03-20 17:57:25 +08:00
sourcecodereviewer f78bef1207 fix(ci): prevent expression injection in pr_format_bot.yml
Move user-controlled GitHub Actions context expressions
(github.event.pull_request.head.ref, head.repo.full_name,
pull_request.number, event.action) from direct interpolation
in run: blocks to env: variables.

Direct interpolation of these values in shell scripts allows
attackers to inject arbitrary commands via crafted branch names
under pull_request_target, which runs in the base repo context.

Using env: variables ensures values are treated as literal
strings by the shell, preventing command injection.

Ref: https://securitylab.github.com/research/github-actions-untrusted-input/

Reported-by: Wilson Cyber Research (@sourcecodereviewer)
Security: expression-injection
2026-03-20 17:55:47 +08:00
shuta.lst 5d1747ac5d feat[bsp][xuantie]: c/r serial cpus support SMP; 2026-03-20 15:47:42 +08:00
shuta.lst fd2bae8a5e fix[components][finsh]: Fix for implicit declaration of function 'strtoul' in multi-core build; 2026-03-19 21:15:17 +08:00
cl2t c5c4281fcf [utest] Add standardized documentation blocks for mm and lwp test cases
Add functional description comment blocks to 5 test case files that
were missing them, following the format specified in issue #10895:
- mm/mm_memblock_tc.c: memory block management tests
- mm/rt_ioremap.c: I/O remap tests
- lwp/condvar_broadcast_tc.c: condition variable broadcast tests
- lwp/condvar_signal_tc.c: condition variable signal tests
- lwp/condvar_timedwait_tc.c: condition variable timed wait tests

Closes #10895 (partial)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-19 21:08:24 +08:00
GuEe-GUI 2b58dec87b [dm][block] fixup the EFI partition checked in 32bits
Link: https://github.com/RT-Thread/rt-thread/issues/11260

Signed-off-by: GuEe-GUI <2991707448@qq.com>
2026-03-18 21:43:22 +08:00
wdfk-prog 6a635e32d9 fix[stm32][spi]: add usage_freq and compute transfer timeout by frequency 2026-03-16 22:05:48 +08:00
wdfk-prog 012e301664 docs(kservice): Update the documentation comments of the fls function 2026-03-16 10:27:53 +08:00
wdfk-prog 05445c04e8 feat(core): Add 8-bit and 16-bit atomic operation support 2026-03-16 10:27:53 +08:00
wdfk-prog b7686b8d79 [libcpu][cortex-m7]Canonical alignment 2026-03-15 13:02:57 +08:00
wdfk-prog e10d364f4e feat[stm32][i2c]: Add H7 hard I2C config and I2C4 entries 2026-03-15 13:02:23 +08:00
yefeng a009110ca6 [bsp][gd32] fix gd32vw553h-eval board Kconfig syntax error 2026-03-15 13:01:47 +08:00
wdfk-prog cda0a63ab5 refactor(core): Move __rt_fls to kservice 2026-03-12 16:40:33 +08:00
wdfk-prog b0af22a96f feat[i2c]: add bus configuration and max-hz control 2026-03-12 15:15:02 +08:00
huangshuhua 4617729c4c [lwp/aarch64] Fix macro definition style in reloc.c
Split the merged #define macros on line 13 into separate lines to comply with coding standards and avoid potential preprocessor issues.
2026-03-12 14:39:13 +08:00
ZhangYiXiSucceed 12d04eb960
[bsp][gd32]:gd32vw553h-eval add wdt support (#11181)
* [bsp][gd32]:gd32vw553h-eval add wdt support

* [bsp][gd32]:gd32vw553h-eval refine wdt and modify ai review

* [bsp][gd32]:gd32vw553h-eval update code format

---------

Co-authored-by: Rbb666 <64397326+Rbb666@users.noreply.github.com>
2026-03-12 14:32:13 +08:00
kenneth.liu cffaa514e2 components: libc: fix reset static variable unsolved in dlmodule_load_shared_object
[Problem Description]
In the dlmodule_load_shared_object function,
if a module loading fails once due to an unresolved symbol,
all subsequent attempts to load any module will fail.
The system becomes unable to load modules correctly until a reboot.

[Problem Analysis]
The root cause is that the variable unsolved is defined as static.
Static variables retain their value between function calls.
If a relocation error occurs, unsolved is set to RT_TRUE.
However, when the function returns with an error, the value of unsolved is not reset.
Consequently, on the next function call, unsolved remains RT_TRUE from the previous execution.
This causes the check if (unsolved) to trigger immediately (or after the loop),
forcing the function to return an error regardless of whether the current module is valid or not.

[Solution]
Reset the unsolved variable to RT_FALSE before returning the error code -RT_ERROR.
This ensures the variable is in a clean state for the next function call, preventing state leakage between invocations.

Signed-off-by: Liu Gui <kenneth.liu@sophgo.com>
2026-03-12 13:59:15 +08:00
gta5zsk ec2182ee75
[bsp/gd32]Add GD32VW553H spi support (#11192)
* Add VW553H spi support

* Fix Some Issues
2026-03-11 09:49:38 +08:00
杨熙 c5c61db6fc
[nxp][mcx] add frdm-mcxa366 support (#11243)
* add frdm-mcxa366 support

* add frdm-mcxa366 bsp driver support

* add ALL_BSP_COMPILE.json

* fix co-pliot issue

---------

Co-authored-by: nxp-alexyang <alex.yang@nxp.com>
2026-03-10 15:50:23 +08:00
wdfk-prog fe548e1505 docs(core): Add help description for RT_USING_THREADSAFE_PRINTF 2026-03-06 09:47:59 +08:00
POMIN bb1b52d469
bsp: [gd32] add GD32VW553 hw timer support. (#11157)
* bsp: [gd32] add GD32VW553 hw timer support.

* bsp: [gd32] add GD32VW553 hw timer config.
2026-03-04 18:08:34 +08:00
CYFS 737ae54878
[bsp][gd32]:gd32vw553h-eval add wifi support#11175 2026-03-04 18:07:10 +08:00
ShiHongChao 196477d753
[BSP][GD32]:增加GDF405RG芯片BSP (#11221)
* feat(bsp/gd32): 增加GDF405RG芯片BSP

* chore(bsp/gd32): 取消git对RTE目录的跟踪,并更新README中的BSP条目

* style(bsp/gd32): 修改格式
2026-03-04 13:34:12 +08:00
MuChenger 9a857ab364 [bsp/gd32] support adc driver for gd32vw553 2026-03-04 13:26:58 +08:00
ShiHongChao a10ac694e1
[BSP][GD32]: 修复硬件iic和pwm驱动的一些问题#11222 2026-03-02 10:33:27 +08:00
GuEe-GUI 566e74af83 [dm][pci] fixup the shift of class in probe
Signed-off-by: GuEe-GUI <2991707448@qq.com>
2026-03-02 09:37:07 +08:00
yans dc1c5b4ba3 [tool]Fix the issue where using the command "scons --target=eclipse" would rename the project name to "project". 2026-02-27 10:42:31 +08:00
wdfk-prog d8546a9a0f fix(ymodem): improve send read loop and unify session cleanup
- Accumulate short reads, mark finishing on EOF
- Track begin/end callback states and cleanup on error paths
- Add ACK handling with retry/error counting in send flow
2026-02-27 09:54:28 +08:00
wdfk-prog 71fd98e56d fix(serial): only apply CRLF translation in STREAM mode for poll tx 2026-02-27 09:54:28 +08:00
shuta.lst 643581be36 fix[bsp][ultrarisc]: Add RISC-V Standard Svpbmt Extension macro definition; 2026-02-26 17:26:47 +08:00
shuta.lst 315ec5baa7 fix[bsp][xuantie]: Add RISC-V Standard Svpbmt Extension macro definition; 2026-02-26 17:26:47 +08:00
shuta.lst 33f8aff9cf fix[libcpu][risc-v]:
- Implement _noncache() and _cache() function features;
 - Correct rt_hw_mmu_setup function for NORMAL_NOCACHE_MEM type property configuration;
 - Update C908/C906 PTE macro definition configuration;
2026-02-26 17:26:47 +08:00
shuta.lst 0dfc5f3262 feat[libcpu][t-head][c908]: Support RISC-V Standard Svpbmt Extension For C908; 2026-02-26 09:42:50 +08:00
Weixie Cui 7247a456e0 fix(finsh): dup / cause error
if src == '/', result in something lik 'dest//file'
2026-02-25 18:23:22 +08:00
goodnorning 4836853742
Feat/xuantie c908x #11219 2026-02-25 17:59:47 +08:00
Shaun ffcd1cb316 fix(drivers/ipc): correct rt_ringbuffer_peek to not consume data 2026-02-25 17:53:06 +08:00
MuChenger f610f18a3c [bsp/gd32] fix gd32vw553 bsp 2026-02-25 14:54:20 +08:00
Shaun 4a090fbd5b fix(klibc): fix incorrect %hh format output for values in [0x80, 0xff] 2026-02-25 10:51:53 +08:00