Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
BaiXuePrincess
rt-thread
提交
abba1dda
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看板
体验新版 GitCode,发现更多精彩内容 >>
未验证
提交
abba1dda
编写于
6月 18, 2019
作者:
B
Bernard Xiong
提交者:
GitHub
6月 18, 2019
浏览文件
操作
浏览文件
下载
差异文件
Merge pull request #2782 from willianchanlovegithub/mm32l3xx
[bsp][mm32l3xx]Fix compilation errors
上级
93de6812
74cfa9e5
变更
9
展开全部
隐藏空白更改
内联
并排
Showing
9 changed file
with
269 addition
and
1000 deletion
+269
-1000
bsp/mm32l3xx/.config
bsp/mm32l3xx/.config
+62
-2
bsp/mm32l3xx/Libraries/SConscript
bsp/mm32l3xx/Libraries/SConscript
+2
-4
bsp/mm32l3xx/project.ewp
bsp/mm32l3xx/project.ewp
+6
-6
bsp/mm32l3xx/project.uvoptx
bsp/mm32l3xx/project.uvoptx
+3
-931
bsp/mm32l3xx/project.uvprojx
bsp/mm32l3xx/project.uvprojx
+178
-54
bsp/mm32l3xx/rtconfig.h
bsp/mm32l3xx/rtconfig.h
+15
-1
bsp/mm32l3xx/rtconfig.py
bsp/mm32l3xx/rtconfig.py
+1
-1
bsp/mm32l3xx/template.uvoptx
bsp/mm32l3xx/template.uvoptx
+1
-1
bsp/mm32l3xx/template.uvprojx
bsp/mm32l3xx/template.uvprojx
+1
-0
未找到文件。
bsp/mm32l3xx/.config
浏览文件 @
abba1dda
...
...
@@ -7,6 +7,7 @@
# RT-Thread Kernel
#
CONFIG_RT_NAME_MAX
=
8
# CONFIG_RT_USING_ARCH_DATA_TYPE is not set
# CONFIG_RT_USING_SMP is not set
CONFIG_RT_ALIGN_SIZE
=
4
# CONFIG_RT_THREAD_PRIORITY_8 is not set
...
...
@@ -64,7 +65,8 @@ CONFIG_RT_USING_DEVICE=y
CONFIG_RT_USING_CONSOLE
=
y
CONFIG_RT_CONSOLEBUF_SIZE
=
128
CONFIG_RT_CONSOLE_DEVICE_NAME
=
"uart1"
CONFIG_RT_VER_NUM
=
0
x40001
CONFIG_RT_VER_NUM
=
0
x40002
# CONFIG_RT_USING_CPU_FFS is not set
# CONFIG_ARCH_CPU_STACK_GROWS_UPWARD is not set
#
...
...
@@ -109,6 +111,7 @@ CONFIG_FINSH_ARG_MAX=10
#
CONFIG_RT_USING_DEVICE_IPC
=
y
CONFIG_RT_PIPE_BUFSZ
=
512
# CONFIG_RT_USING_SYSTEM_WORKQUEUE is not set
CONFIG_RT_USING_SERIAL
=
y
# CONFIG_RT_SERIAL_USING_DMA is not set
CONFIG_RT_SERIAL_RB_BUFSZ
=
64
...
...
@@ -130,6 +133,11 @@ CONFIG_RT_USING_PIN=y
# CONFIG_RT_USING_AUDIO is not set
# CONFIG_RT_USING_SENSOR is not set
#
# Using Hardware Crypto drivers
#
# CONFIG_RT_USING_HWCRYPTO is not set
#
# Using WiFi
#
...
...
@@ -156,6 +164,11 @@ CONFIG_RT_USING_PIN=y
#
# CONFIG_RT_USING_SAL is not set
#
# Network interface device
#
# CONFIG_RT_USING_NETDEV is not set
#
# light weight TCP/IP stack
#
...
...
@@ -179,7 +192,6 @@ CONFIG_RT_USING_PIN=y
#
# Utilities
#
# CONFIG_RT_USING_LOGTRACE is not set
# CONFIG_RT_USING_RYM is not set
# CONFIG_RT_USING_ULOG is not set
# CONFIG_RT_USING_UTEST is not set
...
...
@@ -198,6 +210,7 @@ CONFIG_RT_USING_PIN=y
# CONFIG_PKG_USING_WEBTERMINAL is not set
# CONFIG_PKG_USING_CJSON is not set
# CONFIG_PKG_USING_JSMN is not set
# CONFIG_PKG_USING_LIBMODBUS is not set
# CONFIG_PKG_USING_LJSON is not set
# CONFIG_PKG_USING_EZXML is not set
# CONFIG_PKG_USING_NANOPB is not set
...
...
@@ -215,6 +228,7 @@ CONFIG_RT_USING_PIN=y
# Wiced WiFi
#
# CONFIG_PKG_USING_WLAN_WICED is not set
# CONFIG_PKG_USING_RW007 is not set
# CONFIG_PKG_USING_COAP is not set
# CONFIG_PKG_USING_NOPOLL is not set
# CONFIG_PKG_USING_NETUTILS is not set
...
...
@@ -229,6 +243,8 @@ CONFIG_RT_USING_PIN=y
# CONFIG_PKG_USING_ALI_IOTKIT is not set
# CONFIG_PKG_USING_AZURE is not set
# CONFIG_PKG_USING_TENCENT_IOTKIT is not set
# CONFIG_PKG_USING_NIMBLE is not set
# CONFIG_PKG_USING_OTA_DOWNLOADER is not set
#
# security packages
...
...
@@ -260,6 +276,7 @@ CONFIG_RT_USING_PIN=y
# CONFIG_PKG_USING_RDB is not set
# CONFIG_PKG_USING_QRCODE is not set
# CONFIG_PKG_USING_ULOG_EASYFLASH is not set
# CONFIG_PKG_USING_ADBD is not set
#
# system packages
...
...
@@ -280,6 +297,18 @@ CONFIG_RT_USING_PIN=y
#
# peripheral libraries and drivers
#
#
# sensors drivers
#
# CONFIG_PKG_USING_LSM6DSL is not set
# CONFIG_PKG_USING_LPS22HB is not set
# CONFIG_PKG_USING_HTS221 is not set
# CONFIG_PKG_USING_LSM303AGR is not set
# CONFIG_PKG_USING_BME280 is not set
# CONFIG_PKG_USING_BMA400 is not set
# CONFIG_PKG_USING_BMI160_BMX160 is not set
# CONFIG_PKG_USING_SPL0601 is not set
# CONFIG_PKG_USING_REALTEK_AMEBA is not set
# CONFIG_PKG_USING_SHT2X is not set
# CONFIG_PKG_USING_AHT10 is not set
...
...
@@ -290,6 +319,8 @@ CONFIG_RT_USING_PIN=y
# CONFIG_PKG_USING_BUTTON is not set
# CONFIG_PKG_USING_MPU6XXX is not set
# CONFIG_PKG_USING_PCF8574 is not set
# CONFIG_PKG_USING_SX12XX is not set
# CONFIG_PKG_USING_SIGNAL_LED is not set
# CONFIG_PKG_USING_KENDRYTE_SDK is not set
#
...
...
@@ -317,6 +348,35 @@ CONFIG_RT_USING_PIN=y
# CONFIG_PKG_USING_HELLO is not set
# CONFIG_PKG_USING_VI is not set
#
# Privated Packages of RealThread
#
# CONFIG_PKG_USING_CODEC is not set
# CONFIG_PKG_USING_PLAYER is not set
# CONFIG_PKG_USING_MPLAYER is not set
# CONFIG_PKG_USING_PERSIMMON_SRC is not set
# CONFIG_PKG_USING_JS_PERSIMMON is not set
# CONFIG_PKG_USING_JERRYSCRIPT_WIN32 is not set
# CONFIG_PKG_USING_LIBRWS is not set
#
# Network Utilities
#
# CONFIG_PKG_USING_WICED 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_RDBD_SRC is not set
# CONFIG_PKG_USING_RTINSIGHT is not set
# CONFIG_PKG_USING_SMARTCONFIG is not set
# CONFIG_PKG_USING_RTX is not set
# CONFIG_RT_USING_TESTCASE is not set
# CONFIG_PKG_USING_NGHTTP2 is not set
# CONFIG_PKG_USING_AVS is not set
# CONFIG_PKG_USING_STS is not set
# CONFIG_PKG_USING_DLMS is not set
#
# Hardware Drivers Config
#
...
...
bsp/mm32l3xx/Libraries/SConscript
浏览文件 @
abba1dda
...
...
@@ -2,14 +2,12 @@ from building import *
import
rtconfig
cwd
=
GetCurrentDir
()
src
=
[
'MM32L3xx/Source/system_MM32L3xx.c'
]
CPPPATH
=
[
cwd
+
'/CMSIS/CORE'
,
cwd
+
'/MM32L3xx/Include'
,
cwd
+
'/MM32L3xx/Source'
,
cwd
+
'/MM32L3xx/HAL_lib/inc'
]
CPPPATH
=
[
cwd
+
'/CMSIS/
KEIL_
CORE'
,
cwd
+
'/MM32L3xx/Include'
,
cwd
+
'/MM32L3xx/Source'
,
cwd
+
'/MM32L3xx/HAL_lib/inc'
]
src
+=
Glob
(
'MM32L3xx/HAL_lib/src/*.c'
)
CPPDEFINES
=
[
'USE_STDPERIPH_DRIVER'
]
if
rtconfig
.
CROSS_TOOL
==
'gcc'
:
src
+=
[
'MM32L3xx/Source/GCC_StartAsm/startup_MM32L3xx.s'
]
elif
rtconfig
.
CROSS_TOOL
==
'keil'
:
if
rtconfig
.
CROSS_TOOL
==
'keil'
:
src
+=
[
'MM32L3xx/Source/KEIL_StartAsm/startup_MM32L3xx.s'
]
elif
rtconfig
.
CROSS_TOOL
==
'iar'
:
src
+=
[
'MM32L3xx/Source/IAR_StartAsm/startup_MM32L3xx.s'
]
...
...
bsp/mm32l3xx/project.ewp
浏览文件 @
abba1dda
...
...
@@ -345,15 +345,15 @@
<option>
<name>CCIncludePath2</name>
<state />
<state>$PROJ_DIR$\..\..\components\finsh</state>
<state>$PROJ_DIR$\applications</state>
<state>$PROJ_DIR$\..\..\libcpu\arm\common</state>
<state>$PROJ_DIR$\Libraries\CMSIS\KEIL_CORE</state>
<state>$PROJ_DIR$\..\..\components\finsh</state>
<state>$PROJ_DIR$\drivers</state>
<state>$PROJ_DIR$\.</state>
<state>$PROJ_DIR$\..\..\include</state>
<state>$PROJ_DIR$\Libraries\MM32L3xx\HAL_lib\inc</state>
<state>$PROJ_DIR$\..\..\libcpu\arm\cortex-m3</state>
<state>$PROJ_DIR$\
Libraries\CMSIS\CORE
</state>
<state>$PROJ_DIR$\
..\..\libcpu\arm\common
</state>
<state>$PROJ_DIR$\Libraries\MM32L3xx\Source</state>
<state>$PROJ_DIR$\..\..\components\drivers\include</state>
<state>$PROJ_DIR$\Libraries\MM32L3xx\Include</state>
...
...
@@ -1376,15 +1376,15 @@
<option>
<name>CCIncludePath2</name>
<state />
<state>$PROJ_DIR$\..\..\components\finsh</state>
<state>$PROJ_DIR$\applications</state>
<state>$PROJ_DIR$\..\..\libcpu\arm\common</state>
<state>$PROJ_DIR$\Libraries\CMSIS\KEIL_CORE</state>
<state>$PROJ_DIR$\..\..\components\finsh</state>
<state>$PROJ_DIR$\drivers</state>
<state>$PROJ_DIR$\.</state>
<state>$PROJ_DIR$\..\..\include</state>
<state>$PROJ_DIR$\Libraries\MM32L3xx\HAL_lib\inc</state>
<state>$PROJ_DIR$\..\..\libcpu\arm\cortex-m3</state>
<state>$PROJ_DIR$\
Libraries\CMSIS\CORE
</state>
<state>$PROJ_DIR$\
..\..\libcpu\arm\common
</state>
<state>$PROJ_DIR$\Libraries\MM32L3xx\Source</state>
<state>$PROJ_DIR$\..\..\components\drivers\include</state>
<state>$PROJ_DIR$\Libraries\MM32L3xx\Include</state>
...
...
bsp/mm32l3xx/project.uvoptx
浏览文件 @
abba1dda
此差异已折叠。
点击以展开。
bsp/mm32l3xx/project.uvprojx
浏览文件 @
abba1dda
此差异已折叠。
点击以展开。
bsp/mm32l3xx/rtconfig.h
浏览文件 @
abba1dda
...
...
@@ -40,7 +40,7 @@
#define RT_USING_CONSOLE
#define RT_CONSOLEBUF_SIZE 128
#define RT_CONSOLE_DEVICE_NAME "uart1"
#define RT_VER_NUM 0x4000
1
#define RT_VER_NUM 0x4000
2
/* RT-Thread Components */
...
...
@@ -78,6 +78,9 @@
#define RT_SERIAL_RB_BUFSZ 64
#define RT_USING_PIN
/* Using Hardware Crypto drivers */
/* Using WiFi */
...
...
@@ -92,6 +95,9 @@
/* Socket abstraction layer */
/* Network interface device */
/* light weight TCP/IP stack */
...
...
@@ -140,6 +146,8 @@
/* peripheral libraries and drivers */
/* sensors drivers */
/* miscellaneous packages */
...
...
@@ -147,6 +155,12 @@
/* samples: kernel and components samples */
/* Privated Packages of RealThread */
/* Network Utilities */
/* Hardware Drivers Config */
/* On-chip Peripheral Drivers */
...
...
bsp/mm32l3xx/rtconfig.py
浏览文件 @
abba1dda
...
...
@@ -42,7 +42,7 @@ if PLATFORM == 'gcc':
OBJDUMP
=
PREFIX
+
'objdump'
OBJCPY
=
PREFIX
+
'objcopy'
DEVICE
=
' -mcpu=
'
+
CPU
+
'
-ffunction-sections -fdata-sections -Wall'
DEVICE
=
' -mcpu=
cortex-m3 -mthumb
-ffunction-sections -fdata-sections -Wall'
CFLAGS
=
DEVICE
+
' -std=c99'
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'
...
...
bsp/mm32l3xx/template.uvoptx
浏览文件 @
abba1dda
...
...
@@ -120,7 +120,7 @@
<SetRegEntry>
<Number>
0
</Number>
<Key>
MM32LINKCM3
</Key>
<Name>
-U6175B4CC7 -O206 -S0 -C0 -
TO18 -TC10000000 -TP21 -TDS8007 -TDT0 -TDC1F -TIEFFFFFFFF -TIP8 -FO7
-FD20000000 -FC1000 -FN1 -FF0MM32L3xx_128.FLM -FS08000000 -FL020000 -FP0($$Device:MM32L373PF$Flash\MM32L3xx_128.FLM)
</Name>
<Name>
-U6175B4CC7 -O206 -S0 -C0 -
N00("ARM CoreSight SW-DP") -D00(2BA01477) -L00(0) -TO18 -TC10000000 -TP21 -TDS8007 -TDT0 -TDC1F -TIEFFFFFFFF -TIP8 -FO15
-FD20000000 -FC1000 -FN1 -FF0MM32L3xx_128.FLM -FS08000000 -FL020000 -FP0($$Device:MM32L373PF$Flash\MM32L3xx_128.FLM)
</Name>
</SetRegEntry>
<SetRegEntry>
<Number>
0
</Number>
...
...
bsp/mm32l3xx/template.uvprojx
浏览文件 @
abba1dda
...
...
@@ -184,6 +184,7 @@
<hadXRAM>
0
</hadXRAM>
<uocXRam>
0
</uocXRam>
<RvdsVP>
0
</RvdsVP>
<RvdsMve>
0
</RvdsMve>
<hadIRAM2>
0
</hadIRAM2>
<hadIROM2>
0
</hadIROM2>
<StupSel>
8
</StupSel>
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录