Commit Graph

425 Commits

Author SHA1 Message Date
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
来日方长 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 b7368bc2ed725c42f9adc297d0e9cf3ed706a520
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 2c42a997f7b5d8aa53bdaf19ccb30596091a112d
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 915ad4c076ff3d7cebda896537605e7f7939b7af
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 fe43869c79675a25669447d57ea5d77385e07ca5
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 8fd31727bc7ff51c83a3c47840cff1bfb100c0ba
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 b432308b20cdf24dfcc1398511d1d83bce6a9df2
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 7366173d749d8a51ed8d48eca09007d27aee8ad8
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 8c2cd4745b7279a6721946d119441bbf7fd1a9c2
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 fa8a2f24ea5e4dbce714ffda16c1ce558e5b5ddb
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 1be40bc50be43dfcdd105291bd24355498f9fef3
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 4c8beb204b7ee3e38c04e1f23a1f7e4ce48aa196
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 da2bcf5c56ef32b611405a8e591ecd3f1e598b11
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 0b932c677a7934d60e70da141744790aec202ef6
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 0431f6f01f6efab2900de552abede83639415431
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 0e1f502edfddff93a4a66c041be68560ef4828eb
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 1131f6e6483d8f2fbafe07f4e598fc8f802ee85d
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 ad81c1d3bf9d80d2b561c94e903e7ce4ca2c68c6
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 d780138a1abf5da5097cc89e6a428ebeae06f284
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 60320d34b1d88315efe1b566fd6bc75c69851f06
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 a042b806efe0ea3bc9dba80ebc7696e5941ba35f
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 2a9603adcb584b29886a2b93ded2473f4e8bffb1
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 34aaf6aebae75c3ee9d38cc17e6bdb826ed9e357
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 3451466e9d8da3c3c8a631be69f3c7a5e6220c21
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