Commit Graph

479 Commits

Author SHA1 Message Date
Yuqiang Wang 10aa4b9da1
[libc] Fix the MPU's rtconfig.h file identification problem in the script (#8436) 2023-12-28 17:18:58 +08:00
Meco Man ed4d037d7b [ci][stm32f407] add attach config CI check 2023-12-26 23:13:08 +08:00
Meco Man 0b8fbee344 [ci] silent pkgs --update when building bsp 2023-12-25 23:24:30 +08:00
guotong ma 18c44e6cee [ci][attachconfig] remove some output 2023-12-25 15:21:16 +08:00
guotong ma 00bb3c6224 [ci][attachconfig]del debug time 2023-12-25 12:07:22 +08:00
kurisaW 60910d0732 [ci][attachconfig] remove pkgs upgrade everytime 2023-12-25 10:07:32 +08:00
vacabun 2693e7e15a
[ci]Add bsp attachconfig check 2023-12-24 22:43:40 +08:00
xqyjlj e31fa93423
feat: spinlock should lock sched (#8360) 2023-12-22 11:15:18 +08:00
zhkag 4bd5c31dac [tools] format the options
- format command options
    - rename the --add_rtconfig as --global-macros
2023-12-06 15:35:04 +08:00
Meco Man ea50473dc4
[ci] add error code check (#8341) 2023-12-06 13:52:30 +08:00
Meco Man 860094e893 [stm32] split stm32 drivers as normal and nano drivers
- move all normal drivers (devices framework drivers) into drivers
  folder.
- create nano folder for nano drivers
  nano drivers are only for a simply wrap of the HAL function, and
  not seek for adopting rt-thread devcies framework.
- provide unified nano console and GPIO drivers.
2023-12-03 21:25:00 +08:00
guozhanxin 0b1a49ed66 [tools/gcc.py]fix scons error. 2023-11-14 09:45:05 -05:00
Xiang.Lin da55491608
[libc][picolibc] improve gcc picolibc support 2023-11-08 02:09:09 -05:00
1ridic 1d0924c12a
[tools] Enable prebuilding action (#8133) 2023-10-23 14:06:46 +08:00
liYangYang 9afd38455d
[tools] 增加vscode pyocd下载命令 scons --target=vsc --pack=xxx 2023-10-22 10:58:16 -04:00
guozhanxin 21facce472 [tools] support LLVMEmbeddedToolchainForArm-17.0.1 2023-10-19 12:14:01 -04:00
1ridic dee82b8a26 [tools] Correct prompt message
After running "menuconfig", a message prompting you to
run "make" appears, which can be confusing.  Correct
prompt message to make it clear.
2023-09-26 10:08:17 +08:00
Meco Man dc407966fa [tools][gcc.py] avoid dist failure when try to dist MDK/IAR project.
Because for MKD/IAR project, in the rtconfig.py, there is no rtconfig.PREFIX defined.
2023-09-15 08:52:48 -04:00
Meco Man 77f31f8d8f [env][dist] adjust dist sequence 2023-09-15 08:52:48 -04:00
Meco Man c19c907b62 [env] remove --dist-strip command 2023-09-15 08:52:48 -04:00
1ridic ec9bbaceda
[tools] support Env for fish shell 2023-09-14 09:18:20 -04:00
Meco Man 30c793fdb9 [tools] add GetGCCLikePLATFORM
GCC like means the toolchains which are compatible with GCC
2023-08-21 01:25:52 -04:00
Meco Man 290678b665 [tools][gcc] remove legacy functions
- GenerateGCCConfig
- GenCconfigFile
2023-08-21 01:24:46 -04:00
GUI 6f119d4ce9
AArch64: support public linker scripts (#7831)
Signed-off-by: GuEe-GUI <GuEe-GUI@github.com>
2023-07-25 21:31:44 +08:00
Meco Man 65238275ac [tools] --project-name= can use name with space 2023-07-23 22:54:27 -04: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
dejavudwh 4cbc1893bd Added CI to compile more drivers for the changed BSP 2023-06-28 22:07:02 -04:00
shiwa f4294c6abc
[tool][cdk.py] scons的CDK工具宏定义改用分号作分隔符,并支持LIBS (#7610) 2023-06-09 08:59:32 +08:00
Meco Man 8768d631d0 [tools][keil] fix cannot select c99 and gnu choice in Keil-MDK 2023-05-25 12:16:41 -04:00
Bernard Xiong df839d5fdb
[building] Fix the deque issue for Env['CPPDEFINES'] (#7541) 2023-05-22 00:50:44 +08:00
shandianchengzi a294d7da9a
[HUST CSE][example] fix some typo bugs about 'sucess' and others. (#7528) 2023-05-18 10:42:44 -04:00
guozhanxin 82ccbc40db support llvm-arm 16.0 2023-05-17 12:09:10 -04:00
dejavudwh b1584e9fa9
[CI] Added feature to filter out files to file_check.py that do not require cppcheck (#7499)
Co-authored-by: supperthomas <78900636@qq.com>
2023-05-16 07:51:16 +08:00
Meco Man 6cea142222 [tool][release] add tools/release folder for the scrips that prepare the version release 2023-05-15 09:03:04 -04:00
Meco Man ebf4c0f24e [tools/ci]move file_check.py into ci folder 2023-05-13 22:53:24 -04:00
Man, Jianting (Meco) d580042145
[libc] support external third pary libc software package (#7425) 2023-04-30 12:19:57 +08:00
Man, Jianting (Meco) a3d8c76e37
[tools] comment out GenerateGCCConfig revert part of #7177 (#7188) 2023-04-07 09:44:31 +08:00
朱天龙 (Armink) f458d63d5f [tools] Add `--add-rtconfig` args for scons when you want to add macro definitions build time. 2023-04-06 23:29:45 +08:00
朱天龙 (Armink) 00a6d1a1c5 [tools] update the comment for old gen cconfig.h code. 2023-04-05 08:54:43 -04:00
Meco Man 588f5eb2c9 [tools] support scons --dist --target=xxx
like:scons --dist --target=mdk5 --project-name=hello --project-path=C:\Users\xxx\Desktop\test
scons --dist [--target=xxx] [--project-name=xxx] [--project-path=xxx]
支持在dist之后,将dist出来的工程直接生成为目标工程,相当于自动执行scons --target=xxx
2023-03-22 14:33:58 +08:00
Man, Jianting (Meco) 03216af2fb
[tools] remove auto-ci.py (#7070)
过时代码
2023-03-19 20:59:56 +08:00
supperthomas bd22ff5f8e
[tools][vsc] Add the workspace of vscode (#7017) 2023-03-04 14:42:43 -05:00
Meco Man 61a168099b [tools][keil] 生成工程时选定C99和GNU扩展方法 2023-01-29 08:44:32 -05:00
Meco Man b310541471 [env] add scons --strict
此commit意图在脚本中增加 scons --strict命令,使用该命令编译工程时,会自动将CFLAGS CXXFLAGS设置为 Werrors,即较为严格的编译模式,任何警告都会当做错误来处理。

该命令主要用于CI,在CI执行bsp编译时,可以使用 scons --strict命令。现在QEMU的rtconfig.py 为了CI检查,直接将CFLAGS加上了Werrors,导致正常编译过程中也把警告当做了错误,对日常使用该bsp造成了影响。
2023-01-12 01:43:44 -05:00
Meco Man 9bc68d26a4 format Kconfig and sconscript 2023-01-08 22:52:13 -05:00
Man, Jianting (Meco) 8abaf17772
[tools] attach #6764 (#6799) 2023-01-02 12:46:45 +08: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
Man, Jianting (Meco) 4dd0e67056
[tools][musl] add scons --exec-prefix= 用于设置编译工具的前缀 (#6646)
* [tools][musl] add scons --exec-prefix= 用于设置编译工具的前缀

可以通过如下命令在qemu直接调用musl工具链:
scons --exec-path=C:\xxx\arm-linux-musleabi_for_i686-w64-mingw32\bin --exec-prefix=arm-linux-musleabi-

* comment out GenCconfigFile

* 解决部分env变量提前预载之后重载变量的问题
2022-12-06 22:30:28 -05:00
Meco Man 88e5657082 [tools] 支持通过--project-name=xxx设置生成的工程文件名称
默认为project.xx 与原来保持一致
相关:https://club.rt-thread.org/ask/article/f998b21633f90916.html
2022-11-30 21:33:23 -05:00
Man, Jianting (Meco) bdd663a33f
[libc][musl] support arm-linux-musleabi toolchain
目前基本功能已经可以在QEMU上跑起来,但是pthread和内核signal选中会报冲突。先合并一版本,后续解决这些问题。
2022-11-22 21:40:50 -05:00