Supper Thomas

Results 1023 comments of Supper Thomas

使用指令 scons --buildlib=xxx,其中 xxx 为 Group 的名字。

``` Local Options: --dist make distribution --dist-ide, --dist-rtstudio make distribution for RT-Thread Studio IDE --project-path=PROJECT-PATH set project output path --project-name=PROJECT-NAME set project name --cscope Build Cscope cross reference database. Requires...

`scons --genconfig` 根据`rtconfig.h`生成`.config`

`scons --pyconfig` UI显示 保存最小配置 ![image](https://github.com/user-attachments/assets/dd41d00e-251e-4b43-a331-763c310df220)

`scons --useconfig=fat.config` 根据.config生成rtconfig.h

`scons --global-macros=RT_USING_PIN` 编译的时候加宏

`scons --stackanalysis` 线程分析 TODO: `-fstack-usage -fdump-rtl-dfinish` rtconfig.py ``` CFLAGS = DEVICE + ' -Dgcc -fstack-usage -fdump-rtl-dfinish' ``` https://gitee.com/rtthread/rt-thread/pulls/29

scons --reset-project-config 编译默认scons 配置

`scons --defconfig` == `scons --pyconfig-silent` 编译不显示UI