| Age | Commit message (Collapse) | Author |
|
|
|
'dist-strip' option for simplified packaging.
|
|
|
|
|
|
Add logging as Env['log']:
- the default level is INFO;
- when using `scons --verbose`, the level will be
change to debug level.
- Add more debug information for cc detection.
|
|
* [tools]: fix the issue of missing commands in compile_commands.json
* [tools]: fix the path of compile_commands.json
|
|
|
|
(#9185)
* 统一tools中env相关的接口到env_utility.py文件,并同步调整ci
* 移除非本提交的文件
---------
Co-authored-by: Meco Man <[email protected]>
|
|
let cmake generator get more param from `rtconfig.py`
* support getting c/cpp standard from c/cpp compilation flags
* support getting post action and conv it to cmake variable
* add a custom cmake file for user custom settings
* support setting project name from `--project-name=` option
|
|
* 删除tools/kconfiglib文件夹,采用pip安装kconfiglib
* workflows/action_utest.yml添加安装kconfiglib
|
|
|
|
|
|
|
|
|
|
|
|
(#8436)
|
|
- format command options
- rename the --add_rtconfig as --global-macros
|
|
|
|
|
|
|
|
- GenerateGCCConfig
- GenCconfigFile
|
|
Signed-off-by: GuEe-GUI <[email protected]>
|
|
|
|
|
|
definitions build time.
|
|
|
|
此commit意图在脚本中增加 scons --strict命令,使用该命令编译工程时,会自动将CFLAGS CXXFLAGS设置为 Werrors,即较为严格的编译模式,任何警告都会当做错误来处理。
该命令主要用于CI,在CI执行bsp编译时,可以使用 scons --strict命令。现在QEMU的rtconfig.py 为了CI检查,直接将CFLAGS加上了Werrors,导致正常编译过程中也把警告当做了错误,对日常使用该bsp造成了影响。
|
|
|
|
* [tools] 所有dist都打zip包
* 完善scons --dist/dist-ide --project-name --project-path命令
|
|
* [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变量提前预载之后重载变量的问题
|
|
默认为project.xx 与原来保持一致
相关:https://club.rt-thread.org/ask/article/f998b21633f90916.html
|
|
* [compiler] 增加SConscript依赖标志 AddDepend
* RT_USING_NEWLIB->RT_USING_NEWLIBC RT_USING_ARM_LIBC->RT_USING_ARMLIBC
* 删除过时的板载测试例程
* [gd32] 移除无用的反汇编文件
* [bsp]移除老旧bsp中对RT_USING_NEWLIBC的手动宏定义
|
|
- 导出rtstudio工程时,多增加一级目录,防止BSP本地Sconscript和导出的工程的Sconscript粘接 导致编译出错
- 增加命令别名 --dist-rtstudio 该命令和 --dist-ide命令执行一致,方便用户理解,--dist-ide IDE表示的内容过于宽泛
|
|
User choice IDE build, after GenTargetProject there's no need to do the rest.
并且,既然用户指定了IDE,接下来的命令行编译却仍然是使用arm-none-eabi-gcc,为什么不是用IDE的编译器呢?(也许是个bug)
|
|
scons --target=iar --exec-path=xxxx
scons --exec-path=xxxx
|
|
|
|
|
|
link order.
|
|
get same link-order/map files/BIN files from the same source files."
This reverts commit 0cb62113729b1dde7d1898b759f435f8173b7b40.
|
|
link-order/map files/BIN files from the same source files.
|
|
版本控制规范:https://semver.org/
目前的版本子号不是很规范,其中RT_VERSION甚至和VS那边造成了冲突
```c
/* RT-Thread version information */
#define RT_VERSION 4L /**< major version number */
#define RT_SUBVERSION 1L /**< minor version number */
#define RT_REVISION 1L /**< revise version number */
```
参考ESP32:
```c
/** Major version number (X.x.x) */
#define ESP_ARDUINO_VERSION_MAJOR 2
/** Minor version number (x.X.x) */
#define ESP_ARDUINO_VERSION_MINOR 0
/** Patch version number (x.x.X) */
#define ESP_ARDUINO_VERSION_PATCH 3
```
建议改成:
```c
/* Major version number (X.x.x) */
#define RT_VERSION_MAJOR 4
/* Minor version number (x.X.x) */
#define RT_VERSION_MINOR 2
/* Patch version number (x.x.X) */
#define RT_VERSION_PATCH 0
```
|
|
* [scons] 使用target=mdk5 和 iar时,打印IDE版本号
* 移除对keil iar生成功能的检查
1.这些工程是否可以生成是BSP可选项,不是每个BSP都支持
2.CI环境中并没有安转IAR和Keil环境,导致直接获取IDE版本失败
* MDKProject函数重命名为MDK2Project
|
|
|
|
fixed py2 <==> py3 ValueError : unsupported pickle protocol: x
|
|
|
|
* [fix][building.py]修复动态模块option的bug
|
|
将路径更新为IAR最新版本的路径
|
|
|
|
|
|
* Decouple the addition of command line arguments
* Decouple the addition of command line arguments
* Modify change logs
* Modify change logs
* Decouple the addition of command line arguments
* delete wrong edits
* Modify file header
* remove duplicate imports
|