Commit Graph

527 Commits

Author SHA1 Message Date
Supper Thomas 84f2a0dbd5 Revert "[tools] use project's dir basename as default project name"
This reverts commit ea75800d5b.
2024-11-20 16:37:34 +08:00
Bernard Xiong 62843f8d07 [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-20 16:37:33 +08:00
hydevcode d418e7a12d [action] attachconfig adapts yml syntax features (#9629) 2024-11-20 16:37:33 +08:00
hydevcode 28c0ce0ad8 [action] yml file adds the depends parameter (#9627) 2024-11-20 16:37:33 +08:00
liuchao e741089270 [tools] use project's dir basename as default project name 2024-11-20 16:37:32 +08:00
hydevcode 5a47564988 [action] Recursive folder lookup attachconfig.yml 2024-11-20 16:37:32 +08:00
Supper Thomas 5870a7ba8a [action] add the yml file support 2024-11-20 16:37:32 +08: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
LaterComer c09d7e1e49
删除tools/kconfiglib文件夹,采用pip安装kconfiglib
* 删除tools/kconfiglib文件夹,采用pip安装kconfiglib

* workflows/action_utest.yml添加安装kconfiglib
2024-06-30 22:55:41 +08:00
Meco Man dd1906ca24 [tools] remove kconfig-frontends 2024-06-30 22:35:34 +08:00
latercomer f0e6d772f3 mkdist和sdk_dist支持kconfiglib语法 2024-06-20 14:40:42 +08:00
maosql 564121050c fix DeprecationWarning: invalid escape sequence. 2024-06-10 14:26:44 +08:00
Astrozen ce913b95c7
[tools/cmake] fix the issue of the missing link flags added in Sconscript (#8957) 2024-05-21 08:58:26 +08:00
Meco Man 634f50572e
[tools] fix env toolchain path parse issue (#8936) 2024-05-11 16:06:23 +08:00
Bernard Xiong 73153ac06a
[tools] fix the issue of cc detection failure in Windows (#8914) 2024-05-08 10:50:45 +08:00
Shell 6977cf9101
[src] add rt_hw_cpu_id() wrapper API (#8894)
* [src] add rt_hw_cpu_id() wrapper API

rt_hw_cpu_id() is an unsafe API which should not be used by most codes
directly. It's error-prone because it must be used in proper context,
otherwise it can lead to errors and unpredictable behavior.

This patch adds a wrapper API for rt_hw_cpu_id() to address this risk.
It includes the context-checking functionality and provides a safer
alternative for obtaining CPU IDs, ensuring that it is used correctly
within the appropriate context.

Signed-off-by: Shell <smokewood@qq.com>

* fixup UMP

* update API & comment

* ci: cpp_check

---------

Signed-off-by: Shell <smokewood@qq.com>
2024-05-08 09:22:09 +08:00
bernard c4e7a0e5e3 [tools] Add --cdb to make compile_commands.json. 2024-05-03 20:17:23 -04:00
Shell ee8c61126d
[tools] fix menuconfig error on vscode console (#8843)
Signed-off-by: Shell <smokewood@qq.com>
2024-04-23 23:08:57 +08:00
latercomer 3ff2b08d82 [clang-format] 增加clang-format格式化配置,通过ide或者手动运行tools/run-clang-format.py进行代码自动格式化 2024-04-21 01:18:37 -04:00
bernard 582d11faad [tools] fix EXEC_PATH exists, but the CC does not. 2024-04-20 14:39:28 -04:00
Bernard Xiong b76dca8f4f
[tools] Add toolchain detection in sdk packages (#8827) 2024-04-21 00:53:17 +08:00
LaterComer 6311bcaf24
将scons --menuconfig/--pyconfig/--pyconfig-silent统一调用kconfiglib 2024-04-18 20:48:32 -04:00
bernard 8d1d75fc40 [tools] Add install env script 2024-04-05 00:54:01 -04:00
Shell 864055bf18
[fixup] aarch64 UMP compiler error (#8677)
Signed-off-by: Shell <smokewood@qq.com>
2024-03-30 17:58:38 +08:00
Shell 83e95bdff4
sync smart & dfs (#8672)
Signed-off-by: xqyjlj <xqyjlj@126.com>
Signed-off-by: Shell <smokewood@qq.com>
Co-authored-by: xqyjlj <xqyjlj@126.com>
2024-03-28 23:42:56 +08:00
Rbb666 d31c05a44c [tools]Fix project compilation errors generated by mdk and iar 2024-03-05 19:53:53 -05:00
idings 0e409a6eb1 [libc][tools] fix compile error on python2 env 2024-01-26 18:32:28 +08:00
Rbb666 74be1633ae [tools]修复rt-studio导入bsp工程缺失{cross_toolchain_flags}字段问题 2024-01-22 17:09:54 +08:00
Shell 396a52cedb fixup: static anaylysis CI 2024-01-16 00:59:18 +08:00
vacabun acaa23052f
[ci][bsp_build]attachconfig add scons args parsing (#8464) 2024-01-09 22:03:32 +08:00
guotong ma 2d55efba84 [ci][attachconfig]support subfolders 2023-12-28 23:51:56 +08:00
Yuqiang Wang 10aa4b9da1
[libc] Fix the MPU's rtconfig.h file identification problem in the script (#8436) 2023-12-28 17:18:58 +08:00
Meco Man ed4d037d7b [ci][stm32f407] add attach config CI check 2023-12-26 23:13:08 +08:00