Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
okll00
rt-thread
提交
b734026d
R
rt-thread
项目概览
okll00
/
rt-thread
与 Fork 源项目一致
Fork自
RT-Thread / rt-thread
通知
5
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
R
rt-thread
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
b734026d
编写于
10月 29, 2019
作者:
S
SummerGift
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
[update] g0 series bsp
上级
60f0f476
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
12 addition
and
22 deletion
+12
-22
bsp/stm32/libraries/STM32G0xx_HAL/SConscript
bsp/stm32/libraries/STM32G0xx_HAL/SConscript
+2
-2
bsp/stm32/stm32g071-st-nucleo/board/SConscript
bsp/stm32/stm32g071-st-nucleo/board/SConscript
+3
-3
bsp/stm32/stm32g071-st-nucleo/project.ewp
bsp/stm32/stm32g071-st-nucleo/project.ewp
+4
-7
bsp/stm32/stm32g071-st-nucleo/project.uvprojx
bsp/stm32/stm32g071-st-nucleo/project.uvprojx
+3
-10
未找到文件。
bsp/stm32/libraries/STM32G0xx_HAL/SConscript
浏览文件 @
b734026d
...
...
@@ -6,7 +6,7 @@ from building import *
cwd
=
GetCurrentDir
()
src
=
Split
(
"""
CMSIS/ST/STM32G0xx/Source/Templates/system_stm32g0xx.c
CMSIS/
Device/
ST/STM32G0xx/Source/Templates/system_stm32g0xx.c
STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_cec.c
STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_rcc.c
STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_rcc_ex.c
...
...
@@ -51,7 +51,7 @@ if GetDepend(['RT_USING_WDT']):
src
+=
[
'STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_wwdg.c'
]
path
=
[
cwd
+
'/STM32G0xx_HAL_Driver/Inc'
,
cwd
+
'/CMSIS/ST/STM32G0xx/Include'
,
cwd
+
'/CMSIS/
Device/
ST/STM32G0xx/Include'
,
cwd
+
'/CMSIS/Include'
]
CPPDEFINES
=
[
'USE_HAL_DRIVER'
]
...
...
bsp/stm32/stm32g071-st-nucleo/board/SConscript
浏览文件 @
b734026d
...
...
@@ -18,11 +18,11 @@ path += [cwd + '/CubeMX_Config/Inc']
startup_path_prefix
=
SDK_LIB
if
rtconfig
.
CROSS_TOOL
==
'gcc'
:
src
+=
[
startup_path_prefix
+
'/STM32G0xx_HAL/CMSIS/ST/STM32G0xx/Source/Templates/gcc/startup_stm32g071xx.s'
]
src
+=
[
startup_path_prefix
+
'/STM32G0xx_HAL/CMSIS/
Device/
ST/STM32G0xx/Source/Templates/gcc/startup_stm32g071xx.s'
]
elif
rtconfig
.
CROSS_TOOL
==
'keil'
:
src
+=
[
startup_path_prefix
+
'/STM32G0xx_HAL/CMSIS/ST/STM32G0xx/Source/Templates/arm/startup_stm32g071xx.s'
]
src
+=
[
startup_path_prefix
+
'/STM32G0xx_HAL/CMSIS/
Device/
ST/STM32G0xx/Source/Templates/arm/startup_stm32g071xx.s'
]
elif
rtconfig
.
CROSS_TOOL
==
'iar'
:
src
+=
[
startup_path_prefix
+
'/STM32G0xx_HAL/CMSIS/ST/STM32G0xx/Source/Templates/iar/startup_stm32g071xx.s'
]
src
+=
[
startup_path_prefix
+
'/STM32G0xx_HAL/CMSIS/
Device/
ST/STM32G0xx/Source/Templates/iar/startup_stm32g071xx.s'
]
CPPDEFINES
=
[
'STM32G071xx'
]
group
=
DefineGroup
(
'Drivers'
,
src
,
depend
=
[
''
],
CPPPATH
=
path
,
CPPDEFINES
=
CPPDEFINES
)
...
...
bsp/stm32/stm32g071-st-nucleo/project.ewp
浏览文件 @
b734026d
...
...
@@ -354,12 +354,12 @@
<state>$PROJ_DIR$\..\..\..\libcpu\arm\cortex-m0</state>
<state>$PROJ_DIR$\..\..\..\components\finsh</state>
<state>$PROJ_DIR$\..\..\..\libcpu\arm\common</state>
<state>$PROJ_DIR$\..\libraries\STM32G0xx_HAL\CMSIS\ST\STM32G0xx\Include</state>
<state>$PROJ_DIR$\..\..\..\components\drivers\include</state>
<state>$PROJ_DIR$\..\libraries\STM32G0xx_HAL\STM32G0xx_HAL_Driver\Inc</state>
<state>$PROJ_DIR$\.</state>
<state>$PROJ_DIR$\applications</state>
<state>$PROJ_DIR$\..\libraries\HAL_Drivers\config</state>
<state>$PROJ_DIR$\..\libraries\STM32G0xx_HAL\CMSIS\Device\ST\STM32G0xx\Include</state>
<state>$PROJ_DIR$\board</state>
<state>$PROJ_DIR$\..\..\..\components\libc\compilers\common</state>
<state>$PROJ_DIR$\..\libraries\STM32G0xx_HAL\CMSIS\Include</state>
...
...
@@ -1406,12 +1406,12 @@
<state>$PROJ_DIR$\..\..\..\libcpu\arm\cortex-m0</state>
<state>$PROJ_DIR$\..\..\..\components\finsh</state>
<state>$PROJ_DIR$\..\..\..\libcpu\arm\common</state>
<state>$PROJ_DIR$\..\libraries\STM32G0xx_HAL\CMSIS\ST\STM32G0xx\Include</state>
<state>$PROJ_DIR$\..\..\..\components\drivers\include</state>
<state>$PROJ_DIR$\..\libraries\STM32G0xx_HAL\STM32G0xx_HAL_Driver\Inc</state>
<state>$PROJ_DIR$\.</state>
<state>$PROJ_DIR$\applications</state>
<state>$PROJ_DIR$\..\libraries\HAL_Drivers\config</state>
<state>$PROJ_DIR$\..\libraries\STM32G0xx_HAL\CMSIS\Device\ST\STM32G0xx\Include</state>
<state>$PROJ_DIR$\board</state>
<state>$PROJ_DIR$\..\..\..\components\libc\compilers\common</state>
<state>$PROJ_DIR$\..\libraries\STM32G0xx_HAL\CMSIS\Include</state>
...
...
@@ -2112,9 +2112,6 @@
<file>
<name>$PROJ_DIR$\..\..\..\src\components.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\src\cpu.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\src\device.c</name>
</file>
...
...
@@ -2167,7 +2164,7 @@
<name>$PROJ_DIR$\board\CubeMX_Config\Src\stm32g0xx_hal_msp.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\libraries\STM32G0xx_HAL\CMSIS\ST\STM32G0xx\Source\Templates\iar\startup_stm32g071xx.s</name>
<name>$PROJ_DIR$\..\libraries\STM32G0xx_HAL\CMSIS\
Device\
ST\STM32G0xx\Source\Templates\iar\startup_stm32g071xx.s</name>
</file>
<file>
<name>$PROJ_DIR$\..\libraries\HAL_Drivers\drv_gpio.c</name>
...
...
@@ -2275,7 +2272,7 @@
<group>
<name>STM32_HAL</name>
<file>
<name>$PROJ_DIR$\..\libraries\STM32G0xx_HAL\CMSIS\ST\STM32G0xx\Source\Templates\system_stm32g0xx.c</name>
<name>$PROJ_DIR$\..\libraries\STM32G0xx_HAL\CMSIS\
Device\
ST\STM32G0xx\Source\Templates\system_stm32g0xx.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\libraries\STM32G0xx_HAL\STM32G0xx_HAL_Driver\Src\stm32g0xx_hal_cec.c</name>
...
...
bsp/stm32/stm32g071-st-nucleo/project.uvprojx
浏览文件 @
b734026d
...
...
@@ -334,7 +334,7 @@
<MiscControls
/>
<Define>
USE_HAL_DRIVER, STM32G071xx
</Define>
<Undefine
/>
<IncludePath>
.;..\..\..\include;applications;.;board;board\CubeMX_Config\Inc;..\libraries\HAL_Drivers;..\libraries\HAL_Drivers\config;..\..\..\libcpu\arm\common;..\..\..\libcpu\arm\cortex-m0;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\finsh;..\..\..\components\libc\compilers\common;..\libraries\STM32G0xx_HAL\STM32G0xx_HAL_Driver\Inc;..\libraries\STM32G0xx_HAL\CMSIS\ST\STM32G0xx\Include;..\libraries\STM32G0xx_HAL\CMSIS\Include
</IncludePath>
<IncludePath>
.;..\..\..\include;applications;.;board;board\CubeMX_Config\Inc;..\libraries\HAL_Drivers;..\libraries\HAL_Drivers\config;..\..\..\libcpu\arm\common;..\..\..\libcpu\arm\cortex-m0;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\finsh;..\..\..\components\libc\compilers\common;..\libraries\STM32G0xx_HAL\STM32G0xx_HAL_Driver\Inc;..\libraries\STM32G0xx_HAL\CMSIS\
Device\
ST\STM32G0xx\Include;..\libraries\STM32G0xx_HAL\CMSIS\Include
</IncludePath>
</VariousControls>
</Cads>
<Aads>
...
...
@@ -391,13 +391,6 @@
<FilePath>
..\..\..\src\components.c
</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>
cpu.c
</FileName>
<FileType>
1
</FileType>
<FilePath>
..\..\..\src\cpu.c
</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>
device.c
</FileName>
...
...
@@ -513,7 +506,7 @@
<File>
<FileName>
startup_stm32g071xx.s
</FileName>
<FileType>
2
</FileType>
<FilePath>
..\libraries\STM32G0xx_HAL\CMSIS\ST\STM32G0xx\Source\Templates\arm\startup_stm32g071xx.s
</FilePath>
<FilePath>
..\libraries\STM32G0xx_HAL\CMSIS\
Device\
ST\STM32G0xx\Source\Templates\arm\startup_stm32g071xx.s
</FilePath>
</File>
</Files>
<Files>
...
...
@@ -742,7 +735,7 @@
<File>
<FileName>
system_stm32g0xx.c
</FileName>
<FileType>
1
</FileType>
<FilePath>
..\libraries\STM32G0xx_HAL\CMSIS\ST\STM32G0xx\Source\Templates\system_stm32g0xx.c
</FilePath>
<FilePath>
..\libraries\STM32G0xx_HAL\CMSIS\
Device\
ST\STM32G0xx\Source\Templates\system_stm32g0xx.c
</FilePath>
</File>
</Files>
<Files>
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录