Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
AdRainty
rt-thread
提交
ea850971
R
rt-thread
项目概览
AdRainty
/
rt-thread
与 Fork 源项目一致
Fork自
RT-Thread / rt-thread
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
R
rt-thread
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
ea850971
编写于
3月 26, 2019
作者:
T
tyustli
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
delete C++ support for gcc in the rtconfig.py file
上级
83272000
变更
43
隐藏空白更改
内联
并排
Showing
43 changed file
with
10 addition
and
43 deletion
+10
-43
bsp/es32f0334/rtconfig.py
bsp/es32f0334/rtconfig.py
+1
-1
bsp/es32f0654/rtconfig.py
bsp/es32f0654/rtconfig.py
+1
-1
bsp/gd32303e-eval/rtconfig.py
bsp/gd32303e-eval/rtconfig.py
+1
-1
bsp/gd32450z-eval/rtconfig.py
bsp/gd32450z-eval/rtconfig.py
+1
-1
bsp/imxrt/imxrt1021-evk/rtconfig.py
bsp/imxrt/imxrt1021-evk/rtconfig.py
+1
-1
bsp/imxrt/imxrt1050-ArchMix/rtconfig.py
bsp/imxrt/imxrt1050-ArchMix/rtconfig.py
+1
-1
bsp/imxrt/imxrt1050-evk/rtconfig.py
bsp/imxrt/imxrt1050-evk/rtconfig.py
+1
-1
bsp/stm32/libraries/templates/stm32f0xx/rtconfig.py
bsp/stm32/libraries/templates/stm32f0xx/rtconfig.py
+0
-1
bsp/stm32/libraries/templates/stm32f10x/rtconfig.py
bsp/stm32/libraries/templates/stm32f10x/rtconfig.py
+0
-1
bsp/stm32/libraries/templates/stm32f4xx/rtconfig.py
bsp/stm32/libraries/templates/stm32f4xx/rtconfig.py
+0
-1
bsp/stm32/libraries/templates/stm32f7xx/rtconfig.py
bsp/stm32/libraries/templates/stm32f7xx/rtconfig.py
+0
-1
bsp/stm32/libraries/templates/stm32l4xx/rtconfig.py
bsp/stm32/libraries/templates/stm32l4xx/rtconfig.py
+0
-1
bsp/stm32/stm32f091-st-nucleo/rtconfig.py
bsp/stm32/stm32f091-st-nucleo/rtconfig.py
+0
-1
bsp/stm32/stm32f103-atk-nano/rtconfig.py
bsp/stm32/stm32f103-atk-nano/rtconfig.py
+0
-1
bsp/stm32/stm32f103-atk-warshipv3/rtconfig.py
bsp/stm32/stm32f103-atk-warshipv3/rtconfig.py
+0
-1
bsp/stm32/stm32f103-dofly-lyc8/rtconfig.py
bsp/stm32/stm32f103-dofly-lyc8/rtconfig.py
+0
-1
bsp/stm32/stm32f103-fire-arbitrary/rtconfig.py
bsp/stm32/stm32f103-fire-arbitrary/rtconfig.py
+0
-1
bsp/stm32/stm32f103-hw100k-ibox/rtconfig.py
bsp/stm32/stm32f103-hw100k-ibox/rtconfig.py
+0
-1
bsp/stm32/stm32f103-mini-system/rtconfig.py
bsp/stm32/stm32f103-mini-system/rtconfig.py
+0
-1
bsp/stm32/stm32f107-uc-eval/rtconfig.py
bsp/stm32/stm32f107-uc-eval/rtconfig.py
+0
-1
bsp/stm32/stm32f401-st-nucleo/rtconfig.py
bsp/stm32/stm32f401-st-nucleo/rtconfig.py
+0
-1
bsp/stm32/stm32f405-smdz-breadfruit/rtconfig.py
bsp/stm32/stm32f405-smdz-breadfruit/rtconfig.py
+0
-1
bsp/stm32/stm32f407-atk-explorer/rtconfig.py
bsp/stm32/stm32f407-atk-explorer/rtconfig.py
+0
-1
bsp/stm32/stm32f407-st-discovery/rtconfig.py
bsp/stm32/stm32f407-st-discovery/rtconfig.py
+0
-1
bsp/stm32/stm32f411-st-nucleo/rtconfig.py
bsp/stm32/stm32f411-st-nucleo/rtconfig.py
+0
-1
bsp/stm32/stm32f429-armfly-v6/rtconfig.py
bsp/stm32/stm32f429-armfly-v6/rtconfig.py
+0
-1
bsp/stm32/stm32f429-atk-apollo/rtconfig.py
bsp/stm32/stm32f429-atk-apollo/rtconfig.py
+0
-1
bsp/stm32/stm32f429-fire-challenger/rtconfig.py
bsp/stm32/stm32f429-fire-challenger/rtconfig.py
+0
-1
bsp/stm32/stm32f446-st-nucleo/rtconfig.py
bsp/stm32/stm32f446-st-nucleo/rtconfig.py
+0
-1
bsp/stm32/stm32f746-st-disco/rtconfig.py
bsp/stm32/stm32f746-st-disco/rtconfig.py
+0
-1
bsp/stm32/stm32f767-atk-apollo/rtconfig.py
bsp/stm32/stm32f767-atk-apollo/rtconfig.py
+0
-1
bsp/stm32/stm32f767-fire-challenger/rtconfig.py
bsp/stm32/stm32f767-fire-challenger/rtconfig.py
+0
-1
bsp/stm32/stm32f767-st-nucleo/rtconfig.py
bsp/stm32/stm32f767-st-nucleo/rtconfig.py
+0
-1
bsp/stm32/stm32g071-st-nucleo/rtconfig.py
bsp/stm32/stm32g071-st-nucleo/rtconfig.py
+0
-1
bsp/stm32/stm32l053-st-nucleo/rtconfig.py
bsp/stm32/stm32l053-st-nucleo/rtconfig.py
+0
-1
bsp/stm32/stm32l432-st-nucleo/rtconfig.py
bsp/stm32/stm32l432-st-nucleo/rtconfig.py
+0
-1
bsp/stm32/stm32l475-atk-pandora/rtconfig.py
bsp/stm32/stm32l475-atk-pandora/rtconfig.py
+0
-1
bsp/stm32/stm32l475-st-discovery/rtconfig.py
bsp/stm32/stm32l475-st-discovery/rtconfig.py
+0
-1
bsp/stm32/stm32l476-st-nucleo/rtconfig.py
bsp/stm32/stm32l476-st-nucleo/rtconfig.py
+0
-1
bsp/stm32/stm32l496-ali-developer/rtconfig.py
bsp/stm32/stm32l496-ali-developer/rtconfig.py
+0
-1
bsp/stm32f4xx-HAL/rtconfig.py
bsp/stm32f4xx-HAL/rtconfig.py
+1
-1
bsp/swm320-lq100/rtconfig.py
bsp/swm320-lq100/rtconfig.py
+1
-1
bsp/tm4c129x/rtconfig.py
bsp/tm4c129x/rtconfig.py
+1
-1
未找到文件。
bsp/es32f0334/rtconfig.py
浏览文件 @
ea850971
...
@@ -44,7 +44,7 @@ if PLATFORM == 'gcc':
...
@@ -44,7 +44,7 @@ if PLATFORM == 'gcc':
OBJDUMP
=
PREFIX
+
'objdump'
OBJDUMP
=
PREFIX
+
'objdump'
OBJCPY
=
PREFIX
+
'objcopy'
OBJCPY
=
PREFIX
+
'objcopy'
DEVICE
=
' -mcpu='
+
CPU
+
' -mthumb -ffunction-sections -fdata-sections'
DEVICE
=
' -mcpu='
+
CPU
+
' -mthumb -ffunction-sections -fdata-sections'
CFLAGS
=
DEVICE
+
' -std=c99'
CFLAGS
=
DEVICE
AFLAGS
=
' -c'
+
DEVICE
+
' -x assembler-with-cpp -Wa,-mimplicit-it=thumb'
AFLAGS
=
' -c'
+
DEVICE
+
' -x assembler-with-cpp -Wa,-mimplicit-it=thumb'
LFLAGS
=
DEVICE
+
' -Wl,--gc-sections,-Map=rtthread.map,-cref,-u,Reset_Handler -T board/linker_scripts/link.lds'
LFLAGS
=
DEVICE
+
' -Wl,--gc-sections,-Map=rtthread.map,-cref,-u,Reset_Handler -T board/linker_scripts/link.lds'
...
...
bsp/es32f0654/rtconfig.py
浏览文件 @
ea850971
...
@@ -44,7 +44,7 @@ if PLATFORM == 'gcc':
...
@@ -44,7 +44,7 @@ if PLATFORM == 'gcc':
OBJDUMP
=
PREFIX
+
'objdump'
OBJDUMP
=
PREFIX
+
'objdump'
OBJCPY
=
PREFIX
+
'objcopy'
OBJCPY
=
PREFIX
+
'objcopy'
DEVICE
=
' -mcpu='
+
CPU
+
' -mthumb -ffunction-sections -fdata-sections'
DEVICE
=
' -mcpu='
+
CPU
+
' -mthumb -ffunction-sections -fdata-sections'
CFLAGS
=
DEVICE
+
' -std=c99'
CFLAGS
=
DEVICE
AFLAGS
=
' -c'
+
DEVICE
+
' -x assembler-with-cpp -Wa,-mimplicit-it=thumb'
AFLAGS
=
' -c'
+
DEVICE
+
' -x assembler-with-cpp -Wa,-mimplicit-it=thumb'
LFLAGS
=
DEVICE
+
' -Wl,--gc-sections,-Map=rtthread.map,-cref,-u,Reset_Handler -T board/linker_scripts/link.lds'
LFLAGS
=
DEVICE
+
' -Wl,--gc-sections,-Map=rtthread.map,-cref,-u,Reset_Handler -T board/linker_scripts/link.lds'
...
...
bsp/gd32303e-eval/rtconfig.py
浏览文件 @
ea850971
...
@@ -38,7 +38,7 @@ if PLATFORM == 'gcc':
...
@@ -38,7 +38,7 @@ if PLATFORM == 'gcc':
OBJCPY
=
PREFIX
+
'objcopy'
OBJCPY
=
PREFIX
+
'objcopy'
DEVICE
=
' -mcpu=cortex-m4 -mthumb -ffunction-sections -fdata-sections'
DEVICE
=
' -mcpu=cortex-m4 -mthumb -ffunction-sections -fdata-sections'
CFLAGS
=
DEVICE
+
' -
std=c99 -
Dgcc'
# -D' + PART_TYPE
CFLAGS
=
DEVICE
+
' -Dgcc'
# -D' + PART_TYPE
AFLAGS
=
' -c'
+
DEVICE
+
' -x assembler-with-cpp -Wa,-mimplicit-it=thumb '
AFLAGS
=
' -c'
+
DEVICE
+
' -x assembler-with-cpp -Wa,-mimplicit-it=thumb '
LFLAGS
=
DEVICE
+
' -Wl,--gc-sections,-Map=rtthread-gd32.map,-cref,-u,Reset_Handler -T gd32_rom.ld'
LFLAGS
=
DEVICE
+
' -Wl,--gc-sections,-Map=rtthread-gd32.map,-cref,-u,Reset_Handler -T gd32_rom.ld'
...
...
bsp/gd32450z-eval/rtconfig.py
浏览文件 @
ea850971
...
@@ -39,7 +39,7 @@ if PLATFORM == 'gcc':
...
@@ -39,7 +39,7 @@ if PLATFORM == 'gcc':
OBJCPY
=
PREFIX
+
'objcopy'
OBJCPY
=
PREFIX
+
'objcopy'
DEVICE
=
' -mcpu=cortex-m4 -mthumb -mfpu=fpv4-sp-d16 -mfloat-abi=hard -ffunction-sections -fdata-sections'
DEVICE
=
' -mcpu=cortex-m4 -mthumb -mfpu=fpv4-sp-d16 -mfloat-abi=hard -ffunction-sections -fdata-sections'
CFLAGS
=
DEVICE
+
' -
std=c99 -
Dgcc'
# -D' + PART_TYPE
CFLAGS
=
DEVICE
+
' -Dgcc'
# -D' + PART_TYPE
AFLAGS
=
' -c'
+
DEVICE
+
' -x assembler-with-cpp -Wa,-mimplicit-it=thumb '
AFLAGS
=
' -c'
+
DEVICE
+
' -x assembler-with-cpp -Wa,-mimplicit-it=thumb '
LFLAGS
=
DEVICE
+
' -Wl,--gc-sections,-Map=rtthread-gd32.map,-cref,-u,Reset_Handler -T gd32_rom.ld'
LFLAGS
=
DEVICE
+
' -Wl,--gc-sections,-Map=rtthread-gd32.map,-cref,-u,Reset_Handler -T gd32_rom.ld'
...
...
bsp/imxrt/imxrt1021-evk/rtconfig.py
浏览文件 @
ea850971
...
@@ -41,7 +41,7 @@ if PLATFORM == 'gcc':
...
@@ -41,7 +41,7 @@ if PLATFORM == 'gcc':
STRIP
=
PREFIX
+
'strip'
STRIP
=
PREFIX
+
'strip'
DEVICE
=
' -mcpu=cortex-m7 -mthumb -mfpu=fpv4-sp-d16 -mfloat-abi=hard -ffunction-sections -fdata-sections'
DEVICE
=
' -mcpu=cortex-m7 -mthumb -mfpu=fpv4-sp-d16 -mfloat-abi=hard -ffunction-sections -fdata-sections'
CFLAGS
=
DEVICE
+
' -
std=c99 -
Wall -D__FPU_PRESENT -eentry'
CFLAGS
=
DEVICE
+
' -Wall -D__FPU_PRESENT -eentry'
AFLAGS
=
' -c'
+
DEVICE
+
' -x assembler-with-cpp -Wa,-mimplicit-it=thumb -D__START=entry'
AFLAGS
=
' -c'
+
DEVICE
+
' -x assembler-with-cpp -Wa,-mimplicit-it=thumb -D__START=entry'
LFLAGS
=
DEVICE
+
' -lm -lgcc -lc'
+
' -nostartfiles -Wl,--gc-sections,-Map=rtthread.map,-cref,-u,Reset_Handler -T flexspi_nor.ld'
LFLAGS
=
DEVICE
+
' -lm -lgcc -lc'
+
' -nostartfiles -Wl,--gc-sections,-Map=rtthread.map,-cref,-u,Reset_Handler -T flexspi_nor.ld'
...
...
bsp/imxrt/imxrt1050-ArchMix/rtconfig.py
浏览文件 @
ea850971
...
@@ -41,7 +41,7 @@ if PLATFORM == 'gcc':
...
@@ -41,7 +41,7 @@ if PLATFORM == 'gcc':
STRIP
=
PREFIX
+
'strip'
STRIP
=
PREFIX
+
'strip'
DEVICE
=
' -mcpu=cortex-m7 -mthumb -mfpu=fpv4-sp-d16 -mfloat-abi=hard -ffunction-sections -fdata-sections'
DEVICE
=
' -mcpu=cortex-m7 -mthumb -mfpu=fpv4-sp-d16 -mfloat-abi=hard -ffunction-sections -fdata-sections'
CFLAGS
=
DEVICE
+
' -
std=c99 -
Wall -D__FPU_PRESENT -eentry'
CFLAGS
=
DEVICE
+
' -Wall -D__FPU_PRESENT -eentry'
AFLAGS
=
' -c'
+
DEVICE
+
' -x assembler-with-cpp -Wa,-mimplicit-it=thumb -D__START=entry'
AFLAGS
=
' -c'
+
DEVICE
+
' -x assembler-with-cpp -Wa,-mimplicit-it=thumb -D__START=entry'
LFLAGS
=
DEVICE
+
' -lm -lgcc -lc'
+
' -nostartfiles -Wl,--gc-sections,-Map=rtthread-imxrt-gcc.map,-cref,-u,Reset_Handler -T flexspi_nor.ld'
LFLAGS
=
DEVICE
+
' -lm -lgcc -lc'
+
' -nostartfiles -Wl,--gc-sections,-Map=rtthread-imxrt-gcc.map,-cref,-u,Reset_Handler -T flexspi_nor.ld'
...
...
bsp/imxrt/imxrt1050-evk/rtconfig.py
浏览文件 @
ea850971
...
@@ -41,7 +41,7 @@ if PLATFORM == 'gcc':
...
@@ -41,7 +41,7 @@ if PLATFORM == 'gcc':
STRIP
=
PREFIX
+
'strip'
STRIP
=
PREFIX
+
'strip'
DEVICE
=
' -mcpu=cortex-m7 -mthumb -mfpu=fpv4-sp-d16 -mfloat-abi=hard -ffunction-sections -fdata-sections'
DEVICE
=
' -mcpu=cortex-m7 -mthumb -mfpu=fpv4-sp-d16 -mfloat-abi=hard -ffunction-sections -fdata-sections'
CFLAGS
=
DEVICE
+
' -
std=c99 -
Wall -D__FPU_PRESENT -eentry'
CFLAGS
=
DEVICE
+
' -Wall -D__FPU_PRESENT -eentry'
AFLAGS
=
' -c'
+
DEVICE
+
' -x assembler-with-cpp -Wa,-mimplicit-it=thumb -D__START=entry'
AFLAGS
=
' -c'
+
DEVICE
+
' -x assembler-with-cpp -Wa,-mimplicit-it=thumb -D__START=entry'
LFLAGS
=
DEVICE
+
' -lm -lgcc -lc'
+
' -nostartfiles -Wl,--gc-sections,-Map=rtthread-imxrt-gcc.map,-cref,-u,Reset_Handler -T flexspi_nor.ld'
LFLAGS
=
DEVICE
+
' -lm -lgcc -lc'
+
' -nostartfiles -Wl,--gc-sections,-Map=rtthread-imxrt-gcc.map,-cref,-u,Reset_Handler -T flexspi_nor.ld'
...
...
bsp/stm32/libraries/templates/stm32f0xx/rtconfig.py
浏览文件 @
ea850971
...
@@ -58,7 +58,6 @@ if PLATFORM == 'gcc':
...
@@ -58,7 +58,6 @@ if PLATFORM == 'gcc':
CFLAGS
+=
' -O2'
CFLAGS
+=
' -O2'
CXXFLAGS
=
CFLAGS
CXXFLAGS
=
CFLAGS
CFLAGS
+=
' -std=c99'
POST_ACTION
=
OBJCPY
+
' -O binary $TARGET rtthread.bin
\n
'
+
SIZE
+
' $TARGET
\n
'
POST_ACTION
=
OBJCPY
+
' -O binary $TARGET rtthread.bin
\n
'
+
SIZE
+
' $TARGET
\n
'
...
...
bsp/stm32/libraries/templates/stm32f10x/rtconfig.py
浏览文件 @
ea850971
...
@@ -58,7 +58,6 @@ if PLATFORM == 'gcc':
...
@@ -58,7 +58,6 @@ if PLATFORM == 'gcc':
CFLAGS
+=
' -O2'
CFLAGS
+=
' -O2'
CXXFLAGS
=
CFLAGS
CXXFLAGS
=
CFLAGS
CFLAGS
+=
' -std=c99'
POST_ACTION
=
OBJCPY
+
' -O binary $TARGET rtthread.bin
\n
'
+
SIZE
+
' $TARGET
\n
'
POST_ACTION
=
OBJCPY
+
' -O binary $TARGET rtthread.bin
\n
'
+
SIZE
+
' $TARGET
\n
'
...
...
bsp/stm32/libraries/templates/stm32f4xx/rtconfig.py
浏览文件 @
ea850971
...
@@ -58,7 +58,6 @@ if PLATFORM == 'gcc':
...
@@ -58,7 +58,6 @@ if PLATFORM == 'gcc':
CFLAGS
+=
' -O2'
CFLAGS
+=
' -O2'
CXXFLAGS
=
CFLAGS
CXXFLAGS
=
CFLAGS
CFLAGS
+=
' -std=c99'
POST_ACTION
=
OBJCPY
+
' -O binary $TARGET rtthread.bin
\n
'
+
SIZE
+
' $TARGET
\n
'
POST_ACTION
=
OBJCPY
+
' -O binary $TARGET rtthread.bin
\n
'
+
SIZE
+
' $TARGET
\n
'
...
...
bsp/stm32/libraries/templates/stm32f7xx/rtconfig.py
浏览文件 @
ea850971
...
@@ -58,7 +58,6 @@ if PLATFORM == 'gcc':
...
@@ -58,7 +58,6 @@ if PLATFORM == 'gcc':
CFLAGS
+=
' -O2'
CFLAGS
+=
' -O2'
CXXFLAGS
=
CFLAGS
CXXFLAGS
=
CFLAGS
CFLAGS
+=
' -std=c99'
POST_ACTION
=
OBJCPY
+
' -O binary $TARGET rtthread.bin
\n
'
+
SIZE
+
' $TARGET
\n
'
POST_ACTION
=
OBJCPY
+
' -O binary $TARGET rtthread.bin
\n
'
+
SIZE
+
' $TARGET
\n
'
...
...
bsp/stm32/libraries/templates/stm32l4xx/rtconfig.py
浏览文件 @
ea850971
...
@@ -58,7 +58,6 @@ if PLATFORM == 'gcc':
...
@@ -58,7 +58,6 @@ if PLATFORM == 'gcc':
CFLAGS
+=
' -O2'
CFLAGS
+=
' -O2'
CXXFLAGS
=
CFLAGS
CXXFLAGS
=
CFLAGS
CFLAGS
+=
' -std=c99'
POST_ACTION
=
OBJCPY
+
' -O binary $TARGET rtthread.bin
\n
'
+
SIZE
+
' $TARGET
\n
'
POST_ACTION
=
OBJCPY
+
' -O binary $TARGET rtthread.bin
\n
'
+
SIZE
+
' $TARGET
\n
'
...
...
bsp/stm32/stm32f091-st-nucleo/rtconfig.py
浏览文件 @
ea850971
...
@@ -58,7 +58,6 @@ if PLATFORM == 'gcc':
...
@@ -58,7 +58,6 @@ if PLATFORM == 'gcc':
CFLAGS
+=
' -O2'
CFLAGS
+=
' -O2'
CXXFLAGS
=
CFLAGS
CXXFLAGS
=
CFLAGS
CFLAGS
+=
' -std=c99'
POST_ACTION
=
OBJCPY
+
' -O binary $TARGET rtthread.bin
\n
'
+
SIZE
+
' $TARGET
\n
'
POST_ACTION
=
OBJCPY
+
' -O binary $TARGET rtthread.bin
\n
'
+
SIZE
+
' $TARGET
\n
'
...
...
bsp/stm32/stm32f103-atk-nano/rtconfig.py
浏览文件 @
ea850971
...
@@ -58,7 +58,6 @@ if PLATFORM == 'gcc':
...
@@ -58,7 +58,6 @@ if PLATFORM == 'gcc':
CFLAGS
+=
' -O2'
CFLAGS
+=
' -O2'
CXXFLAGS
=
CFLAGS
CXXFLAGS
=
CFLAGS
CFLAGS
+=
' -std=c99'
POST_ACTION
=
OBJCPY
+
' -O binary $TARGET rtthread.bin
\n
'
+
SIZE
+
' $TARGET
\n
'
POST_ACTION
=
OBJCPY
+
' -O binary $TARGET rtthread.bin
\n
'
+
SIZE
+
' $TARGET
\n
'
...
...
bsp/stm32/stm32f103-atk-warshipv3/rtconfig.py
浏览文件 @
ea850971
...
@@ -58,7 +58,6 @@ if PLATFORM == 'gcc':
...
@@ -58,7 +58,6 @@ if PLATFORM == 'gcc':
CFLAGS
+=
' -O2'
CFLAGS
+=
' -O2'
CXXFLAGS
=
CFLAGS
CXXFLAGS
=
CFLAGS
CFLAGS
+=
' -std=c99'
POST_ACTION
=
OBJCPY
+
' -O binary $TARGET rtthread.bin
\n
'
+
SIZE
+
' $TARGET
\n
'
POST_ACTION
=
OBJCPY
+
' -O binary $TARGET rtthread.bin
\n
'
+
SIZE
+
' $TARGET
\n
'
...
...
bsp/stm32/stm32f103-dofly-lyc8/rtconfig.py
浏览文件 @
ea850971
...
@@ -58,7 +58,6 @@ if PLATFORM == 'gcc':
...
@@ -58,7 +58,6 @@ if PLATFORM == 'gcc':
CFLAGS
+=
' -O2'
CFLAGS
+=
' -O2'
CXXFLAGS
=
CFLAGS
CXXFLAGS
=
CFLAGS
CFLAGS
+=
' -std=c99'
POST_ACTION
=
OBJCPY
+
' -O binary $TARGET rtthread.bin
\n
'
+
SIZE
+
' $TARGET
\n
'
POST_ACTION
=
OBJCPY
+
' -O binary $TARGET rtthread.bin
\n
'
+
SIZE
+
' $TARGET
\n
'
...
...
bsp/stm32/stm32f103-fire-arbitrary/rtconfig.py
浏览文件 @
ea850971
...
@@ -58,7 +58,6 @@ if PLATFORM == 'gcc':
...
@@ -58,7 +58,6 @@ if PLATFORM == 'gcc':
CFLAGS
+=
' -O2'
CFLAGS
+=
' -O2'
CXXFLAGS
=
CFLAGS
CXXFLAGS
=
CFLAGS
CFLAGS
+=
' -std=c99'
POST_ACTION
=
OBJCPY
+
' -O binary $TARGET rtthread.bin
\n
'
+
SIZE
+
' $TARGET
\n
'
POST_ACTION
=
OBJCPY
+
' -O binary $TARGET rtthread.bin
\n
'
+
SIZE
+
' $TARGET
\n
'
...
...
bsp/stm32/stm32f103-hw100k-ibox/rtconfig.py
浏览文件 @
ea850971
...
@@ -58,7 +58,6 @@ if PLATFORM == 'gcc':
...
@@ -58,7 +58,6 @@ if PLATFORM == 'gcc':
CFLAGS
+=
' -O2'
CFLAGS
+=
' -O2'
CXXFLAGS
=
CFLAGS
CXXFLAGS
=
CFLAGS
CFLAGS
+=
' -std=c99'
POST_ACTION
=
OBJCPY
+
' -O binary $TARGET rtthread.bin
\n
'
+
SIZE
+
' $TARGET
\n
'
POST_ACTION
=
OBJCPY
+
' -O binary $TARGET rtthread.bin
\n
'
+
SIZE
+
' $TARGET
\n
'
...
...
bsp/stm32/stm32f103-mini-system/rtconfig.py
浏览文件 @
ea850971
...
@@ -58,7 +58,6 @@ if PLATFORM == 'gcc':
...
@@ -58,7 +58,6 @@ if PLATFORM == 'gcc':
CFLAGS
+=
' -O2'
CFLAGS
+=
' -O2'
CXXFLAGS
=
CFLAGS
CXXFLAGS
=
CFLAGS
CFLAGS
+=
' -std=c99'
POST_ACTION
=
OBJCPY
+
' -O binary $TARGET rtthread.bin
\n
'
+
SIZE
+
' $TARGET
\n
'
POST_ACTION
=
OBJCPY
+
' -O binary $TARGET rtthread.bin
\n
'
+
SIZE
+
' $TARGET
\n
'
...
...
bsp/stm32/stm32f107-uc-eval/rtconfig.py
浏览文件 @
ea850971
...
@@ -58,7 +58,6 @@ if PLATFORM == 'gcc':
...
@@ -58,7 +58,6 @@ if PLATFORM == 'gcc':
CFLAGS
+=
' -O2'
CFLAGS
+=
' -O2'
CXXFLAGS
=
CFLAGS
CXXFLAGS
=
CFLAGS
CFLAGS
+=
' -std=c99'
POST_ACTION
=
OBJCPY
+
' -O binary $TARGET rtthread.bin
\n
'
+
SIZE
+
' $TARGET
\n
'
POST_ACTION
=
OBJCPY
+
' -O binary $TARGET rtthread.bin
\n
'
+
SIZE
+
' $TARGET
\n
'
...
...
bsp/stm32/stm32f401-st-nucleo/rtconfig.py
浏览文件 @
ea850971
...
@@ -58,7 +58,6 @@ if PLATFORM == 'gcc':
...
@@ -58,7 +58,6 @@ if PLATFORM == 'gcc':
CFLAGS
+=
' -O2'
CFLAGS
+=
' -O2'
CXXFLAGS
=
CFLAGS
CXXFLAGS
=
CFLAGS
CFLAGS
+=
' -std=c99'
POST_ACTION
=
OBJCPY
+
' -O binary $TARGET rtthread.bin
\n
'
+
SIZE
+
' $TARGET
\n
'
POST_ACTION
=
OBJCPY
+
' -O binary $TARGET rtthread.bin
\n
'
+
SIZE
+
' $TARGET
\n
'
...
...
bsp/stm32/stm32f405-smdz-breadfruit/rtconfig.py
浏览文件 @
ea850971
...
@@ -58,7 +58,6 @@ if PLATFORM == 'gcc':
...
@@ -58,7 +58,6 @@ if PLATFORM == 'gcc':
CFLAGS
+=
' -O2'
CFLAGS
+=
' -O2'
CXXFLAGS
=
CFLAGS
CXXFLAGS
=
CFLAGS
CFLAGS
+=
' -std=c99'
POST_ACTION
=
OBJCPY
+
' -O binary $TARGET rtthread.bin
\n
'
+
SIZE
+
' $TARGET
\n
'
POST_ACTION
=
OBJCPY
+
' -O binary $TARGET rtthread.bin
\n
'
+
SIZE
+
' $TARGET
\n
'
...
...
bsp/stm32/stm32f407-atk-explorer/rtconfig.py
浏览文件 @
ea850971
...
@@ -58,7 +58,6 @@ if PLATFORM == 'gcc':
...
@@ -58,7 +58,6 @@ if PLATFORM == 'gcc':
CFLAGS
+=
' -O2'
CFLAGS
+=
' -O2'
CXXFLAGS
=
CFLAGS
CXXFLAGS
=
CFLAGS
CFLAGS
+=
' -std=c99'
POST_ACTION
=
OBJCPY
+
' -O binary $TARGET rtthread.bin
\n
'
+
SIZE
+
' $TARGET
\n
'
POST_ACTION
=
OBJCPY
+
' -O binary $TARGET rtthread.bin
\n
'
+
SIZE
+
' $TARGET
\n
'
...
...
bsp/stm32/stm32f407-st-discovery/rtconfig.py
浏览文件 @
ea850971
...
@@ -58,7 +58,6 @@ if PLATFORM == 'gcc':
...
@@ -58,7 +58,6 @@ if PLATFORM == 'gcc':
CFLAGS
+=
' -O2'
CFLAGS
+=
' -O2'
CXXFLAGS
=
CFLAGS
CXXFLAGS
=
CFLAGS
CFLAGS
+=
' -std=c99'
POST_ACTION
=
OBJCPY
+
' -O binary $TARGET rtthread.bin
\n
'
+
SIZE
+
' $TARGET
\n
'
POST_ACTION
=
OBJCPY
+
' -O binary $TARGET rtthread.bin
\n
'
+
SIZE
+
' $TARGET
\n
'
...
...
bsp/stm32/stm32f411-st-nucleo/rtconfig.py
浏览文件 @
ea850971
...
@@ -58,7 +58,6 @@ if PLATFORM == 'gcc':
...
@@ -58,7 +58,6 @@ if PLATFORM == 'gcc':
CFLAGS
+=
' -O2'
CFLAGS
+=
' -O2'
CXXFLAGS
=
CFLAGS
CXXFLAGS
=
CFLAGS
CFLAGS
+=
' -std=c99'
POST_ACTION
=
OBJCPY
+
' -O binary $TARGET rtthread.bin
\n
'
+
SIZE
+
' $TARGET
\n
'
POST_ACTION
=
OBJCPY
+
' -O binary $TARGET rtthread.bin
\n
'
+
SIZE
+
' $TARGET
\n
'
...
...
bsp/stm32/stm32f429-armfly-v6/rtconfig.py
浏览文件 @
ea850971
...
@@ -58,7 +58,6 @@ if PLATFORM == 'gcc':
...
@@ -58,7 +58,6 @@ if PLATFORM == 'gcc':
CFLAGS
+=
' -O2'
CFLAGS
+=
' -O2'
CXXFLAGS
=
CFLAGS
CXXFLAGS
=
CFLAGS
CFLAGS
+=
' -std=c99'
POST_ACTION
=
OBJCPY
+
' -O binary $TARGET rtthread.bin
\n
'
+
SIZE
+
' $TARGET
\n
'
POST_ACTION
=
OBJCPY
+
' -O binary $TARGET rtthread.bin
\n
'
+
SIZE
+
' $TARGET
\n
'
...
...
bsp/stm32/stm32f429-atk-apollo/rtconfig.py
浏览文件 @
ea850971
...
@@ -58,7 +58,6 @@ if PLATFORM == 'gcc':
...
@@ -58,7 +58,6 @@ if PLATFORM == 'gcc':
CFLAGS
+=
' -O2'
CFLAGS
+=
' -O2'
CXXFLAGS
=
CFLAGS
CXXFLAGS
=
CFLAGS
CFLAGS
+=
' -std=c99'
POST_ACTION
=
OBJCPY
+
' -O binary $TARGET rtthread.bin
\n
'
+
SIZE
+
' $TARGET
\n
'
POST_ACTION
=
OBJCPY
+
' -O binary $TARGET rtthread.bin
\n
'
+
SIZE
+
' $TARGET
\n
'
...
...
bsp/stm32/stm32f429-fire-challenger/rtconfig.py
浏览文件 @
ea850971
...
@@ -58,7 +58,6 @@ if PLATFORM == 'gcc':
...
@@ -58,7 +58,6 @@ if PLATFORM == 'gcc':
CFLAGS
+=
' -O2'
CFLAGS
+=
' -O2'
CXXFLAGS
=
CFLAGS
CXXFLAGS
=
CFLAGS
CFLAGS
+=
' -std=c99'
POST_ACTION
=
OBJCPY
+
' -O binary $TARGET rtthread.bin
\n
'
+
SIZE
+
' $TARGET
\n
'
POST_ACTION
=
OBJCPY
+
' -O binary $TARGET rtthread.bin
\n
'
+
SIZE
+
' $TARGET
\n
'
...
...
bsp/stm32/stm32f446-st-nucleo/rtconfig.py
浏览文件 @
ea850971
...
@@ -58,7 +58,6 @@ if PLATFORM == 'gcc':
...
@@ -58,7 +58,6 @@ if PLATFORM == 'gcc':
CFLAGS
+=
' -O2'
CFLAGS
+=
' -O2'
CXXFLAGS
=
CFLAGS
CXXFLAGS
=
CFLAGS
CFLAGS
+=
' -std=c99'
POST_ACTION
=
OBJCPY
+
' -O binary $TARGET rtthread.bin
\n
'
+
SIZE
+
' $TARGET
\n
'
POST_ACTION
=
OBJCPY
+
' -O binary $TARGET rtthread.bin
\n
'
+
SIZE
+
' $TARGET
\n
'
...
...
bsp/stm32/stm32f746-st-disco/rtconfig.py
浏览文件 @
ea850971
...
@@ -57,7 +57,6 @@ if PLATFORM == 'gcc':
...
@@ -57,7 +57,6 @@ if PLATFORM == 'gcc':
CFLAGS
+=
' -O2 -Os'
CFLAGS
+=
' -O2 -Os'
CXXFLAGS
=
CFLAGS
CXXFLAGS
=
CFLAGS
CFLAGS
+=
' -std=c99'
POST_ACTION
=
OBJCPY
+
' -O binary $TARGET rtthread.bin
\n
'
+
SIZE
+
' $TARGET
\n
'
POST_ACTION
=
OBJCPY
+
' -O binary $TARGET rtthread.bin
\n
'
+
SIZE
+
' $TARGET
\n
'
...
...
bsp/stm32/stm32f767-atk-apollo/rtconfig.py
浏览文件 @
ea850971
...
@@ -58,7 +58,6 @@ if PLATFORM == 'gcc':
...
@@ -58,7 +58,6 @@ if PLATFORM == 'gcc':
CFLAGS
+=
' -O2'
CFLAGS
+=
' -O2'
CXXFLAGS
=
CFLAGS
CXXFLAGS
=
CFLAGS
CFLAGS
+=
' -std=c99'
POST_ACTION
=
OBJCPY
+
' -O binary $TARGET rtthread.bin
\n
'
+
SIZE
+
' $TARGET
\n
'
POST_ACTION
=
OBJCPY
+
' -O binary $TARGET rtthread.bin
\n
'
+
SIZE
+
' $TARGET
\n
'
...
...
bsp/stm32/stm32f767-fire-challenger/rtconfig.py
浏览文件 @
ea850971
...
@@ -58,7 +58,6 @@ if PLATFORM == 'gcc':
...
@@ -58,7 +58,6 @@ if PLATFORM == 'gcc':
CFLAGS
+=
' -O2'
CFLAGS
+=
' -O2'
CXXFLAGS
=
CFLAGS
CXXFLAGS
=
CFLAGS
CFLAGS
+=
' -std=c99'
POST_ACTION
=
OBJCPY
+
' -O binary $TARGET rtthread.bin
\n
'
+
SIZE
+
' $TARGET
\n
'
POST_ACTION
=
OBJCPY
+
' -O binary $TARGET rtthread.bin
\n
'
+
SIZE
+
' $TARGET
\n
'
...
...
bsp/stm32/stm32f767-st-nucleo/rtconfig.py
浏览文件 @
ea850971
...
@@ -57,7 +57,6 @@ if PLATFORM == 'gcc':
...
@@ -57,7 +57,6 @@ if PLATFORM == 'gcc':
CFLAGS
+=
' -O2 -Os'
CFLAGS
+=
' -O2 -Os'
CXXFLAGS
=
CFLAGS
CXXFLAGS
=
CFLAGS
CFLAGS
+=
' -std=c99'
POST_ACTION
=
OBJCPY
+
' -O binary $TARGET rtthread.bin
\n
'
+
SIZE
+
' $TARGET
\n
'
POST_ACTION
=
OBJCPY
+
' -O binary $TARGET rtthread.bin
\n
'
+
SIZE
+
' $TARGET
\n
'
...
...
bsp/stm32/stm32g071-st-nucleo/rtconfig.py
浏览文件 @
ea850971
...
@@ -58,7 +58,6 @@ if PLATFORM == 'gcc':
...
@@ -58,7 +58,6 @@ if PLATFORM == 'gcc':
CFLAGS
+=
' -O2'
CFLAGS
+=
' -O2'
CXXFLAGS
=
CFLAGS
CXXFLAGS
=
CFLAGS
CFLAGS
+=
' -std=c99'
POST_ACTION
=
OBJCPY
+
' -O binary $TARGET rtthread.bin
\n
'
+
SIZE
+
' $TARGET
\n
'
POST_ACTION
=
OBJCPY
+
' -O binary $TARGET rtthread.bin
\n
'
+
SIZE
+
' $TARGET
\n
'
...
...
bsp/stm32/stm32l053-st-nucleo/rtconfig.py
浏览文件 @
ea850971
...
@@ -58,7 +58,6 @@ if PLATFORM == 'gcc':
...
@@ -58,7 +58,6 @@ if PLATFORM == 'gcc':
CFLAGS
+=
' -O2'
CFLAGS
+=
' -O2'
CXXFLAGS
=
CFLAGS
CXXFLAGS
=
CFLAGS
CFLAGS
+=
' -std=c99'
POST_ACTION
=
OBJCPY
+
' -O binary $TARGET rtthread.bin
\n
'
+
SIZE
+
' $TARGET
\n
'
POST_ACTION
=
OBJCPY
+
' -O binary $TARGET rtthread.bin
\n
'
+
SIZE
+
' $TARGET
\n
'
...
...
bsp/stm32/stm32l432-st-nucleo/rtconfig.py
浏览文件 @
ea850971
...
@@ -58,7 +58,6 @@ if PLATFORM == 'gcc':
...
@@ -58,7 +58,6 @@ if PLATFORM == 'gcc':
CFLAGS
+=
' -O2'
CFLAGS
+=
' -O2'
CXXFLAGS
=
CFLAGS
CXXFLAGS
=
CFLAGS
CFLAGS
+=
' -std=c99'
POST_ACTION
=
OBJCPY
+
' -O binary $TARGET rtthread.bin
\n
'
+
SIZE
+
' $TARGET
\n
'
POST_ACTION
=
OBJCPY
+
' -O binary $TARGET rtthread.bin
\n
'
+
SIZE
+
' $TARGET
\n
'
...
...
bsp/stm32/stm32l475-atk-pandora/rtconfig.py
浏览文件 @
ea850971
...
@@ -58,7 +58,6 @@ if PLATFORM == 'gcc':
...
@@ -58,7 +58,6 @@ if PLATFORM == 'gcc':
CFLAGS
+=
' -O2'
CFLAGS
+=
' -O2'
CXXFLAGS
=
CFLAGS
CXXFLAGS
=
CFLAGS
CFLAGS
+=
' -std=c99'
POST_ACTION
=
OBJCPY
+
' -O binary $TARGET rtthread.bin
\n
'
+
SIZE
+
' $TARGET
\n
'
POST_ACTION
=
OBJCPY
+
' -O binary $TARGET rtthread.bin
\n
'
+
SIZE
+
' $TARGET
\n
'
...
...
bsp/stm32/stm32l475-st-discovery/rtconfig.py
浏览文件 @
ea850971
...
@@ -58,7 +58,6 @@ if PLATFORM == 'gcc':
...
@@ -58,7 +58,6 @@ if PLATFORM == 'gcc':
CFLAGS
+=
' -O2'
CFLAGS
+=
' -O2'
CXXFLAGS
=
CFLAGS
CXXFLAGS
=
CFLAGS
CFLAGS
+=
' -std=c99'
POST_ACTION
=
OBJCPY
+
' -O binary $TARGET rtthread.bin
\n
'
+
SIZE
+
' $TARGET
\n
'
POST_ACTION
=
OBJCPY
+
' -O binary $TARGET rtthread.bin
\n
'
+
SIZE
+
' $TARGET
\n
'
...
...
bsp/stm32/stm32l476-st-nucleo/rtconfig.py
浏览文件 @
ea850971
...
@@ -58,7 +58,6 @@ if PLATFORM == 'gcc':
...
@@ -58,7 +58,6 @@ if PLATFORM == 'gcc':
CFLAGS
+=
' -O2'
CFLAGS
+=
' -O2'
CXXFLAGS
=
CFLAGS
CXXFLAGS
=
CFLAGS
CFLAGS
+=
' -std=c99'
POST_ACTION
=
OBJCPY
+
' -O binary $TARGET rtthread.bin
\n
'
+
SIZE
+
' $TARGET
\n
'
POST_ACTION
=
OBJCPY
+
' -O binary $TARGET rtthread.bin
\n
'
+
SIZE
+
' $TARGET
\n
'
...
...
bsp/stm32/stm32l496-ali-developer/rtconfig.py
浏览文件 @
ea850971
...
@@ -58,7 +58,6 @@ if PLATFORM == 'gcc':
...
@@ -58,7 +58,6 @@ if PLATFORM == 'gcc':
CFLAGS
+=
' -O2'
CFLAGS
+=
' -O2'
CXXFLAGS
=
CFLAGS
CXXFLAGS
=
CFLAGS
CFLAGS
+=
' -std=c99'
POST_ACTION
=
OBJCPY
+
' -O binary $TARGET rtthread.bin
\n
'
+
SIZE
+
' $TARGET
\n
'
POST_ACTION
=
OBJCPY
+
' -O binary $TARGET rtthread.bin
\n
'
+
SIZE
+
' $TARGET
\n
'
...
...
bsp/stm32f4xx-HAL/rtconfig.py
浏览文件 @
ea850971
...
@@ -43,7 +43,7 @@ if PLATFORM == 'gcc':
...
@@ -43,7 +43,7 @@ if PLATFORM == 'gcc':
OBJCPY
=
PREFIX
+
'objcopy'
OBJCPY
=
PREFIX
+
'objcopy'
DEVICE
=
' -mcpu=cortex-m4 -mthumb -mfpu=fpv4-sp-d16 -mfloat-abi=hard -ffunction-sections -fdata-sections'
DEVICE
=
' -mcpu=cortex-m4 -mthumb -mfpu=fpv4-sp-d16 -mfloat-abi=hard -ffunction-sections -fdata-sections'
CFLAGS
=
DEVICE
+
' -std=c99'
CFLAGS
=
DEVICE
AFLAGS
=
' -c'
+
DEVICE
+
' -x assembler-with-cpp -Wa,-mimplicit-it=thumb '
AFLAGS
=
' -c'
+
DEVICE
+
' -x assembler-with-cpp -Wa,-mimplicit-it=thumb '
LFLAGS
=
DEVICE
+
' -Wl,--gc-sections,-Map=rtthread-stm32.map,-cref,-u,Reset_Handler -T stm32_rom.ld'
LFLAGS
=
DEVICE
+
' -Wl,--gc-sections,-Map=rtthread-stm32.map,-cref,-u,Reset_Handler -T stm32_rom.ld'
...
...
bsp/swm320-lq100/rtconfig.py
浏览文件 @
ea850971
...
@@ -45,7 +45,7 @@ if PLATFORM == 'gcc':
...
@@ -45,7 +45,7 @@ if PLATFORM == 'gcc':
DEVICE
=
' -mcpu='
+
CPU
+
' -mthumb -mfpu='
+
FPU
+
' -mfloat-abi='
+
\
DEVICE
=
' -mcpu='
+
CPU
+
' -mthumb -mfpu='
+
FPU
+
' -mfloat-abi='
+
\
FLOAT_ABI
+
' -ffunction-sections -fdata-sections'
FLOAT_ABI
+
' -ffunction-sections -fdata-sections'
CFLAGS
=
DEVICE
+
' -std=c99'
CFLAGS
=
DEVICE
AFLAGS
=
' -c'
+
DEVICE
+
' -x assembler-with-cpp -Wa,-mimplicit-it=thumb '
AFLAGS
=
' -c'
+
DEVICE
+
' -x assembler-with-cpp -Wa,-mimplicit-it=thumb '
LFLAGS
=
DEVICE
+
' -Wl,--gc-sections,-Map=rtthread.map,-cref,-u,Reset_Handler -T drivers/linker_scripts/link.lds'
LFLAGS
=
DEVICE
+
' -Wl,--gc-sections,-Map=rtthread.map,-cref,-u,Reset_Handler -T drivers/linker_scripts/link.lds'
...
...
bsp/tm4c129x/rtconfig.py
浏览文件 @
ea850971
...
@@ -43,7 +43,7 @@ if PLATFORM == 'gcc':
...
@@ -43,7 +43,7 @@ if PLATFORM == 'gcc':
OBJCPY
=
PREFIX
+
'objcopy'
OBJCPY
=
PREFIX
+
'objcopy'
DEVICE
=
' -mcpu=cortex-m4 -mthumb -mfpu=fpv4-sp-d16 -mfloat-abi=softfp -ffunction-sections -fdata-sections'
DEVICE
=
' -mcpu=cortex-m4 -mthumb -mfpu=fpv4-sp-d16 -mfloat-abi=softfp -ffunction-sections -fdata-sections'
CFLAGS
=
DEVICE
+
' -
std=c99 -
Dgcc'
CFLAGS
=
DEVICE
+
' -Dgcc'
AFLAGS
=
' -c'
+
DEVICE
+
' -x assembler-with-cpp -Wa,-mimplicit-it=thumb '
AFLAGS
=
' -c'
+
DEVICE
+
' -x assembler-with-cpp -Wa,-mimplicit-it=thumb '
LFLAGS
=
DEVICE
+
' -Wl,--gc-sections,-Map=rtthread-tm4c129x.map,-cref,-u,Reset_Handler -T tm4c_rom.ld'
LFLAGS
=
DEVICE
+
' -Wl,--gc-sections,-Map=rtthread-tm4c129x.map,-cref,-u,Reset_Handler -T tm4c_rom.ld'
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录