Commit Graph

376 Commits

Author SHA1 Message Date
armink 6c762d51e5 [tools/pyconfig] Update the pyconfig GUI style. 2019-09-03 12:12:18 +08:00
weety 2517728386 Remove unused debug code. 2019-08-28 17:24:16 +08:00
weety 80a0a80874 Compatible with gcc-arm-none-eabi toolchain under linux. 2019-08-28 16:52:58 +08:00
MurphyZhao 9b9175dca6 [tools][update] 使用 '--verbose' 控制 iar 版本输出
Signed-off-by: MurphyZhao <d2014zjt@163.com>
2019-08-26 17:51:30 +08:00
MurphyZhao b1efdefebb [tools][fix] 修改 iar.py 中 iar 版本查找失败后的处理,目的是在出错后终止 scons 程序,以发现并修改错误;并在成功后打印 iar 版本,便于调试
Signed-off-by: MurphyZhao <d2014zjt@163.com>
2019-08-23 23:28:25 +08:00
armink e6a07139ce [tools] Fix eclipse configuration for lib paths. 2019-08-15 10:22:29 +08:00
armink 4e136e4271 [tools] Fix eclipse configuration for libs. 2019-08-15 10:21:46 +08:00
eddylin83 36d6326732 add stm32cubeide support 2019-08-05 18:00:20 +08:00
armink 9d5ad60a0e [tools] Fix pyconfig issue on windows. 2019-08-03 16:34:40 +08:00
Bernard Xiong fa1eaa1c5e [tools] Fix the lib issue in Keil project generation 2019-07-27 17:42:34 +08:00
Bernard Xiong 7278bcb5f2
Merge pull request #2851 from armink/add_guiconfig
[tools] add menuconfig GUI by python.
2019-07-25 00:59:43 +08:00
armink 1b3358a966 [tools] Replace the old pyconfig to guiconfig. 2019-07-24 18:30:44 +08:00
armink 82662d2524 [tools] add silent mode to guiconfig. 2019-07-24 18:09:21 +08:00
Ernest 9333bbadbf [dist][modify] crypto kconfig path 2019-07-18 13:48:54 +08:00
armink 244c1a810d [tools] add menuconfig GUI by python. 2019-07-13 14:45:05 +08:00
armink d0d15c75a2 [tools] Add project config reset feature to eclipse target. 2019-06-18 20:11:12 +08:00
armink ab81ff6815 [tools] Add project name set feature to eclipse target. 2019-06-18 20:10:16 +08:00
SummerGift 1a32d47a79 【完善】新增命令说明信息 2019-06-18 14:42:30 +08:00
SummerGift 4ca30835c1 【完善】添加 eclipse 生成工程相关处理,并完善参数检查 2019-06-18 14:28:00 +08:00
SummerGift bd220bcda6 【修改】参数错误提示 2019-06-18 12:02:21 +08:00
SummerGift 1dbbedbc2f 【完善】dist-ide 功能实现代码 2019-06-18 10:34:57 +08:00
SummerGift 8329c29f84 [修改] 将命令格式修改为 scons --dist-ide --target-path=your__prj_path --target-name=your_prj_name 2019-06-18 10:31:29 +08:00
SummerGift 5c78ab740f [add] scons --dist-ide function 2019-06-17 20:49:19 +08:00
Unknown c20bff531a fix menuconfig.py 2019-05-15 09:52:27 +08:00
MurphyZhao 702277a9b9 [tools] 修复 GCC 版本判断的方式并增加异常捕获
Signed-off-by: MurphyZhao <d2014zjt@163.com>
2019-05-11 15:52:32 +08:00
armink 6674e77986 [tools][eclipse] Fix eclipse target update error. 2019-04-29 18:17:47 +08:00
ericQiang 28e06fe012 [bug fix]:scons创建mdk工程时,group组中有多个library的情况下,会重复创建同名group.修改Tools/keil.py中的函数MDK45Project,若group已经创建,则直接添加子节点。 2019-04-29 14:33:31 +08:00
Bernard Xiong 4317960a50 [tools] Fix the makefile issue under Windows. 2019-04-24 21:09:04 +08:00
BernardXiong 47ca1c2ff4 [Tools] Remove Makefile from BSP 2019-03-26 16:00:41 +00:00
Bernard Xiong b6055df950 [Tools] Fix the directory issue for Makefile 2019-03-23 19:36:40 +08:00
Bernard Xiong 3b75e30c8d [Tools] Add eclipse target 2019-03-21 23:04:37 +08:00
BernardXiong da73aa1a09 [Tools] Add RTT_ROOT/BSP_ROOT for CPPPATH and source files 2019-03-21 12:13:00 +00:00
shaojinchun 4e22be8937 now makefile works 2019-03-07 14:42:58 +08:00
Bernard Xiong ac28dded3e [Tools] Add Makefile genernation. 2019-02-15 09:04:14 +08:00
tangyuxin ed725350a9 [tools] 修复命令行使用 iar 工具链,库文件链接不上的问题 2019-01-19 15:16:14 +08:00
SummerGift 77a31a78d8 [tools][dist] Fix syntax errors 2019-01-15 09:41:16 +08:00
Bernard Xiong bd7ebbf17b [DFS][romfs] fix the mkrom issue when file/dir size zero 2019-01-13 14:24:00 +08:00
SummerGift a4a0642a82 [tools][vsc] Support Chinese path 2019-01-10 10:37:01 +08:00
Bernard Xiong 1e78259545 [tools] Add BSP path into Kernel Group. 2019-01-05 07:39:36 +08:00
MurphyZhao 46544721b0 [tools] menuconfig.py silent 模式的时候,不检查 .config 是否有变化,直接更新 rtconfig.h
这么修改,是因为虽然 .config 没有变化,但与 rtconfig.h 的配置已经不一致。

Signed-off-by: MurphyZhao <d2014zjt@163.com>
2018-12-28 14:22:57 +08:00
MurphyZhao 2d19eafcf5 [tools] pyconfig 增加 silent 模式,不显示窗口但可以更新 .config 和 rtconfig.h
Signed-off-by: MurphyZhao <d2014zjt@163.com>
2018-12-26 09:27:59 +08:00
Bernard Xiong 1d70af9b94 [tools] fix the spawn except handling. 2018-12-24 09:08:22 +08:00
SummerGift cb6f902135 [tools][dist] optimize stm32 bsp dist function 2018-12-18 13:37:59 +08:00
SummerGift 968110ffd6 [bsp][stm32] add scons --dist function 2018-12-13 12:05:40 +08:00
XXXXzzzz000 3c9f58a7ab [tools] fix bug. 2018-11-23 09:23:31 +08:00
Bernard Xiong 27ec671eab [Tools] Add a draft project generator for SES. 2018-11-21 01:04:16 +08:00
Bernard Xiong 302d00ec76
Merge pull request #1969 from uestczyh222/master
修复scons --target=vsc 不支持py3的问题
2018-11-12 07:13:54 +08:00
ZYH 59aee7c462 修复scons --target=vsc 不支持py3的问题 2018-11-11 21:54:25 +08:00
Bernard Xiong 42d988ed67 [Tools] Fix the RTT_ROOT issue 2018-11-11 20:04:25 +08:00
Bernard Xiong d687cfb228 [Tools] Change building script for Py3 2018-11-10 18:29:08 +08:00
ArdaFu e7ca31ccaa [tools] Modify building.py and gcc.py for work with Python 3. 2018-11-07 13:40:41 +08:00
ArdaFu 3a63c0af56 [Tools] Modify buliding.py and gcc.py for work with python 3. 2018-11-07 13:38:57 +08:00
Bernard Xiong b0a813df81 [tools] move import of pymenuconfig to pyconfig function 2018-09-30 09:21:27 +08:00
Bernard Xiong b9e7cf7fa3 [BSP] Enable memory pool for i.MXRT1050-EVK. 2018-09-22 22:22:18 +08:00
Bernard Xiong 0aa4b72b45
Merge pull request #1801 from SummerGGift/change_status_code
[tools]: change the status code
2018-09-14 07:31:15 +08:00
SummerGift efefc551b6 [tools]: change the status code 2018-09-13 11:23:23 +08:00
Bernard Xiong 6ce20716d9
Merge pull request #1800 from SummerGGift/add_silent_mode
[tools]: add menconfig silent mode
2018-09-12 21:32:44 +08:00
SummerGift c831fae96d [tools]: add menconfig silent mode 2018-09-12 20:56:23 +08:00
weety 754d63a193 Solve the flicker problem when display the pyconfig window. 2018-09-07 13:57:31 +08:00
weety 4212c72ff5 Support Writting mainmenu text competible with C tools. 2018-09-05 11:40:35 +08:00
weety 0b85ab290d Improve menuconfig and help information for RT-Thread packages. 2018-09-05 11:05:59 +08:00
weety df3262f011 Beautify the configuration interface and keep the interface style consistent with the c tool. 2018-09-05 10:19:28 +08:00
weety 0f40dd6a57 Check if the configuration file needs to be saved when the configuration exits. 2018-09-05 10:14:15 +08:00
weety ce54828eb0 Support generation of kconfig configuration files compatible with C tools. 2018-09-05 09:48:01 +08:00
weety 937e22fc8b Add scons --pyconfig command for configure project. 2018-09-04 17:14:33 +08:00
Bernard Xiong 240451b978 [skip ci] Fix the rsplit issue in Linux 2018-08-29 02:17:32 +01:00
xieyangrun 495927696e fixed IAR project add LIBS 2018-08-13 16:54:02 +08:00
liang yongxiang b2efa8eeff [tools] update 'scons --dist-strip': copy all sal_socket and add more info to libcpu 2018-08-03 19:47:24 +08:00
liang yongxiang 981afddee3 [tools] fixed typo in MkDist_Strip 2018-08-03 16:29:13 +08:00
liang yongxiang 09a844f729 [tools] The output directory of "scons --dist-strip" is changed from current-bsp/dist to current-bsp/dist-strip 2018-08-03 16:18:27 +08:00
liang yongxiang 12eafd541d [tools] Reduce copied files 2018-08-03 12:05:23 +08:00
liang yongxiang 1f389c684b [tools] add scons --dist-strip support 2018-08-03 11:09:01 +08:00
aozima 7266928897 [Tools] add armcc(MDK) get version support 2018-07-25 21:42:28 +08:00
liang yongxiang 67b3117859 [tools] rewrite "scons --dist" and remove "scons --copy/copy-header" 2018-07-24 10:19:19 +08:00
aozima 0fbd8bf167 [scons] remove check whether exist group library. 2018-07-16 22:45:29 +08:00
armink dc7522b7ca [tools] Fix SCons build error when `RTT_EXEC_PATH` not found. 2018-06-27 08:27:45 +08:00
armink dbe8e60fcc [tools] Change the generate cconfig.h code position for fix the 'scons --target=cc' problem. 2018-06-23 12:04:17 +08:00
armink b7f7d6e6b2 [tools] Fix the IDE project build error when using 'scons --target=cc'. 2018-06-22 15:05:33 +08:00
armink 9539892a1c [tools] Fix IAR get version failed on RT-Thread Env tools. 2018-06-22 13:46:12 +08:00
Bernard Xiong c397c91c1d
Merge pull request #1538 from geniusgogo/fixSrcRemove
fixed SrcRemove
2018-06-14 13:30:52 +08:00
xieyangrun 82a50f29e9 [tools/building.py]fixed SrcRemove 2018-06-14 11:55:15 +08:00
xieyangrun 8101fe1586 [tools/vsc.py]update json dump support indent=4 2018-06-14 09:41:09 +08:00
xieyangrun 8430b83235 Merge branch 'master' of https://github.com/RT-Thread/rt-thread into fixSrcRemove 2018-06-14 09:31:46 +08:00
xieyangrun 86ae6146fd [tools/building.py]fixed SrcRemove /\ convert issue. 2018-06-14 09:30:35 +08:00
geniusgogo a838c543a5
update vsc.py
fixed vscode includepath add error
2018-06-13 18:19:31 +08:00
liang yongxiang 4e937887f6 [tools] add target=cdk in building script 2018-06-11 09:44:10 +08:00
armink 67dd8c4a0d [tools][scons] Fix error notice when 'EXEC_PATH' is not exist. 2018-06-07 17:35:31 +08:00
armink 1c37c813b5 [tools][scons] Add error notice when 'EXEC_PATH' is not exist. 2018-06-07 15:44:26 +08:00
ArdaFu 099062de78 [tools][building] Add ASFLAGS in DefineGroup. 2018-06-04 14:18:31 +08:00
Bernard Xiong 9f0998abb8 [Tools] Remove `scons --test` argument. 2018-05-31 09:58:35 +08:00
Bernard Xiong 427be5c6ca [Tools] Add copyright information. 2018-05-30 20:58:04 +08:00
Bernard Xiong fd0ae67289 [Tools] Add target=vsc in building script. 2018-05-30 18:01:24 +08:00
heyuanjie 10d26fd3f8 优化cbp脚本 2018-05-24 16:44:31 +08:00
heyuanjie 4ec3552c0f 修正无法生成cbp的问题 2018-05-24 09:54:03 +08:00
Bernard Xiong 94116edafa [Tools] Disable print out in gcc detection. 2018-05-22 11:32:48 +08:00
zyh a37ffb1b28 [Tools]fix GCC7 in MacOSX 2018-05-17 16:45:16 +08:00
Bernard Xiong 6ac213d622 Add GCC version detection.
Add cconfig.h file for different version of GCC, which is automatically
detected and generated by scons script.
2018-05-14 21:37:11 +08:00
Bernard Xiong 74d045093b [tools] Fix the sys.path issue in IARVersion. 2018-04-15 14:39:35 +08:00
aozima 0d1f75453b update scons script: strict SrcRemove() match rule. 2018-04-07 17:50:14 +08:00
liang yongxiang 2545c3854e [Tools] add IAR get version support 2018-04-07 00:47:27 +08:00
Bernard Xiong 15fa3084c3 [Kernel] include finsh.h file in rtthread.h when RT_USING_FINSH enable 2018-03-01 18:12:49 +08:00
Bernard Xiong c472533f02 [Tools] Add _REENT_SMALL definition when enable nano-newlib 2018-01-16 20:21:40 +08:00
Neil Yang 639705c705 一个小问题
应该使用utils对象
2018-01-03 18:52:45 +08:00
Bernard Xiong 68a5e7d5a3 [BSP] Update building script 2017-12-31 21:40:20 +08:00
bernard bc6703d0be [Tools] Add useconfig option for scons. 2017-12-29 22:26:39 +08:00
Bernard Xiong 6fe49b1af7
[Tools] Fix the env.sh in menuconfig 2017-12-26 15:55:30 +08:00
Bernard Xiong ecbe7b4ca1 [Tools] Add more packages support under Linux 2017-12-20 11:20:55 +08:00
bernard 3802754f05 [Tools] Fix the walk_children issue 2017-12-13 20:13:45 +08:00
bernard c0b2a1a4b4 [Tools] Add g++ link patch when enble C++. 2017-12-02 10:53:19 +08:00
Bernard Xiong 9a82952707 [Tools] fix kconfig-frontends compiling issue under mac 2017-11-30 20:57:06 +08:00
Bernard Xiong 7bc87e4ae8 [Kconfig] Rename all of KConfig files to 'Kconfig' 2017-11-30 20:12:53 +08:00
Bernard Xiong 89afad784c [Tools] Add menuconfig script 2017-11-30 19:56:05 +08:00
Bernard Xiong 79bffa4eb1 [Tools] Add kconfig-frontends 2017-11-27 23:36:07 +08:00
bernard adfb73cd8c [Tools] Fix the abspath issue of Rtt_Root in building.py. 2017-11-25 07:37:07 +08:00
MurphyZhao 7b2628393b [tools/building.py][Fix] Add `do_copy_file` function form `mkdist` 2017-11-13 14:15:16 +08:00
tanek liang 9d01021f30 [Tools] scons add iar LIBS and LIBPATH support 2017-11-10 19:49:34 +08:00
Bernard Xiong 5293dddd00 [Tools] Remove menuconfig command in scons 2017-11-06 14:01:48 +08:00
bernard 6f6dd80103 [Tools] Add scons --dist command. 2017-11-04 17:39:45 +08:00
bernard a9a02d5e1f [Tools] Add more template detect in buildbot. 2017-11-03 21:09:50 +08:00
ArdaFu 7c9075dfb2 [tools]menuconfig.py. Fix config line split error when config line contains more then one equal marks. 2017-11-03 15:01:41 +08:00
bernard f08d1f5034 [Tools] Add genconfig command in scons. 2017-11-02 16:57:17 +08:00
aozima a1902f2de0 update SrcRemove(): auto detect string or file object. 2017-10-24 09:49:48 +08:00
bernard 5c6a6e5db8 [Tools] Add $ var support in IAR project file. 2017-10-10 16:52:15 +08:00
Bernard Xiong a7c4a23c67 [tools] add --menuconfig option for scons 2017-01-31 13:22:56 +00:00
Bernard Xiong 033d254c4d [tools] rename KConfig menu name 2017-01-31 13:22:25 +00:00
bernard d692001fd5 [tools] Add KConfig files. 2017-01-31 11:54:12 +08:00
Bernard Xiong de3cf4195a [Tools] Add group libs support in vs project. 2017-01-19 23:10:46 +08:00
Bernard Xiong 475a3b8b85 [Tools] fix CPPDEFINES issue in vs 2017-01-08 10:01:48 +08:00
Bernard Xiong 4730a45ab3 [tools] Add LocalOption routines. 2016-10-28 22:12:24 +08:00
Bernard Xiong 9c48f9e09c [Tools] Fix the CPP file type in Keil. 2016-04-09 23:10:28 +08:00
onelife aee3a1d4c5 SCons PreProcessor patch: Stop processing "#define" in false condition
Example "rtconfig.h" content:
 ...
 //#define BOARD_USING_LED
 #if defined(BOARD_USING_LED)
 #define RT_USING_RTGUI
 #endif
 ...

- Before patching, RTGUI module will be built although not intend to do so.
- After patching, RTGUI module will not be built.
2016-03-08 01:42:01 +08:00
Bernard Xiong 1086f6cfa0 [Tools] Fix the buildlib with LOCAL_* options group 2015-10-14 11:07:42 +08:00
Bernard Xiong 3fb53adc4f [Tools] Update Keil MDK project generation.
Add C++ files support;
Fix the two same group issue if to add a library into an exist group.
2015-10-11 15:37:12 +08:00
Bernard Xiong 2e2886168e [Tools] Add win32 spawn patch for module building. 2015-10-11 15:34:32 +08:00
Bernard Xiong fc54a74abb [BSP] stm32f7-disco cleanup 2015-08-09 09:17:28 +08:00
Bernard Xiong 1a5c579e71 [Tools] merge local modification 2015-08-09 00:03:40 +08:00
Bernard Xiong 804e23a3aa [tools] fix the list in list issue when use LOCAL_* options 2015-08-04 09:43:27 +08:00
Bernard Xiong 0af2be6b5d [Tools] Add LOCAL_* options for group definition 2015-07-27 10:34:53 +08:00
Bernard Xiong f5217d6a9c [Tools] Add LOCAL_* options for group definition 2015-07-25 23:50:17 +08:00
aozima 76d82d6803 update scons MDK5 project script: clean old groups. 2015-06-25 20:49:54 +08:00
aozima 6230ff81cc fixed scons building error when use LIB. 2015-05-22 16:49:07 +08:00
BernardXiong 2313424f81 [tools] Add better way to generate MDK project file. 2015-05-11 21:12:53 +08:00
Bernard Xiong 448f9c9a7a [tools] Fix ua target issue. 2015-05-04 22:04:01 +08:00
Bernard Xiong 1e38f39bea [tools] Using object name to decide whether use alias name in Keil MDK. 2015-04-24 11:48:38 +08:00
Bernard Xiong b6951f64b8 [tools] Using object name to decide whether use alias name in Keil MDK. 2015-04-24 11:48:26 +08:00
Bernard Xiong 1f95de43aa [tools] Add package.json as building script 2015-04-10 06:35:59 +00:00
Bernard Xiong 4b838caaf8 Merge remote-tracking branch 'upstream/master' 2015-04-10 06:34:02 +00:00
www220@tom.com 7e260dbcce 修正rtt-root位于其他目录时计算目录错误的bug 2015-04-08 00:52:42 +08:00
www220@tom.com 2eaaa2cb05 在vs2010中将编译文件分组 2015-04-07 18:27:51 +08:00
Bernard Xiong 6c83ff6eca Merge remote-tracking branch 'coding/master' 2015-03-31 07:03:22 +00:00