Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
BaiXuePrincess
rt-thread
提交
ddc86ccc
R
rt-thread
项目概览
BaiXuePrincess
/
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看板
提交
ddc86ccc
编写于
8月 06, 2018
作者:
L
liang yongxiang
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
[bsp][stm32l476-nucleo] support "scons --target=mdk"
上级
fb539cfd
变更
5
展开全部
隐藏空白更改
内联
并排
Showing
5 changed file
with
475 addition
and
496 deletion
+475
-496
bsp/stm32l476-nucleo/.config
bsp/stm32l476-nucleo/.config
+42
-17
bsp/stm32l476-nucleo/project.uvoptx
bsp/stm32l476-nucleo/project.uvoptx
+350
-332
bsp/stm32l476-nucleo/project.uvprojx
bsp/stm32l476-nucleo/project.uvprojx
+42
-36
bsp/stm32l476-nucleo/rtconfig.h
bsp/stm32l476-nucleo/rtconfig.h
+12
-102
bsp/stm32l476-nucleo/rtconfig.py
bsp/stm32l476-nucleo/rtconfig.py
+29
-9
未找到文件。
bsp/stm32l476-nucleo/.config
浏览文件 @
ddc86ccc
...
...
@@ -13,13 +13,22 @@ CONFIG_RT_THREAD_PRIORITY_32=y
# CONFIG_RT_THREAD_PRIORITY_256 is not set
CONFIG_RT_THREAD_PRIORITY_MAX
=
32
CONFIG_RT_TICK_PER_SECOND
=
100
CONFIG_RT_DEBUG
=
y
CONFIG_RT_USING_OVERFLOW_CHECK
=
y
CONFIG_RT_DEBUG_INIT
=
0
CONFIG_RT_DEBUG_THREAD
=
0
CONFIG_RT_USING_HOOK
=
y
CONFIG_RT_IDEL_HOOK_LIST_SIZE
=
4
CONFIG_IDLE_THREAD_STACK_SIZE
=
256
# CONFIG_RT_USING_TIMER_SOFT is not set
CONFIG_RT_DEBUG
=
y
# CONFIG_RT_DEBUG_INIT_CONFIG is not set
# CONFIG_RT_DEBUG_THREAD_CONFIG is not set
# CONFIG_RT_DEBUG_SCHEDULER_CONFIG is not set
# CONFIG_RT_DEBUG_IPC_CONFIG is not set
# CONFIG_RT_DEBUG_TIMER_CONFIG is not set
# CONFIG_RT_DEBUG_IRQ_CONFIG is not set
# CONFIG_RT_DEBUG_MEM_CONFIG is not set
# CONFIG_RT_DEBUG_SLAB_CONFIG is not set
# CONFIG_RT_DEBUG_MEMHEAP_CONFIG is not set
# CONFIG_RT_DEBUG_MODULE_CONFIG is not set
#
# Inter-Thread communication
...
...
@@ -46,6 +55,7 @@ CONFIG_RT_USING_HEAP=y
# Kernel Device Object
#
CONFIG_RT_USING_DEVICE
=
y
# CONFIG_RT_USING_DEVICE_OPS is not set
# CONFIG_RT_USING_INTERRUPT_INFO is not set
CONFIG_RT_USING_CONSOLE
=
y
CONFIG_RT_CONSOLEBUF_SIZE
=
128
...
...
@@ -58,6 +68,7 @@ CONFIG_RT_CONSOLE_DEVICE_NAME="uart2"
CONFIG_RT_USING_COMPONENTS_INIT
=
y
CONFIG_RT_USING_USER_MAIN
=
y
CONFIG_RT_MAIN_THREAD_STACK_SIZE
=
2048
CONFIG_RT_MAIN_THREAD_PRIORITY
=
10
#
# C++ features
...
...
@@ -81,6 +92,7 @@ CONFIG_FINSH_CMD_SIZE=80
CONFIG_FINSH_USING_MSH
=
y
CONFIG_FINSH_USING_MSH_DEFAULT
=
y
# CONFIG_FINSH_USING_MSH_ONLY is not set
CONFIG_FINSH_ARG_MAX
=
10
#
# Device virtual file system
...
...
@@ -91,12 +103,14 @@ CONFIG_FINSH_USING_MSH_DEFAULT=y
# Device Drivers
#
CONFIG_RT_USING_DEVICE_IPC
=
y
CONFIG_RT_PIPE_BUFSZ
=
512
CONFIG_RT_USING_SERIAL
=
y
# CONFIG_RT_USING_CAN is not set
# CONFIG_RT_USING_HWTIMER is not set
# CONFIG_RT_USING_CPUTIME is not set
# CONFIG_RT_USING_I2C is not set
CONFIG_RT_USING_PIN
=
y
# CONFIG_RT_USING_PWM is not set
# CONFIG_RT_USING_MTD_NOR is not set
# CONFIG_RT_USING_MTD_NAND is not set
# CONFIG_RT_USING_RTC is not set
...
...
@@ -104,6 +118,7 @@ CONFIG_RT_USING_PIN=y
# CONFIG_RT_USING_SPI is not set
# CONFIG_RT_USING_WDT is not set
# CONFIG_RT_USING_WIFI is not set
# CONFIG_RT_USING_AUDIO is not set
#
# Using USB
...
...
@@ -118,9 +133,14 @@ CONFIG_RT_USING_LIBC=y
# CONFIG_RT_USING_PTHREADS is not set
#
# Network
stack
# Network
#
#
# Socket abstraction layer
#
# CONFIG_RT_USING_SAL is not set
#
# light weight TCP/IP stack
#
...
...
@@ -131,6 +151,11 @@ CONFIG_RT_USING_LIBC=y
#
# CONFIG_RT_USING_MODBUS is not set
#
# AT commands
#
# CONFIG_RT_USING_AT is not set
#
# VBUS(Virtual Software BUS)
#
...
...
@@ -154,6 +179,7 @@ CONFIG_RT_USING_LIBC=y
# CONFIG_PKG_USING_MONGOOSE is not set
# CONFIG_PKG_USING_WEBTERMINAL is not set
# CONFIG_PKG_USING_CJSON is not set
# CONFIG_PKG_USING_JSMN is not set
# CONFIG_PKG_USING_LJSON is not set
# CONFIG_PKG_USING_EZXML is not set
# CONFIG_PKG_USING_NANOPB is not set
...
...
@@ -176,6 +202,7 @@ CONFIG_RT_USING_LIBC=y
# CONFIG_PKG_USING_NOPOLL is not set
# CONFIG_PKG_USING_NETUTILS is not set
# CONFIG_PKG_USING_ONENET is not set
# CONFIG_PKG_USING_AT_DEVICE is not set
#
# security packages
...
...
@@ -187,6 +214,7 @@ CONFIG_RT_USING_LIBC=y
#
# language packages
#
# CONFIG_PKG_USING_LUA is not set
# CONFIG_PKG_USING_JERRYSCRIPT is not set
# CONFIG_PKG_USING_MICROPYTHON is not set
...
...
@@ -203,18 +231,16 @@ CONFIG_RT_USING_LIBC=y
# CONFIG_PKG_USING_EASYFLASH is not set
# CONFIG_PKG_USING_EASYLOGGER is not set
# CONFIG_PKG_USING_SYSTEMVIEW is not set
# CONFIG_PKG_USING_IPERF is not set
#
# system packages
#
#
# RT-Thread GUI Engine
#
# CONFIG_PKG_USING_GUIENGINE is not set
# CONFIG_PKG_USING_CAIRO is not set
# CONFIG_PKG_USING_PIXMAN is not set
# CONFIG_PKG_USING_LWEXT4 is not set
# CONFIG_PKG_USING_PARTITION is not set
# CONFIG_PKG_USING_FAL is not set
# CONFIG_PKG_USING_SQLITE is not set
# CONFIG_PKG_USING_RTI is not set
# CONFIG_PKG_USING_LITTLEVGL2RTT is not set
...
...
@@ -224,15 +250,19 @@ CONFIG_RT_USING_LIBC=y
#
# CONFIG_PKG_USING_STM32F4_HAL is not set
# CONFIG_PKG_USING_STM32F4_DRIVERS is not set
# CONFIG_PKG_USING_REALTEK_AMEBA is not set
#
# miscellaneous packages
#
# CONFIG_PKG_USING_OPTPARSE is not set
# CONFIG_PKG_USING_FASTLZ is not set
# CONFIG_PKG_USING_MINILZO is not set
# CONFIG_PKG_USING_QUICKLZ is not set
# CONFIG_PKG_USING_MULTIBUTTON is not set
# CONFIG_PKG_USING_CANFESTIVAL is not set
# CONFIG_PKG_USING_ZLIB is not set
# CONFIG_PKG_USING_DSTR is not set
#
# sample package
...
...
@@ -254,19 +284,14 @@ CONFIG_RT_USING_LIBC=y
#
# Network Utilities
#
# CONFIG_PKG_USING_W
LAN_WICED_SRC
is not set
# CONFIG_PKG_USING_W
ICED
is not set
# CONFIG_PKG_USING_CLOUDSDK is not set
# CONFIG_PKG_USING_COREMARK is not set
# CONFIG_PKG_USING_POWER_MANAGER is not set
# CONFIG_PKG_USING_RT_OTA is not set
# CONFIG_PKG_USING_RT_AT is not set
# CONFIG_PKG_USING_RDB is not set
#
# Test Packages of RealThread
#
# CONFIG_PKG_USING_JERRYSCRIPT_WIN32 is not set
# CONFIG_PKG_USING_JS_PERSIMMON is not set
# CONFIG_PKG_USING_RTINSIGHT is not set
# CONFIG_PKG_USING_STM32_SDIO is not set
# CONFIG_BSP_USING_UART1 is not set
CONFIG_BSP_USING_UART2
=
y
# CONFIG_BSP_USING_UART3 is not set
...
...
bsp/stm32l476-nucleo/project.uvoptx
浏览文件 @
ddc86ccc
此差异已折叠。
点击以展开。
bsp/stm32l476-nucleo/project.uvprojx
浏览文件 @
ddc86ccc
...
...
@@ -184,6 +184,7 @@
<hadXRAM>
0
</hadXRAM>
<uocXRam>
0
</uocXRam>
<RvdsVP>
2
</RvdsVP>
<RvdsMve>
0
</RvdsMve>
<hadIRAM2>
1
</hadIRAM2>
<hadIROM2>
0
</hadIROM2>
<StupSel>
8
</StupSel>
...
...
@@ -337,7 +338,7 @@
<MiscControls></MiscControls>
<Define>
USE_HAL_DRIVER, STM32L476xx, RT_USING_ARM_LIBC
</Define>
<Undefine></Undefine>
<IncludePath>
drivers;Libraries\STM32L4xx_HAL_Driver\Inc;Libraries\CMSIS\Device\ST\STM32L4xx\Include;Libraries\CMSIS\Include;applications;.;..\..\include;..\..\libcpu\arm\cortex-m4;..\..\libcpu\arm\common;..\..\components\libc\compilers\armlibc;..\..\components\drivers\include;..\..\components\drivers\include;..\..\components\drivers\include;..\..\components\finsh
</IncludePath>
<IncludePath>
applications;.;drivers;Libraries\STM32L4xx_HAL_Driver\Inc;Libraries\CMSIS\Device\ST\STM32L4xx\Include;Libraries\CMSIS\Include;..\..\include;..\..\libcpu\arm\cortex-m4;..\..\libcpu\arm\common;..\..\components\drivers\include;..\..\components\drivers\include;..\..\components\drivers\include;..\..\components\finsh;..\..\components\libc\compilers\armlibc
</IncludePath>
</VariousControls>
</Cads>
<Aads>
...
...
@@ -378,6 +379,16 @@
</TargetArmAds>
</TargetOption>
<Groups>
<Group>
<GroupName>
Applications
</GroupName>
<Files>
<File>
<FileName>
main.c
</FileName>
<FileType>
1
</FileType>
<FilePath>
applications\main.c
</FilePath>
</File>
</Files>
</Group>
<Group>
<GroupName>
Drivers
</GroupName>
<Files>
...
...
@@ -888,16 +899,6 @@
</File>
</Files>
</Group>
<Group>
<GroupName>
Applications
</GroupName>
<Files>
<File>
<FileName>
main.c
</FileName>
<FileType>
1
</FileType>
<FilePath>
applications\main.c
</FilePath>
</File>
</Files>
</Group>
<Group>
<GroupName>
Kernel
</GroupName>
<Files>
...
...
@@ -941,6 +942,11 @@
<FileType>
1
</FileType>
<FilePath>
..\..\src\mem.c
</FilePath>
</File>
<File>
<FileName>
mempool.c
</FileName>
<FileType>
1
</FileType>
<FilePath>
..\..\src\mempool.c
</FilePath>
</File>
<File>
<FileName>
object.c
</FileName>
<FileType>
1
</FileType>
...
...
@@ -998,31 +1004,6 @@
</File>
</Files>
</Group>
<Group>
<GroupName>
libc
</GroupName>
<Files>
<File>
<FileName>
libc.c
</FileName>
<FileType>
1
</FileType>
<FilePath>
..\..\components\libc\compilers\armlibc\libc.c
</FilePath>
</File>
<File>
<FileName>
mem_std.c
</FileName>
<FileType>
1
</FileType>
<FilePath>
..\..\components\libc\compilers\armlibc\mem_std.c
</FilePath>
</File>
<File>
<FileName>
stubs.c
</FileName>
<FileType>
1
</FileType>
<FilePath>
..\..\components\libc\compilers\armlibc\stubs.c
</FilePath>
</File>
<File>
<FileName>
time.c
</FileName>
<FileType>
1
</FileType>
<FilePath>
..\..\components\libc\compilers\armlibc\time.c
</FilePath>
</File>
</Files>
</Group>
<Group>
<GroupName>
DeviceDrivers
</GroupName>
<Files>
...
...
@@ -1153,6 +1134,31 @@
</File>
</Files>
</Group>
<Group>
<GroupName>
libc
</GroupName>
<Files>
<File>
<FileName>
libc.c
</FileName>
<FileType>
1
</FileType>
<FilePath>
..\..\components\libc\compilers\armlibc\libc.c
</FilePath>
</File>
<File>
<FileName>
mem_std.c
</FileName>
<FileType>
1
</FileType>
<FilePath>
..\..\components\libc\compilers\armlibc\mem_std.c
</FilePath>
</File>
<File>
<FileName>
stubs.c
</FileName>
<FileType>
1
</FileType>
<FilePath>
..\..\components\libc\compilers\armlibc\stubs.c
</FilePath>
</File>
<File>
<FileName>
time.c
</FileName>
<FileType>
1
</FileType>
<FilePath>
..\..\components\libc\compilers\armlibc\time.c
</FilePath>
</File>
</Files>
</Group>
<Group>
<GroupName>
::CMSIS
</GroupName>
</Group>
...
...
bsp/stm32l476-nucleo/rtconfig.h
浏览文件 @
ddc86ccc
...
...
@@ -8,18 +8,14 @@
#define RT_NAME_MAX 8
#define RT_ALIGN_SIZE 4
/* RT_THREAD_PRIORITY_8 is not set */
#define RT_THREAD_PRIORITY_32
/* RT_THREAD_PRIORITY_256 is not set */
#define RT_THREAD_PRIORITY_MAX 32
#define RT_TICK_PER_SECOND 100
#define RT_DEBUG
#define RT_USING_OVERFLOW_CHECK
#define RT_DEBUG_INIT 0
#define RT_DEBUG_THREAD 0
#define RT_USING_HOOK
#define RT_IDEL_HOOK_LIST_SIZE 4
#define IDLE_THREAD_STACK_SIZE 256
/* RT_USING_TIMER_SOFT is not set */
#define RT_DEBUG
/* Inter-Thread communication */
...
...
@@ -28,36 +24,29 @@
#define RT_USING_EVENT
#define RT_USING_MAILBOX
#define RT_USING_MESSAGEQUEUE
/* RT_USING_SIGNALS is not set */
/* Memory Management */
#define RT_USING_MEMPOOL
/* RT_USING_MEMHEAP is not set */
/* RT_USING_NOHEAP is not set */
#define RT_USING_SMALL_MEM
/* RT_USING_SLAB is not set */
/* RT_USING_MEMTRACE is not set */
#define RT_USING_HEAP
/* Kernel Device Object */
#define RT_USING_DEVICE
/* RT_USING_INTERRUPT_INFO is not set */
#define RT_USING_CONSOLE
#define RT_CONSOLEBUF_SIZE 128
#define RT_CONSOLE_DEVICE_NAME "uart2"
/* RT_USING_MODULE is not set */
/* RT-Thread Components */
#define RT_USING_COMPONENTS_INIT
#define RT_USING_USER_MAIN
#define RT_MAIN_THREAD_STACK_SIZE 2048
#define RT_MAIN_THREAD_PRIORITY 10
/* C++ features */
/* RT_USING_CPLUSPLUS is not set */
/* Command shell */
...
...
@@ -67,174 +56,95 @@
#define FINSH_HISTORY_LINES 5
#define FINSH_USING_SYMTAB
#define FINSH_USING_DESCRIPTION
/* FINSH_ECHO_DISABLE_DEFAULT is not set */
#define FINSH_THREAD_PRIORITY 20
#define FINSH_THREAD_STACK_SIZE 4096
#define FINSH_CMD_SIZE 80
/* FINSH_USING_AUTH is not set */
#define FINSH_USING_MSH
#define FINSH_USING_MSH_DEFAULT
/* FINSH_USING_MSH_ONLY is not set */
#define FINSH_ARG_MAX 10
/* Device virtual file system */
/* RT_USING_DFS is not set */
/* Device Drivers */
#define RT_USING_DEVICE_IPC
#define RT_PIPE_BUFSZ 512
#define RT_USING_SERIAL
/* RT_USING_CAN is not set */
/* RT_USING_HWTIMER is not set */
/* RT_USING_CPUTIME is not set */
/* RT_USING_I2C is not set */
#define RT_USING_PIN
/* RT_USING_MTD_NOR is not set */
/* RT_USING_MTD_NAND is not set */
/* RT_USING_RTC is not set */
/* RT_USING_SDIO is not set */
/* RT_USING_SPI is not set */
/* RT_USING_WDT is not set */
/* RT_USING_WIFI is not set */
/* Using USB */
/* RT_USING_USB_HOST is not set */
/* RT_USING_USB_DEVICE is not set */
/* POSIX layer and C standard library */
#define RT_USING_LIBC
/* RT_USING_PTHREADS is not set */
/* Network stack */
/* Network */
/* Socket abstraction layer */
/* light weight TCP/IP stack */
/* RT_USING_LWIP is not set */
/* Modbus master and slave stack */
/* RT_USING_MODBUS is not set */
/* AT commands */
/* VBUS(Virtual Software BUS) */
/* RT_USING_VBUS is not set */
/* Utilities */
/* RT_USING_LOGTRACE is not set */
/* RT_USING_RYM is not set */
/* RT-Thread online packages */
/* IoT - internet of things */
/* PKG_USING_PAHOMQTT is not set */
/* PKG_USING_WEBCLIENT is not set */
/* PKG_USING_MONGOOSE is not set */
/* PKG_USING_WEBTERMINAL is not set */
/* PKG_USING_CJSON is not set */
/* PKG_USING_LJSON is not set */
/* PKG_USING_EZXML is not set */
/* PKG_USING_NANOPB is not set */
/* PKG_USING_GAGENT_CLOUD is not set */
/* Wi-Fi */
/* Marvell WiFi */
/* PKG_USING_WLANMARVELL is not set */
/* Wiced WiFi */
/* PKG_USING_WLAN_WICED is not set */
/* PKG_USING_COAP is not set */
/* PKG_USING_NOPOLL is not set */
/* PKG_USING_NETUTILS is not set */
/* PKG_USING_ONENET is not set */
/* security packages */
/* PKG_USING_MBEDTLS is not set */
/* PKG_USING_libsodium is not set */
/* PKG_USING_TINYCRYPT is not set */
/* language packages */
/* PKG_USING_JERRYSCRIPT is not set */
/* PKG_USING_MICROPYTHON is not set */
/* multimedia packages */
/* PKG_USING_OPENMV is not set */
/* PKG_USING_MUPDF is not set */
/* tools packages */
/* PKG_USING_CMBACKTRACE is not set */
/* PKG_USING_EASYFLASH is not set */
/* PKG_USING_EASYLOGGER is not set */
/* PKG_USING_SYSTEMVIEW is not set */
/* PKG_USING_IPERF is not set */
/* system packages */
/* RT-Thread GUI Engine */
/* PKG_USING_GUIENGINE is not set */
/* PKG_USING_LWEXT4 is not set */
/* PKG_USING_PARTITION is not set */
/* PKG_USING_SQLITE is not set */
/* PKG_USING_RTI is not set */
/* PKG_USING_LITTLEVGL2RTT is not set */
/* peripheral libraries and drivers */
/* PKG_USING_STM32F4_HAL is not set */
/* PKG_USING_STM32F4_DRIVERS is not set */
/* miscellaneous packages */
/* PKG_USING_FASTLZ is not set */
/* PKG_USING_MINILZO is not set */
/* PKG_USING_QUICKLZ is not set */
/* PKG_USING_MULTIBUTTON is not set */
/* PKG_USING_CANFESTIVAL is not set */
/* sample package */
/* PKG_USING_SAMPLES is not set */
/* example package: hello */
/* PKG_USING_HELLO is not set */
/* Privated Packages of RealThread */
/* PKG_USING_CODEC is not set */
/* PKG_USING_PLAYER is not set */
/* PKG_USING_PERSIMMON_SRC is not set */
/* Network Utilities */
/* PKG_USING_WLAN_WICED_SRC is not set */
/* PKG_USING_CLOUDSDK is not set */
/* PKG_USING_COREMARK is not set */
/* PKG_USING_POWER_MANAGER is not set */
/* PKG_USING_RT_OTA is not set */
/* PKG_USING_RT_AT is not set */
/* PKG_USING_RDB is not set */
/* Test Packages of RealThread */
/* PKG_USING_JERRYSCRIPT_WIN32 is not set */
/* PKG_USING_JS_PERSIMMON is not set */
/* BSP_USING_UART1 is not set */
#define BSP_USING_UART2
/* BSP_USING_UART3 is not set */
/* BSP_USING_UART4 is not set */
/* BSP_USING_UART5 is not set */
/* BSP_USING_LPUART1 is not set */
#endif
bsp/stm32l476-nucleo/rtconfig.py
浏览文件 @
ddc86ccc
...
...
@@ -16,10 +16,8 @@ if CROSS_TOOL == 'gcc':
PLATFORM
=
'gcc'
EXEC_PATH
=
'/usr/local/Cellar/arm-none-eabi-gcc/7-2017-q4-major/gcc/bin/'
elif
CROSS_TOOL
==
'keil'
:
print
(
'================ERROR============================'
)
print
(
'Not support iar yet!'
)
print
(
'================================================='
)
exit
(
0
)
PLATFORM
=
'armcc'
EXEC_PATH
=
'C:/Keil'
elif
CROSS_TOOL
==
'iar'
:
print
(
'================ERROR============================'
)
print
(
'Not support iar yet!'
)
...
...
@@ -63,12 +61,34 @@ if PLATFORM == 'gcc':
M_CFLAGS
=
CFLAGS
+
' -mlong-calls -Dsourcerygxx -O0 -fPIC '
M_LFLAGS
=
DEVICE
+
' -Wl,-z,max-page-size=0x4 -shared -fPIC -e main -nostdlib'
elif
PLATFORM
==
'armcc'
:
print
(
'================ERROR============================'
)
print
(
'Not support iar yet!'
)
print
(
'================================================='
)
exit
(
0
)
# toolchains
CC
=
'armcc'
AS
=
'armasm'
AR
=
'armar'
LINK
=
'armlink'
TARGET_EXT
=
'axf'
DEVICE
=
' --device DARMSTM'
CFLAGS
=
DEVICE
+
' --apcs=interwork'
AFLAGS
=
DEVICE
LFLAGS
=
DEVICE
+
' --info sizes --info totals --info unused --info veneers --list rtthread-stm32.map --scatter stm32_rom.sct'
CFLAGS
+=
' --c99'
CFLAGS
+=
' -I'
+
EXEC_PATH
+
'/ARM/RV31/INC'
LFLAGS
+=
' --libpath '
+
EXEC_PATH
+
'/ARM/RV31/LIB'
EXEC_PATH
+=
'/arm/bin40/'
if
BUILD
==
'debug'
:
CFLAGS
+=
' -g -O0'
AFLAGS
+=
' -g'
else
:
CFLAGS
+=
' -O2'
POST_ACTION
=
'fromelf --bin $TARGET --output rtthread.bin
\n
fromelf -z $TARGET'
elif
PLATFORM
==
'iar'
:
print
(
'================ERROR============================'
)
print
(
'Not support iar yet!'
)
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录