Commit Graph

552 Commits

Author SHA1 Message Date
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
Supper Thomas
5c7ee284b7 [action/ci] pkgs --update-force instead of pkgs --update (#10042)
* [action/ci] pkgs --update-force instead of pkgs --update

* Update bsp_buildings.yml

* l4 单独拉出来
2025-02-26 18:59:30 +08:00
kaidegit
62cfa8c610 fix missing some flags added in Sconscript 2025-02-22 14:19:15 -05:00
ZhaoCake
f8171f5c0b fix: without KConfig in rsource and without command help. 2025-02-19 22:53:26 +08:00
ZhaoCake
71b6d42181 [fix]Some components do not have explicit Kconfig 2025-02-19 22:53:26 +08:00
ZhaoCake
ad6ea0fb59 [fix] not ignore notes in 2025-02-19 22:53:26 +08:00
ZhaoCake
21414e8b8e [feat][tools]Only add used components to distubution package. 2025-02-19 22:53:26 +08:00
蒙蒙plus
a313d12ea0 [tools/iar] iar.py fix scons --target=iar --dist (#9997)
#9996
2025-02-18 09:16:18 +08:00
Kai
2fdb9381bb ci: fix dep miss (#9965) 2025-02-03 16:42:49 +08:00
BernardXiong
cfb44d1f7f [tools] Add requirements.txt for python packages
Add requirements.txt for python packages installation.
2025-01-29 20:56:23 -05:00
Supper Thomas
9be28dbc67 [tools/mdk5] 如果本地设置了UV4.exe 命令,则进行MDK编译 2025-01-26 11:34:50 -05:00
hydevcode
5886e262f9 [scons] ci.attachconfig.yml is used in combination with scons 2025-01-22 18:21:17 -05:00
zhuzhuzhu
4e370473c5 fix cppcheck in lwp.c will fail if no define RT_USING_DFS (#9912) 2025-01-14 14:21:04 +08:00
Bernard Xiong
c5a79de38e [tools] Add sdk_cfg.json setting for env CC detection 2025-01-11 21:20:25 -05:00
bernard
2946e4a316 [tools] add logging as Env['log']
Add logging as Env['log']:
- the default level is INFO;
- when using `scons --verbose`, the level will be
change to debug level.
- Add more debug information for cc detection.
2025-01-05 09:06:53 -05:00
aka-adi
9291946c74 [tools]: fix the issue of missing commands in compile_commands.json (#9856)
* [tools]: fix the issue of missing commands in compile_commands.json

* [tools]: fix the path of compile_commands.json
2025-01-03 00:17:56 +08:00
guozhanxin
1dc2874434 [tools] add zig target 2024-12-18 19:31:38 -05:00
Supper Thomas
74b2d3d3e1 [tools] generate workspace by compile_commands.json 2024-12-13 17:43:00 -05:00
liuchao
827daef863 [tools] add more c++ src file type 2024-12-11 22:27:05 -05:00
Supper Thomas
b81d73e847 tools: add clangd support (#9772)
* tools: add clangd support
* [tools] use pip install scons
* [tools/vsc] fix path for in windows and linux
2024-12-12 09:49:43 +08:00
Kai
e4b02a28f8 [tools][cmake] fix processing groups with similar name (#9667) 2024-11-22 19:06:43 +08:00
Supper Thomas
a7ee7b6617 Revert "[tools] use project's dir basename as default project name"
This reverts commit ea75800d5b.
2024-11-17 22:01:42 -05:00
Bernard Xiong
f8ea6c6527 [tools] add project.json generation in vsc.py. (#9632)
* [tools] fix the SDK path issue in env script.

* [tools] add project.json generation in vsc.py.

* [tools] provide correct and clear comments in vsc.py
2024-11-11 09:14:53 +08:00
hydevcode
8f77525b5d [action] attachconfig adapts yml syntax features (#9629) 2024-11-07 22:32:31 +08:00
hydevcode
65e239d3f1 [action] yml file adds the depends parameter (#9627) 2024-11-07 09:47:59 +08:00
liuchao
ea75800d5b [tools] use project's dir basename as default project name 2024-11-06 17:46:16 -05:00
hydevcode
fc765e2f32 [action] Recursive folder lookup attachconfig.yml 2024-11-05 19:31:20 +08:00
Supper Thomas
96165a5e99 [action] add the yml file support 2024-11-04 22:01:30 -05:00
Supper Thomas
c9d18c444a [action/ci] Add toolchain stup script (#9453)
* [action] add toolchain install script
2024-09-16 11:13:30 +08:00
Supper Thomas
a0e1f954c8 [action][cppcheck] add summary (#9426)
* [action][cppcheck] add summary

添加summary 方便查看出错信息
2024-09-12 09:41:22 +08:00
Supper Thomas
c154c24319 [action][ci] add cppcheck new feature
'--check-level=exhaustive'
这个选项可以更深入的在分支中检测,但是会耗时比较久一些。
2024-09-11 20:55:55 -04:00
Supper Thomas
8b4fb52905 [script] add install.sh for rt-thread (#9355)
* [script] add install.sh for rt-thread

* [install] add gitee chevk
2024-08-29 07:44:35 +08:00
bernard
53b894c46c [tools] fix the SDK path issue in env script. 2024-08-28 18:31:22 -04:00
Supper Thomas
1449d37cdf [action/ci] add cpu and arch 2024-08-25 10:54:47 -04:00
supperthomas
3a7e6997c2 [action] filter the not arm-none-eabi-gcc bsp 2024-08-25 01:36:50 -04:00
supperthomas
fe8a00fafc [action] add toolchain download link 2024-08-25 01:36:50 -04:00
supperthomas
1df5be69e8 [action/ci] Add bsp detail python script 2024-08-25 01:36:50 -04:00
supperthomas
372c841912 [action] remove multiprocessing 2024-08-24 15:44:23 -04:00
Supper Thomas
93314e3392 [action] add multiprocess and add include_paths 2024-08-24 15:44:23 -04:00
Supper Thomas
1726a174de [action] add manual trigger build all bsp (#31) 2024-08-24 15:44:23 -04:00
Yilin Sun
3e246caa1c CMake: Generator re-write and bug fixes.
Updated CMakeLists.txt generator to handle private macro definitions for
source groups. Individual source groups are added as OBJECT libraries,
which does not generate actual archive but will be linked together at
final application linking stage. Source groups without source files are
added as INTERFACE libraries, which provides library dependencies to the
final application.

Signed-off-by: Yilin Sun <imi415@imi.moe>
2024-08-13 04:19:49 -04:00
bernard
4633200e98 [tools] fix the SDK package path issue 2024-08-06 09:47:59 +08:00
LaterComer
4c5b203c0b [tools/env]统一tools中env相关的接口,优化env部分路径拼接 (#9185)
* 统一tools中env相关的接口到env_utility.py文件,并同步调整ci

* 移除非本提交的文件

---------

Co-authored-by: Meco Man <920369182@qq.com>
2024-07-31 00:52:25 +08:00
latercomer
ba105bc686 解决tools/keil.py中python3不兼容python2的str.decode() 2024-07-10 15:28:23 +08:00
LaterComer
f5a98c6fc8 [fixed][kconfiglib]test kconfiglib is installed and info how to install 2024-07-10 00:01:36 +08:00
Kai
d266ed6c43 [tool][cmake] Let cmake generator get more param from rtconfig.py (#9139)
let cmake generator get more param from `rtconfig.py`

* support getting c/cpp standard from c/cpp compilation flags
* support getting post action and conv it to cmake variable
* add a custom cmake file for user custom settings
* support setting project name from `--project-name=` option
2024-07-06 16:05:35 +08:00