Commit Graph

37 Commits

Author SHA1 Message Date
latercomer ba105bc686 解决tools/keil.py中python3不兼容python2的str.decode() 2024-07-10 15:28:23 +08:00
Rbb666 d31c05a44c [tools]Fix project compilation errors generated by mdk and iar 2024-03-05 19:53:53 -05:00
Meco Man 86f127311d [tools][mdk] fix .uvoptx/uvopt project name
e.g. scons --target=mdk5/4 --project-path='test'
will generate the test.uvoptx/uvopt file correctly
2023-07-23 22:54:27 -04:00
Meco Man 8768d631d0 [tools][keil] fix cannot select c99 and gnu choice in Keil-MDK 2023-05-25 12:16:41 -04:00
Meco Man 61a168099b [tools][keil] 生成工程时选定C99和GNU扩展方法 2023-01-29 08:44:32 -05:00
Man, Jianting (Meco) 8c7e0b71ce
[tool] 增加scons --dist --project-path=xxxx命令 (#6713)
* [tools] 所有dist都打zip包

* 完善scons --dist/dist-ide --project-name  --project-path命令
2022-12-19 01:12:08 -05:00
wdfk-prog 93bdf5ca08 [Tools] add armclangMDK) get version support 2022-11-04 09:35:17 -04:00
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 eafcdd0bc2 [tools] format python code 2022-08-02 23:15:14 -04: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
liukangcc 27511885f3 [update] change ccflags to cflags 2022-01-20 11:50:30 +08:00
tangyuxin 510955ba42 [tools] Python 3 compatibility support 2021-04-05 12:11:14 +08:00
Karl Zhang ca3e5726e1 tool: Keil: Parse .o file as object file
The *.o file does not have the correct type number in Keil.py, it will
be set as text file which can not link by Keil.

Change-Id: Ib32e315c35e08ac0c882d5b4927948469fd9d0c9
Signed-off-by: Karl Zhang <karl.zhang@arm.com>
2020-02-15 19:18:31 +08:00
Bernard Xiong fa1eaa1c5e [tools] Fix the lib issue in Keil project generation 2019-07-27 17:42:34 +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 d687cfb228 [Tools] Change building script for Py3 2018-11-10 18:29:08 +08:00
Bernard Xiong b9e7cf7fa3 [BSP] Enable memory pool for i.MXRT1050-EVK. 2018-09-22 22:22:18 +08:00
aozima 7266928897 [Tools] add armcc(MDK) get version support 2018-07-25 21:42:28 +08:00
Bernard Xiong 68a5e7d5a3 [BSP] Update building script 2017-12-31 21:40:20 +08:00
Bernard Xiong 9c48f9e09c [Tools] Fix the CPP file type in Keil. 2016-04-09 23:10:28 +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
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
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 950c3a4298 [Tools] Add copyright information for scons script files 2015-01-23 14:34:09 +08:00
Bright Pan 777d3c059b Add mdk5 support in SCons tools 2014-11-19 14:57:10 +08:00
Bright Pan 06f8426f59 Delete trailing whitespace 2014-11-19 14:52:36 +08:00
Grissiom 83f8b52064 tools/keil: preserve the order of CPPPATH
The order of CPPPATH is important: some project would use the order of
CPPPATH to override the default configuration headers. This commit also
refine the this piece of code in a more Pythonic way.
2014-08-27 11:39:34 +08:00
aozima 0cf9018e49 Update keil.py
clear old groups in template.uvproj.
2014-08-05 11:51:32 +08:00
Bernard Xiong 84da2a4dcc Keep flash setting when generate Keil MDK project. 2013-06-03 06:37:54 +08:00
Bernard Xiong 7cc284d5a0 add library file for Keil MDK project generation 2013-05-17 21:13:55 +08:00
Bernard Xiong e58d656477 remove project.uvopt file when generate keil mdk project file 2013-04-25 14:22:56 +08:00
chaos.proton@gmail.com 0b1f748701 fix a warning in keil.py
Fix the warning:

E:\projects\rt-thread\rtthread-svn\trunk\tools\keil.py:72: FutureWarning: The behavior of this method will change in future versions.  Use specific 'len(elem)' or 'elem is not None' test instead.
  if not groups:

See http://docs.python.org/library/xml.etree.elementtree.html#xml.etree.ElementTree.Element.remove for detail.

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2226 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-07-22 10:49:52 +00:00
bernard.xiong@gmail.com 3fd6fd1f05 cleanup the building script in tools.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1970 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-02-19 09:11:35 +00:00