Commit Graph

462 Commits

Author SHA1 Message Date
Man, Jianting (Meco) 5f474ed26c
[scons] 使用target=mdk5 和 iar时,打印IDE版本号 (#6315)
* [scons] 使用target=mdk5 和 iar时,打印IDE版本号

* 移除对keil iar生成功能的检查
1.这些工程是否可以生成是BSP可选项,不是每个BSP都支持
2.CI环境中并没有安转IAR和Keil环境,导致直接获取IDE版本失败

* MDKProject函数重命名为MDK2Project
2022-08-24 22:39:21 -04:00
Meco Man ecd9cd32b7 [keil.py] 修复生成Keil4/5工程文件时,头文件路径重复的问题 2022-08-22 12:11:05 -04:00
Meco Man dd94198bd6 [gcc][armcc][armclang] rtconfig.CROSS_TOOL->rtconfig.PLATFORM 2022-08-16 09:39:00 +08:00
aozima f50fbb03e2 [tools] remove .sconsign.dblite when scons clean.
fixed py2 <==> py3 ValueError : unsupported pickle protocol: x
2022-08-10 11:39:52 -04:00
Meco Man eafcdd0bc2 [tools] format python code 2022-08-02 23:15:14 -04:00
Marcelo 58c4f41ac7
allow setting optional url for packages via envvar. (#5839)
* allow setting optional url for packages via envvar.

* clean up left over

* simplify code as suggested by Bernard (thanks)

* fix typo (envvar name should be all upper case)
2022-08-01 22:36:23 -04:00
Meco Man e15428c3a8 修复 工程include path 重排序问题 #6143 report 2022-08-01 21:47:04 -04:00
朱天龙 (Armink) 774efb0c5b
[tools][target][eclipse] Update the libs import for eclipse project. (#6065) 2022-06-20 13:45:54 +08:00
wugensheng ccbecfc220
[fix][building.py]修复动态模块的option的bug (#6081)
* [fix][building.py]修复动态模块option的bug
2022-06-15 16:58:16 +08:00
Meco Man c9878aacd2 [scons][iar] 将IAR的PLATFORM字段由iar调整为iccarm
将路径更新为IAR最新版本的路径
2022-06-09 07:01:59 +08:00
rewine d738ad620c
[tools/kconfig-frontends] append path for scons env (#5972) 2022-05-23 01:44:03 +08:00
SunJ 8c18ec64bd cmake默认开启生成编译数据库
tools/cmake: Add CMAKE_EXPORT_COMPILE_COMMANDS ON

Signed-off-by: SunJ <jsun@bouffalolab.com>
2022-05-10 10:13:20 +08:00
liukangcc b077e91cdf [update] support command: scons --target=xmake 2022-05-09 09:39:22 +08:00
shinu 778be73cac Fix bugs for processing command line parameters 2022-04-23 00:43:26 +08:00
wugensheng 0624bbf009
Decouple the addition of command line arguments (#5848)
* Decouple the addition of command line arguments

* Decouple the addition of command line arguments

* Modify change logs

* Modify change logs

* Decouple the addition of command line arguments

* delete wrong edits

* Modify file header

* remove duplicate imports
2022-04-22 08:23:35 +08:00
Man, Jianting (Meco) a0f8d43744
[gcc][armcc][armclang] rtconfig.CROSS_TOOL->rtconfig.PLATFORM (#5802)
* [gcc][armcc][armclang] rtconfig.CROSS_TOOL->rtconfig.PLATFORM
2022-04-20 09:56:04 +08:00
Tangyuxin fcc4899b60
[tools] Add Python 3 compatibility patch (#5825) 2022-04-17 23:42:32 +08:00
Bernard Xiong 1aab3607af
Revert "[dfs][romfs]支持相对地址模式 (#5768)" (#5786)
This reverts commit e68f934ff8.
2022-04-08 20:03:43 +08:00
LiuKang e1ef28a79b
[update] Sort the source file path (#5783) 2022-04-08 12:55:05 +08:00
Tangyuxin e68f934ff8
[dfs][romfs]支持相对地址模式 (#5768) 2022-04-06 21:13:12 +08:00
guozhanxin 71841b8ddd [tools] keil.py Improve error messages. 2022-03-29 16:05:42 +08:00
guo ce51d0b0cc
[tools]keil.py Distinguish LOCAL_CFLAGS/LOCAL_CXXFLAGS, refine file control (#5694) 2022-03-22 11:12:21 +08:00
ErikChanGit f3b72aa179
update the template for projcfg.ini in rt-studio (#5630)
* update the template for projcfg.ini in rt-studio

* update the template for projcfg.ini in rt-studio

Co-authored-by: ErikChan <“1043490933@qq.com>
2022-03-21 09:35:44 +08:00
guo 84ebead9c9
[tools] allow users to set specific link scripts. (#5678) 2022-03-21 08:29:31 +08:00
LiuKang 4e1b175138
[update] 通过 SCons生成 CMakefile.txt 使用相对路径 (#5677)
* [update] 通过 SCons生成 CMakefile.txt 使用相对路径
* [update] 通过 SCons生成 VSC 使用相对路径
2022-03-20 10:31:21 +08:00
liruncong ed712069ef 修正切换scons版本(比如最新的4.3.0)后,编译时在"scons: Reading SConscript files ..."后打印出"b''"的问题 2022-02-23 20:45:27 +08:00
iysheng 0e30fac069 [tools] Remove has_key methods to improve compatibility with Scons version 2022-01-26 11:14:50 +08:00
guozhanxin c811ecf998 [tool] Fix bug with missing brackets in eclipse.py 2022-01-20 20:51:30 +08:00
liukangcc 27511885f3 [update] change ccflags to cflags 2022-01-20 11:50:30 +08:00
imntjempty 92476d128a tools: fix generate .project file error. 2022-01-11 15:48:19 +08:00
guozhanxin f9b01095f2 remove unused file 1.txt 2022-01-09 10:15:36 +08:00
guozhanxin be8822db38 update buildbot.py 2022-01-09 10:02:48 +08:00
Man, Jianting (Meco) bb1084556f [console] 解决在没有定义RT_USING_DEVICE的情况下使用device报错的问题
* [console] 解决在没有定义RT_USING_DEVICE的情况下使用device报错的问题

* format codes

* [libc] 整理格式

* refresh projects
2022-01-09 00:20:32 +08:00
guo 51569a068a
Merge pull request #5418 from mysterywolf/revert-5412-clang-arm
Revert "add clang-arm support."
2021-12-24 09:17:41 +08:00
liukangcc bcdfa35f86 [update] windows tools 2021-12-24 05:36:36 +08:00
Man, Jianting (Meco) ed1f8b3f64 Revert "add clang-arm support."
This reverts commit a5f6fdc780.
2021-12-22 18:57:16 -05:00
guozhanxin a5f6fdc780 add clang-arm support. 2021-12-22 13:03:05 +08:00
Meco Man eac383f97b [tools] add function of auto-update rtconfig.h 2021-12-03 15:57:49 -05:00
Meco Man a78f957ad4 [tools][building.py] 修复加入空列表和空字符串的问题 2021-11-30 10:18:51 -05:00
Meco Man d6b60300a5 [.ignore_format] 将ignore_format分散到各个文件夹中,不必集中在根目录下 2021-09-20 15:46:53 -04:00
guozhanxin d500f2dae6 [tools] cmake-clang compatible with bsp that does not support C++. 2021-07-01 08:16:21 +08:00
guozhanxin 194e33a792 [tools] add scons --target=cmake-armclang 2021-07-01 01:30:50 +08:00
guozhanxin b67e6bbafd [cmake] fix path issue. 2021-06-25 21:07:23 +08:00
thread-liu 7a52944051 [update] support windows cmake tool. 2021-06-17 14:44:34 +08:00
Bernard Xiong ed402ec25c
Merge pull request #4750 from iysheng/extern_lib
[tools] Optimization the EXTERN_LIB variable use
2021-06-10 15:52:35 +08:00
guozhanxin d65ecb91f1 [tools] update eclipse project after dist. 2021-06-09 16:56:31 +08:00
Meco Man 115ec7cf49 [tools] remove formatting 2021-06-07 12:58:17 +08:00
iysheng 9776fa5021 [tools] Optimization the EXTERN_LIB variable use 2021-06-04 23:53:29 +08:00
chenyaxing 1ac2347e1d dev:[tools] add default project name and project path while --dist-ide 2021-05-25 21:17:35 +08:00
Bernard Xiong 2f02e35388
Merge pull request #4701 from Guozhanxin/file_check
【完善】file_check.py 中检查变更文件的逻辑
2021-05-17 19:23:50 +08:00
guozhanxin 975a2ef684 【完善】file_check.py 中检查变更文件的逻辑 2021-05-17 16:10:55 +08:00
guozhanxin f0ca8be39d 【修复】studio 生成工程报错的问题。 2021-05-17 15:14:59 +08:00
guozhanxin 3369a2c1c8 [fix] Fix the problem of an error when opening menuconfig after the project is dist. 2021-05-14 17:11:20 +08:00
guozhanxin 3906f3b948 [add] auto test ci. 2021-05-10 20:34:35 +08:00
thread-liu 86f9b001c7 [update] file_check.py 2021-05-07 11:08:33 +08:00
Bernard Xiong b33c685486
Merge pull request #4246 from github0null/master
[fix] miss arguments when invoke dist_handle
2021-04-27 20:52:13 +08:00
thread-liu f5d636626c [update] cmake.py, delete extra code. 2021-04-19 18:31:35 +08:00
thread-liu 9be6445890 [update] cmake.py, add c++ support and libpath. 2021-04-19 09:46:07 +08:00
thread-liu 91a201264b [update] ignore dir path check. 2021-04-12 09:42:08 +08:00
Bernard Xiong 9235b62cbe
Merge pull request #4479 from mysterywolf/cmake
[tools] 增加cmake生成工具
2021-04-10 23:32:51 +08:00
Meco Jianting Man 8566bfe883
增加作者信息 2021-04-10 17:08:21 +08:00
Bernard Xiong 76bd981add
Merge pull request #4567 from enkiller/0405
[tools] Python 3 compatibility support
2021-04-10 13:52:07 +08:00
guozhanxin dbebcd7264 [update] file_check.py, Improve compatibility. 2021-04-09 11:08:25 +08:00
thread-liu 9038697183 [update] support bsp .ignore_format.yml. 2021-04-07 18:31:14 +08:00
thread-liu 0c0c371bc6 [update] format ci, add ignore config file. 2021-04-06 11:32:57 +08:00
tangyuxin 510955ba42 [tools] Python 3 compatibility support 2021-04-05 12:11:14 +08:00
thread-liu eedf97fa66 [add] .c/.h file format check and license check 2021-04-01 14:52:21 +08:00
thread-liu db22f95775 [update] eclipse.py, 兼容 tasking. 2021-03-24 09:32:29 +08:00
Bernard Xiong a18cb0c064
Merge pull request #4481 from thread-liu/liukang
[update] eclipse.py, to compatible with tricore.
2021-03-19 22:49:59 +08:00
thread-liu 4913e2b5d1 [update] eclipse.py, to compatible with tricore. 2021-03-18 15:22:31 +08:00
Meco Man 920b24ab46 update 2021-03-18 00:19:45 +08:00
Meco Man 9a0569d44f add endline 2021-03-18 00:15:13 +08:00
Meco Man b173ebde98 [tools] 增加cmake生成工具 2021-03-18 00:12:48 +08:00
Meco Man b138082fcc [python3] 部分脚本从python2语法升级到python3 2021-03-16 17:06:03 +08:00
Bernard Xiong ecb1798be3
Merge pull request #4416 from mysterywolf/tools
[tools] 增加formatting自动化格式调整脚本(初版)
2021-03-06 09:47:01 +08:00
yaxing.chen 762427bedc bugfix:remove duplicate files in src list before DefineGroup 2021-03-05 17:13:18 +08:00
Meco Man 0dacf703a5 update 2021-03-05 09:01:14 +08:00
Meco Man 31ef850275 add comment 2021-03-04 10:49:46 +08:00
Meco Man 881d4fda4b [tools] 增加formatting自动化格式调整脚本(初版) 2021-03-04 05:43:09 +08:00
Meco Man 8f7bbfa011 remove RT_USING_NOLIBC 2021-02-23 11:27:12 +08:00
yaxing.chen f826aef9de reset version to 1 2021-01-27 15:56:23 +08:00
yaxing.chen 9dbbae70e9 add rt_studio.py version infomation 2021-01-27 15:54:37 +08:00
yaxing.chen 25147060dd format code 2021-01-26 19:35:30 +08:00
yaxing.chen 822e825c8f use template.cproject if it exists 2021-01-26 19:24:37 +08:00
yaxing.chen c38e2bc6ec update uvprojx file path to abspath 2021-01-25 11:42:10 +08:00
yaxing.chen a77e99f7c2 fixbug:keep makefile.targets while it has existed 2021-01-25 11:33:00 +08:00
null 13927be259
[fix] miss arguments when invoke dist_handle
Use this command: `scons --dist-strip` to detach project. but it aborted with error: "TypeError: dist_handle() takes exactly 2 arguments (1 given):"
2021-01-18 18:54:00 +08:00
yaxing.chen c32a2b3c63 rename studio.py to rt_studio.py 2021-01-18 16:31:39 +08:00
yaxing.chen 9b7971e801 add dist-ide support for all bsp 2021-01-18 16:00:57 +08:00
Bernard Xiong 9152c78353
Merge pull request #3967 from liuanlin-mx/master
scons: Add CodeLite target
2021-01-05 09:08:38 +08:00
iysheng e887b477f4 [tools] 完善 scons --menuconfig 更新 rtconfig.h 文件的邏輯 2020-12-23 13:10:22 +08:00
mx aa34fbb142 Fix assembly compilation errors 2020-11-07 12:09:48 +08:00
mx f24c016c90 Rename project template file name 2020-11-07 12:06:21 +08:00
mx 36834efc24 scons: Add CodeLite target 2020-10-16 15:20:36 +08:00
Bernard Xiong 5b94c1482e
Merge pull request #3749 from rtthread-bot/gitee_master
[auto pr] rtthread-bot
2020-08-14 15:03:40 +08:00
Bernard Xiong 6bf76a375c Merge branch 'master' into gitee_master 2020-07-28 05:44:20 +08:00
yaxing.chen aa411a25ad fixbug:keep user's lib configuration while running --target=eclipse 2020-07-24 16:04:02 +08:00
iysheng 8e08b58964 [fix] Couldn't compile *.s src files 2020-07-16 22:25:58 +08:00
yaxing.chen abfbd9a79a fixbug:eclipse.py do not remove all unused path from list 2020-07-09 16:05:09 +08:00
来日方长 4b8d446b58 update tools/WCS.py.
添加 WCS.py
2020-06-21 22:14:30 +08:00