Commit Graph

372 Commits

Author SHA1 Message Date
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
来日方长 07519cf020 update tools/building.py.
添加stackanalysis选项
2020-06-21 22:11:13 +08:00
xieyangrun d46f914da4 [tools] fixed python 2.x `cmp` 2020-06-11 09:17:16 +08:00
xieyangrun ba32394a00 Optimize project group sort by name 2020-06-08 18:07:04 +08:00
SummerGift 01873a5687 [add] rt-thread ide project dist feature 2020-05-25 14:32:17 +08:00
thread-liu f899299699 [update] eclipse.py 2020-05-18 17:43:06 +08:00
thread-liu 53977c1fb4 [update] tools/eclipse.py 2020-05-11 14:11:03 +08:00
SummerGift 36755af0be [update] nuclei dist handle 2020-05-06 15:37:11 +08:00
SummerGift 783cf54087 [del] stm32 dist handle in mkdist.py 2020-05-06 14:54:05 +08:00
Bernard Xiong 03eb616ff6 [tools] fix c99/siginfo_t issue caused by gcc_version 2020-04-24 08:46:56 +08:00
luhuadong e1bd3673fd [AT32 BSP] do bsp special dist handle 2020-04-22 16:58:10 +08:00
luhuadong 964cbe612a Resolve conflicts 2020-04-18 16:26:36 +08:00
luhuadong 3b2fa47209 [BSP] add Libraries when scons --dist 2020-04-17 22:14:37 +08:00
Huaqi Fang ee4cabe69f [BSP][Nuclei] Add Nuclei RISC-V Processor support
* Nuclei RISC-V Processor support is added both RV32 and RV64
* Nuclei RVSTAR BSP is added, UART driver is added
* MSH works well in RVSTAR board

---------------------------

Squashed commit of the following:

commit b7368bc2ed
Author: Huaqi Fang <578567190@qq.com>
Date:   Fri Apr 17 14:38:54 2020 +0800

    [BSP][Nuclei] Pretty source code

    Signed-off-by: Huaqi Fang <578567190@qq.com>

commit 2c42a997f7
Author: Huaqi Fang <578567190@qq.com>
Date:   Thu Apr 16 15:51:03 2020 +0800

    [libcpu] Remove ARCH_NUCLEI in libcpu kconfig

    Signed-off-by: Huaqi Fang <578567190@qq.com>

commit 915ad4c076
Author: Huaqi Fang <578567190@qq.com>
Date:   Thu Apr 16 15:50:00 2020 +0800

    [BSP][Nuclei] Remove ARCH_NUCLEI in bsp KConfig

    Signed-off-by: Huaqi Fang <578567190@qq.com>

commit fe43869c79
Author: Huaqi Fang <578567190@qq.com>
Date:   Wed Apr 15 12:43:20 2020 +0800

    [BSP][NUCLEI] Simply application main.c

    Remove previous complicated application of gd32vf103_rvstar

    Signed-off-by: Huaqi Fang <578567190@qq.com>

commit 8fd31727bc
Author: Huaqi Fang <578567190@qq.com>
Date:   Wed Apr 15 12:38:04 2020 +0800

    [BSP][NUCLEI] Format application and board source code

    Signed-off-by: Huaqi Fang <578567190@qq.com>

commit b432308b20
Author: Huaqi Fang <578567190@qq.com>
Date:   Wed Apr 15 11:58:28 2020 +0800

    [BSP][Nuclei] Format source code of drivers of gd32vf103

    Signed-off-by: Huaqi Fang <578567190@qq.com>

commit 7366173d74
Author: Huaqi Fang <578567190@qq.com>
Date:   Wed Apr 15 11:54:02 2020 +0800

    [LIBCPU][NUCLEI] Optimize nuclei cpu portable code

    Signed-off-by: Huaqi Fang <578567190@qq.com>

commit 8c2cd4745b
Author: Huaqi Fang <578567190@qq.com>
Date:   Tue Apr 14 15:45:42 2020 +0800

    nuclei: Update README.md

    Signed-off-by: Huaqi Fang <578567190@qq.com>

commit fa8a2f24ea
Author: Huaqi Fang <578567190@qq.com>
Date:   Tue Apr 14 14:06:54 2020 +0800

    nuclei: Add gpio driver not tested

    Signed-off-by: Huaqi Fang <578567190@qq.com>

commit 1be40bc50b
Author: Huaqi Fang <578567190@qq.com>
Date:   Thu Apr 9 14:55:22 2020 +0800

    Nuclei: Update README.md

    Signed-off-by: Huaqi Fang <578567190@qq.com>

commit 4c8beb204b
Author: Huaqi Fang <578567190@qq.com>
Date:   Thu Apr 9 10:20:25 2020 +0800

    Nuclei: Change idle stack size from 256 to 396 bytes

    If changed to 396 bytes, then debug optimization level changed
    from O2 to O0, and the application can run successfully without
    stack overflow issue of tidle0 task
    warning: tidle0 stack is close to end of stack address.

    Signed-off-by: Huaqi Fang <578567190@qq.com>

commit da2bcf5c56
Author: Huaqi Fang <578567190@qq.com>
Date:   Thu Apr 9 10:11:40 2020 +0800

    nuclei: Remove unused kconfig

    Signed-off-by: Huaqi Fang <578567190@qq.com>

commit 0b932c677a
Author: Huaqi Fang <578567190@qq.com>
Date:   Thu Apr 9 09:32:22 2020 +0800

    nuclei: optimize drivers support

    Signed-off-by: Huaqi Fang <578567190@qq.com>

commit 0431f6f01f
Author: Huaqi Fang <578567190@qq.com>
Date:   Wed Apr 8 19:28:02 2020 +0800

    tools: Update mkdist.py for nuclei bsp

    Signed-off-by: Huaqi Fang <578567190@qq.com>

commit 0e1f502edf
Author: Huaqi Fang <578567190@qq.com>
Date:   Wed Apr 8 18:46:58 2020 +0800

    nuclei: optimize rvstar support directory

    Signed-off-by: Huaqi Fang <578567190@qq.com>

commit 1131f6e648
Author: Huaqi Fang <578567190@qq.com>
Date:   Wed Apr 8 18:37:24 2020 +0800

    nuclei: update kconfig

    Signed-off-by: Huaqi Fang <578567190@qq.com>

commit ad81c1d3bf
Author: Huaqi Fang <578567190@qq.com>
Date:   Wed Apr 8 15:43:00 2020 +0800

    nuclei: Rename board name

    Signed-off-by: Huaqi Fang <578567190@qq.com>

commit d780138a1a
Author: Huaqi Fang <578567190@qq.com>
Date:   Tue Apr 7 09:36:19 2020 +0800

    libcpu: Add Nuclei arch option in KConfig

    Signed-off-by: Huaqi Fang <578567190@qq.com>

commit 60320d34b1
Author: Huaqi Fang <578567190@qq.com>
Date:   Fri Apr 3 16:51:01 2020 +0800

    nuclei: Update nuclei sdk of rt-thread support

    Signed-off-by: Huaqi Fang <578567190@qq.com>

commit a042b806ef
Author: Huaqi Fang <578567190@qq.com>
Date:   Fri Apr 3 11:34:09 2020 +0800

    nuclei: modify application for not print anything

    Signed-off-by: Huaqi Fang <578567190@qq.com>

commit 2a9603adcb
Author: Huaqi Fang <578567190@qq.com>
Date:   Fri Apr 3 11:31:01 2020 +0800

    nuclei: Add .gitignore for nuclei bsp

    Signed-off-by: Huaqi Fang <578567190@qq.com>

commit 34aaf6aeba
Author: Huaqi Fang <578567190@qq.com>
Date:   Fri Apr 3 11:28:06 2020 +0800

    nuclei_sdk: update link script of rvstar to contain rt-thread needed sections

            /* section information for finsh shell */
            . = ALIGN(4);
            __fsymtab_start = .;
            KEEP(*(FSymTab))
            __fsymtab_end = .;

            . = ALIGN(4);
            __vsymtab_start = .;
            KEEP(*(VSymTab))
            __vsymtab_end = .;

            /* section information for initial. */
            . = ALIGN(4);
            __rt_init_start = .;
            KEEP(*(SORT(.rti_fn*)))
            __rt_init_end = .;

    The above code placed in rodata section

    Signed-off-by: Huaqi Fang <578567190@qq.com>

commit 3451466e9d
Author: Huaqi Fang <578567190@qq.com>
Date:   Fri Apr 3 10:04:42 2020 +0800

    bsp: Add initial commit of nuclei rvstar board bsp

    Signed-off-by: Huaqi Fang <578567190@qq.com>

Signed-off-by: Huaqi Fang <578567190@qq.com>
2020-04-17 21:07:29 +08:00
armink 32b4c0f293 [tools] update eclipse tools version number. 2020-03-23 08:50:08 +08:00
guozhanxin c1b35a48a5 修复 scons --target=eclipse 时,部分带值宏出错的问题 2020-03-22 09:13:50 +08:00
Bernard Xiong ea968f6833
Merge pull request #3372 from karl-zh/lpc55_add_ns_scons
Lpc55 add ns scons project
2020-03-12 16:59:23 +08:00
armink 544a134f59 [tools] Fix the lib paths not found issue. 2020-02-26 15:19:18 +08:00
armink 06579a46ed [tools] change the cpp eclipse project check function. 2020-02-17 21:51:48 +08:00
armink fd3dd9d85b [tools] add C++ support for eclipse target 2020-02-16 18:38:53 +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 835504ed95 [Tools] rename GCC_VERSION to GCC_VERSION_STR 2020-02-07 15:55:53 +08:00
armink 9aa3b58bae [tools] remove unused path when using scons target eclipse. 2019-12-10 16:40:17 +08:00
armink 470372c5be [tools] update eclipse target for refreshScope support. 2019-11-28 18:34:22 +08:00
armink b91ba1894a [tools] Update eclipse target for excluding. 2019-11-28 17:54:44 +08:00
armink e32c7c98a2 [bsp/stm32] update stm32 bsp eclipse project 2019-10-31 13:49:50 +08:00
armink a2a091666b [tools] add eclipse project for support --specs=nano.specs 2019-10-31 12:15:43 +08:00
SummerGift 9eca8032d0 [tools/menuconfig.py] update rt_config.h generation func 2019-10-30 16:26:42 +08:00
armink 8dabc3be27 [tools] change the eclipse project include path format 2019-10-25 16:35:09 +08:00
armink 3d0ccf62c9 [tools] change the eclipse default paths exclude mode. 2019-10-25 12:03:31 +08:00
armink c8beffeee0 [tools] improve the eclipse project's exclude paths. 2019-10-25 11:57:33 +08:00
armink 3333462d13 [tools] add include file for scons --target=eclipse 2019-10-24 19:11:18 +08:00
Bernard Xiong cb40e60273
Merge pull request #3072 from liruncong/EnvPath
[tools]修正外部环境变量未引入Env Path,导致自定义Builder的action参数使用python函数时,无法找到外部程序的问题
2019-09-16 08:49:30 +08:00
liruncong ca67b4d18e [tools]armclang库文件编译支持 2019-09-14 22:36:19 +08:00
liruncong 4bb76f3410 [tools]修正外部环境变量未引入Env Path,导致自定义Builder的action参数使用python函数时,无法找到外部程序的问题 2019-09-14 22:21:51 +08:00
hollylee dde0596b55
Put codes to correct place. 2019-09-11 09:53:38 +08:00
hollylee 723ca994e7
GetGCCRoot() for usual toolchain dir structures
So don't depend on any special assumptions. See comments in the codes.
2019-09-11 09:03:59 +08:00
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