Commit Graph

597 Commits

Author SHA1 Message Date
CYFS 9a12b2a7b9 [ci][issue] Fix external contributor assignment 2026-08-12 11:52:50 +08:00
CYFS 1edc46af3e
[ci][issue] Add issue automation workflows#11661 2026-07-28 13:14:17 +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 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
Michael Rogov Papernov c29b6db74c ci: report skipped membrowse targets as identical 2026-07-09 15:19:42 +08:00
CYFS ee43eeb685
[ci]:add armclang BSP build coverage (#11577)
* ci: add armclang BSP build coverage

* components/libc: avoid armclang errno include recursion
2026-07-07 11:52:14 +08:00
CYFS 64651f968a ci: optimize membrowse target filtering 2026-06-26 16:40:09 +08:00
CYFS c3c1672263 [feat][ci]: reduce duplicate HC32 attachconfig builds 2026-06-22 18:58:30 +08:00
CYFS bb4aace00f utest: move utestcases Kconfig to utest component
Signed-off-by: CYFS <2805686936@qq.com>
2026-06-12 14:22:53 +08:00
CYFS 103d4c1d92 utest: move lwp testcases to components/lwp
Signed-off-by: CYFS <2805686936@qq.com>
2026-06-12 14:22:53 +08:00
CYFS 75246b56d5 ci: tighten BSP build failure detection 2026-06-05 14:41:51 +08:00
CYFS c577400ca7 [feat][ci]: verify bsp dist build 2026-06-02 18:06:01 +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
guozhanxin ffb509a424 fix[tool]zigbuild: 适配Zig 0.14+版本的构建脚本变更
新增Zig版本检测逻辑,根据当前Zig版本切换兼容的构建配置:
0.14及以上版本使用新的模块构建API,
低于0.14版本保留原有构建逻辑
2026-05-24 10:35:56 +08:00
CYFS 630f4fa7a3 [tools]: reject unicode dash options 2026-05-16 21:52:06 +08:00
atxhua 8c5e36f525
Add X86 i686 gcc 15.2.0 (#11388)
* add i686 x86 newlib toolchain

* add missing x86 gcc option to manual_dist.yml

* fix typo
2026-05-12 15:00:32 +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
theqengineer 85b656b14d chore: fix typo in components and libcpu 2026-02-13 21:54:59 +08:00
vm22 97e1f014a1 cmake: make CPPDEFINES handling robust for SCons-generated values
[tools][cmake] fix type handling when generating CMake targets

[Root Cause]
Unexpected macro definition types during `scons --target=cmake`
could trigger a TypeError and abort CMakeLists.txt generation.

[Solution]
Add support for handling different macro definition types.

[Affect Area]
cmake.py

[Test Suggestion]
Run `scons --target=cmake` and verify CMakeLists.txt is generated
successfully with different macro definition formats.
2026-01-27 13:04:11 +08:00
ricky a68cc2e71a
[tool] tools/targets/vsc.py : improve compile_commands handling and w… (#11138)
[tool] tools/targets/vsc.py : improve compile_commands handling and workspace excludes
  - broaden source file extension detection to include C++ and asm
  - resolve compile_commands path to absolute and pass its directory to clangd
  - limit excludes scan to rt-thread/packages and always include board/linker_scripts
2026-01-19 11:31:00 +08:00
CYFS 96bce36533 [tools][cmake]:Fix the cmake creation error of scons 2026-01-06 16:47:43 +08:00
蒙蒙plus d9c74834b0 fix: 更换去重算法,保证工程输出一致性
便于 git管理
2026-01-01 22:57:49 -05:00
guozhanxin 6695599afc [tool] fixed scons --target=xmake 2025-11-23 22:31:56 +08:00
Yuqiang Wang ba509f92c2
[ci]: Introduce a regular inspection mechanism for abnormal CI reports (#10852) 2025-10-30 09:19:36 +08:00
kurisaw e2aed47b6c [format][version]: synchronize bsp version configuration 2025-10-23 22:06:51 +08:00
Chen Wang 06c5cc0846 utest: move entry from examples to utest
Change the entry of utest's Kconfig from
'examples/utest/testcases/Kconfig' to
'Kconfig.utestcases'.

Modified the build scripts where the path name
is "examples/utest/testcases/Kconfig" and changed
it to 'Kconfig.utestcases', otherwise build
operations such 'scons --dist' may fail.

In the future, the testcase source code of
utest will be placed in each module for
maintenance, but the entry of Kconfig will all
be placed in Kconfig.utestcases for unified
maintenance. In this way, when executing menuconfig,
people can enter and configure from one place,
avoiding searching for utest configuration switches
here and there in the menuconfig interface.

For each module, you can maintain unit-test
in a unified manner in the following way:
- Create a subdirectory named 'utest' in the
  directory where your module is located.
- Store the following files in the utest subdirectory:
  - Unit test case program source code files for this
    module.
  - Kconfig file, add configuration options for the
    unit test files of this module, the recommended
    option is named RT_UTEST_TC_USING_XXXX, XXXX is the
    global unique module name of this module.
  - SConscript file, note that when adding src files,
    in addition to relying on RT_UTEST_TC_USING_XXXX,
    you must also rely on RT_UTEST_USING_ALL_CASES, the
    two dependencies are in an "or" relationship. The
    role of RT_UTEST_USING_ALL_CASES is that once this
    option is turned on, all unit tests will be enabled
    to avoid selecting one by one.

After completing the above steps, add the path of the
Kconfig file of utest of this module to the
Kconfig.utestcases file.

Signed-off-by: Chen Wang <unicorn_wang@outlook.com>
2025-08-26 10:26:47 +08:00
Yaochenger f4e4188197
[xuantie/bsp] 修正生成玄铁CDK工程脚本并适配E906 BSP #10616 2025-08-19 09:41:30 +08:00
ThearchyHelios 6bb524eb31 Fix Darwin detection and URL 2025-08-10 11:33:33 +08:00
bernard fbdab95299 [Feature][Tools] Add support for package.json, refactor BuildPackage function to handle new format. 2025-08-07 09:32:45 +08:00
bernard 5c568f0280 [Tools] Update images 2025-08-07 09:32:45 +08:00
bernard a65efe648c [Tools] Add documents for tools script; Add NG for tools 2025-08-07 09:32:45 +08:00
蒙蒙plus 53fcd9d085
[tools]:修复iar添加宏不完全 (#10507)
[tools]:修复iar添加宏不完全
参考#10456
2025-07-15 13:33:40 +08:00
bernard e57605fa95 [tools] Optimize the file opening method. 2025-07-08 09:29:13 +08:00
bernard 0f478b6496 [tools] Add workspace generation for RT-Thread root directory. 2025-07-08 09:29:13 +08:00
bernard 1a07d6926b [tools] add vsc_workspace target in scons. 2025-07-08 09:29:13 +08:00
CYFS 492e33dd3c fix:buding_keil_CPPDEFINES 2025-07-04 21:00:22 +08:00
GuEe-GUI ad2de6e477 [TOOLS] Add DTC (Devicetree Compiler) tools
Signed-off-by: GuEe-GUI <2991707448@qq.com>
2025-06-30 09:42:39 +08:00
Bernard Xiong 5a2352eb64
[scons] code cleanup for scons script. (#10429)
* [scons] move project_generation to targets; code clean for building.py.
2025-06-25 15:06:45 +08:00
hydevcode 51b6df9c16
ci: Replace the judgment file modification mechanism of bsp_building.… (#10314)
ci: Replace the judgment file modification mechanism of bsp_building.yml and incorporate the PR status show into bsp_building.yml
2025-05-23 09:33:23 +08:00
冥焱破晓 d64ce335fc
fix scons --target=cmake command failure (#10276)
* fix scons --target=cmake command failure

* fix scons --menuconfig
scons: Reading SConscript files ...
Cannot found RT-Thread root directory, please check RTT_ROOT
2025-05-21 22:15:04 +08:00
hydevcode 2a525e82be
[tools] 修复rttstudio无法导入bsp的问题 (#10290) 2025-05-19 16:41:03 +08:00
Supper Thomas bf96f99d6b [action/ci] show the PR status for Pull request 2025-05-16 08:54:49 +08:00
Supper Thomas 427e177526
[action/ci] add qemu-pre-build-and-post-build for RT_SMART build (#10203)
[action/ci] add qemu-pre-build-and-post-build for RT_SMART build
2025-04-27 17:31:51 +08:00
keeping passionate! 7c39352f4c
Fixed an error by running scons --tartget=cmake under LINUX, #10113 (#10164)
Fixed an error by running scons --tartget=cmake under LINUX, and associated issue #10113
2025-04-14 07:32:53 +08:00
Supper Thomas 151c7a6112
[action/ci] 把每次编译结果上传到github (#10135)
* [action/ci] 把每次编译结果上传到github

* [fix]

* add output

* fix

* fixthe attach_file_name

* fix

* fix name

* [action] 更新一下toolchain的版本号

* [bsp/stm32] hex 生成

* Update type.h
2025-03-23 12:38:27 +08:00
Supper Thomas b0b40ed45c
[github/action] 添加scons显示编译时间的命令 (#10114)
* [github/action] 添加scons显示编译时间的命令

* [bsp/pico] 删除ci 耗时的config,在F412中已验证

* [bsp/f412] 这个编译需要3分钟,不合理,先从ci中删除
2025-03-17 15:46:46 +08:00
ZhaoCake db359af5c0 [fix][feature]Default to the previous fully packaged logic, add a 'dist-strip' option for simplified packaging. 2025-03-10 13:47:25 +08:00
Kai 1e45a9dcad
[tools][cmake] get some info from env to save time (#10062)
[tools][cmake] remove some code that is unnecessary but takes time, get them from env
2025-03-01 16:10:44 +08:00