Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
BaiXuePrincess
rt-thread
提交
05481094
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看板
提交
05481094
编写于
1月 16, 2019
作者:
F
FindYGL
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
修改之前BSP版本存在的一些问题,使之符合规范
上级
f1a13e1f
变更
7
隐藏空白更改
内联
并排
Showing
7 changed file
with
181 addition
and
168 deletion
+181
-168
bsp/stm32/stm32f103-dofly-lyc8/.config
bsp/stm32/stm32f103-dofly-lyc8/.config
+4
-2
bsp/stm32/stm32f103-dofly-lyc8/README.md
bsp/stm32/stm32f103-dofly-lyc8/README.md
+9
-10
bsp/stm32/stm32f103-dofly-lyc8/board/Kconfig
bsp/stm32/stm32f103-dofly-lyc8/board/Kconfig
+15
-5
bsp/stm32/stm32f103-dofly-lyc8/board/linker_scripts/link.lds
bsp/stm32/stm32f103-dofly-lyc8/board/linker_scripts/link.lds
+1
-1
bsp/stm32/stm32f103-dofly-lyc8/project.uvoptx
bsp/stm32/stm32f103-dofly-lyc8/project.uvoptx
+96
-96
bsp/stm32/stm32f103-dofly-lyc8/project.uvprojx
bsp/stm32/stm32f103-dofly-lyc8/project.uvprojx
+53
-53
bsp/stm32/stm32f103-dofly-lyc8/rtconfig.h
bsp/stm32/stm32f103-dofly-lyc8/rtconfig.h
+3
-1
未找到文件。
bsp/stm32/stm32f103-dofly-lyc8/.config
浏览文件 @
05481094
...
...
@@ -320,7 +320,7 @@ CONFIG_SOC_SERIES_STM32F1=y
#
# Hardware Drivers Config
#
CONFIG_SOC_STM32F103
c
8
=
y
CONFIG_SOC_STM32F103
C
8
=
y
#
# Onboard Peripheral Drivers
...
...
@@ -329,8 +329,10 @@ CONFIG_SOC_STM32F103c8=y
#
# On-chip Peripheral Drivers
#
# CONFIG_BSP_USING_GPIO is not set
CONFIG_BSP_USING_GPIO
=
y
CONFIG_BSP_USING_UART
=
y
CONFIG_BSP_USING_UART1
=
y
# CONFIG_BSP_UART1_RX_USING_DMA is not set
#
# Board extended module Drivers
...
...
bsp/stm32/stm32f103-dofly-lyc8/README.md
浏览文件 @
05481094
# STM32F103
霸道
开发板 BSP 说明
# STM32F103
德飞莱
开发板 BSP 说明
## 简介
...
...
@@ -26,7 +26,6 @@ LY-STM32F103C8V1.2 是德飞莱推出的一款基于 ARM Cortex-M3 内核的开
-
MCU:STM32F103C8T6,主频 72MHz,64KB FLASH ,20KB RAM
-
常用外设
-
LED:1个普通LED,LED1(红色,PB8)
-
常用接口:USB 转串口
-
调试接口,标准 JTAG/SWD
## 外设支持
...
...
@@ -35,16 +34,16 @@ LY-STM32F103C8V1.2 是德飞莱推出的一款基于 ARM Cortex-M3 内核的开
|
**板载外设**
|
**支持情况**
|
**备注**
|
| :----------------- | :----------: | :------------------------------------- |
|
USB 转串口 | 支持 |
|
|
红色LED | 支持 | 使用PB8
|
|
**片上外设**
|
**支持情况**
|
**备注**
|
| GPIO | 支持 | PA0, PA1... PB15 ---> PIN: 0, 1...47|
| UART | 支持 | UART1 |
| SPI | 暂不支持
|
|
| I2C |
暂不支持 |
|
|
RTC | 暂不支持 |
|
| PWM |
暂不支持 |
|
|
**扩展模块**
|
**支持情况**
|
**备注**
|
|
| |
|
| SPI | 暂不支持
| 即将支持
|
| I2C |
暂不支持 | 即将支持
|
|
ADC | 暂不支持 | 即将支持
|
| PWM |
暂不支持 | 即将支持
|
|
**扩展模块**
|
**支持情况**
|
**备注**
|
|
| |
|
## 使用说明
...
...
@@ -88,7 +87,7 @@ msh >
```
### 进阶使用
此 BSP 默认只开启了 GPIO 和 串口1 的功能,如果需使用
SD 卡、Flash
等更多高级功能,需要利用 ENV 工具对BSP 进行配置,步骤如下:
此 BSP 默认只开启了 GPIO 和 串口1 的功能,如果需使用
ADC、PWM
等更多高级功能,需要利用 ENV 工具对BSP 进行配置,步骤如下:
1.
在 bsp 下打开 env 工具。
...
...
bsp/stm32/stm32f103-dofly-lyc8/board/Kconfig
浏览文件 @
05481094
menu "Hardware Drivers Config"
config SOC_STM32F103
c
8
config SOC_STM32F103
C
8
bool
select SOC_SERIES_STM32F1
default y
...
...
@@ -16,11 +16,21 @@ menu "On-chip Peripheral Drivers"
select RT_USING_PIN
default y
config BSP_USING_UART1
bool "Enable UART1"
select RT_USING_SERIAL
menuconfig BSP_USING_UART
bool "Enable UART"
default y
select RT_USING_SERIAL
if BSP_USING_UART
config BSP_USING_UART1
bool "Enable UART1"
default y
config BSP_UART1_RX_USING_DMA
bool "Enable UART1 RX DMA"
depends on BSP_USING_UART1 && RT_SERIAL_USING_DMA
default n
endif
endmenu
menu "Board extended module Drivers"
...
...
bsp/stm32/stm32f103-dofly-lyc8/board/linker_scripts/link.lds
浏览文件 @
05481094
...
...
@@ -5,7 +5,7 @@
/* Program Entry, set to mark it as "used" and avoid gc */
MEMORY
{
ROM (rx) : ORIGIN = 0x08000000, LENGTH = 64k /*
128
KB flash */
ROM (rx) : ORIGIN = 0x08000000, LENGTH = 64k /*
64
KB flash */
RAM (rw) : ORIGIN = 0x20000000, LENGTH = 20k /* 20K sram */
}
ENTRY(Reset_Handler)
...
...
bsp/stm32/stm32f103-dofly-lyc8/project.uvoptx
浏览文件 @
05481094
...
...
@@ -127,7 +127,7 @@
<tRSysVw>
1
</tRSysVw>
<sRunDeb>
0
</sRunDeb>
<sLrtime>
0
</sLrtime>
<nTsel>
3
</nTsel>
<nTsel>
5
</nTsel>
<sDll></sDll>
<sDllPa></sDllPa>
<sDlgDll></sDlgDll>
...
...
@@ -138,7 +138,7 @@
<tDlgDll></tDlgDll>
<tDlgPa></tDlgPa>
<tIfile></tIfile>
<pMon>
S
egger\JL2CM3
.dll
</pMon>
<pMon>
S
TLink\ST-LINKIII-KEIL_SWO
.dll
</pMon>
</DebugOpt>
<TargetDriverDllRegistry>
<SetRegEntry>
...
...
@@ -149,7 +149,7 @@
<SetRegEntry>
<Number>
0
</Number>
<Key>
JL2CM3
</Key>
<Name>
-U
4294967295 -O14 -S2 -ZTIFSpeedSel5000 -A0 -C0 -JU1 -JI127.0.0.1 -JP0 -RST0 -N00("ARM CoreSight JTAG-DP") -D00(3BA00477) -L00(4) -N01("ST TMC") -D01(16410041) -L01(5) -TO18 -TC10000000 -TP21 -TDS8007 -TDT0 -TDC1F -TIEFFFFFFFF -TIP8 -TB1 -TFE0 -FO15 -FD20000000 -FC1000 -FN1 -FF0STM32F10x_128 -FS08000000 -FL020000 -FP0($$Device:STM32F103C8$Flash\STM32F10x_128.FLM)
</Name>
<Name>
-U
30000299 -O78 -S2 -ZTIFSpeedSel5000 -A0 -C0 -JU1 -JI127.0.0.1 -JP0 -RST0 -N00("ARM CoreSight SW-DP") -D00(2BA01477) -L00(4) -TO18 -TC10000000 -TP21 -TDS8007 -TDT0 -TDC1F -TIEFFFFFFFF -TIP8 -TB1 -TFE0 -FO15 -FD20000000 -FC1000 -FN0
</Name>
</SetRegEntry>
<SetRegEntry>
<Number>
0
</Number>
...
...
@@ -203,7 +203,7 @@
</Target>
<Group>
<GroupName>
Applications
</GroupName>
<GroupName>
Kernel
</GroupName>
<tvExp>
1
</tvExp>
<tvExpOptDlg>
0
</tvExpOptDlg>
<cbSel>
0
</cbSel>
...
...
@@ -215,207 +215,207 @@
<tvExp>
0
</tvExp>
<tvExpOptDlg>
0
</tvExpOptDlg>
<bDave2>
0
</bDave2>
<PathWithFileName>
applications\main
.c
</PathWithFileName>
<FilenameWithoutPath>
main
.c
</FilenameWithoutPath>
<PathWithFileName>
..\..\..\src\clock
.c
</PathWithFileName>
<FilenameWithoutPath>
clock
.c
</FilenameWithoutPath>
<RteFlg>
0
</RteFlg>
<bShared>
0
</bShared>
</File>
</Group>
<Group>
<GroupName>
Drivers
</GroupName>
<tvExp>
0
</tvExp>
<tvExpOptDlg>
0
</tvExpOptDlg>
<cbSel>
0
</cbSel>
<RteFlg>
0
</RteFlg>
<File>
<GroupNumber>
2
</GroupNumber>
<GroupNumber>
1
</GroupNumber>
<FileNumber>
2
</FileNumber>
<FileType>
1
</FileType>
<tvExp>
0
</tvExp>
<tvExpOptDlg>
0
</tvExpOptDlg>
<bDave2>
0
</bDave2>
<PathWithFileName>
board\board
.c
</PathWithFileName>
<FilenameWithoutPath>
board
.c
</FilenameWithoutPath>
<PathWithFileName>
..\..\..\src\components
.c
</PathWithFileName>
<FilenameWithoutPath>
components
.c
</FilenameWithoutPath>
<RteFlg>
0
</RteFlg>
<bShared>
0
</bShared>
</File>
<File>
<GroupNumber>
2
</GroupNumber>
<GroupNumber>
1
</GroupNumber>
<FileNumber>
3
</FileNumber>
<FileType>
1
</FileType>
<tvExp>
0
</tvExp>
<tvExpOptDlg>
0
</tvExpOptDlg>
<bDave2>
0
</bDave2>
<PathWithFileName>
board\CubeMX_Config\Src\stm32f1xx_hal_msp
.c
</PathWithFileName>
<FilenameWithoutPath>
stm32f1xx_hal_msp
.c
</FilenameWithoutPath>
<PathWithFileName>
..\..\..\src\cpu
.c
</PathWithFileName>
<FilenameWithoutPath>
cpu
.c
</FilenameWithoutPath>
<RteFlg>
0
</RteFlg>
<bShared>
0
</bShared>
</File>
<File>
<GroupNumber>
2
</GroupNumber>
<GroupNumber>
1
</GroupNumber>
<FileNumber>
4
</FileNumber>
<FileType>
2
</FileType>
<FileType>
1
</FileType>
<tvExp>
0
</tvExp>
<tvExpOptDlg>
0
</tvExpOptDlg>
<bDave2>
0
</bDave2>
<PathWithFileName>
..\
libraries\STM32F1xx_HAL\CMSIS\Device\ST\STM32F1xx\Source\Templates\arm\startup_stm32f103xb.s
</PathWithFileName>
<FilenameWithoutPath>
startup_stm32f103xb.s
</FilenameWithoutPath>
<PathWithFileName>
..\
..\..\src\device.c
</PathWithFileName>
<FilenameWithoutPath>
device.c
</FilenameWithoutPath>
<RteFlg>
0
</RteFlg>
<bShared>
0
</bShared>
</File>
<File>
<GroupNumber>
2
</GroupNumber>
<GroupNumber>
1
</GroupNumber>
<FileNumber>
5
</FileNumber>
<FileType>
1
</FileType>
<tvExp>
0
</tvExp>
<tvExpOptDlg>
0
</tvExpOptDlg>
<bDave2>
0
</bDave2>
<PathWithFileName>
..\
libraries\HAL_Drivers\drv_gpio
.c
</PathWithFileName>
<FilenameWithoutPath>
drv_gpio
.c
</FilenameWithoutPath>
<PathWithFileName>
..\
..\..\src\idle
.c
</PathWithFileName>
<FilenameWithoutPath>
idle
.c
</FilenameWithoutPath>
<RteFlg>
0
</RteFlg>
<bShared>
0
</bShared>
</File>
<File>
<GroupNumber>
2
</GroupNumber>
<GroupNumber>
1
</GroupNumber>
<FileNumber>
6
</FileNumber>
<FileType>
1
</FileType>
<tvExp>
0
</tvExp>
<tvExpOptDlg>
0
</tvExpOptDlg>
<bDave2>
0
</bDave2>
<PathWithFileName>
..\
libraries\HAL_Drivers\drv_usart
.c
</PathWithFileName>
<FilenameWithoutPath>
drv_usart
.c
</FilenameWithoutPath>
<PathWithFileName>
..\
..\..\src\ipc
.c
</PathWithFileName>
<FilenameWithoutPath>
ipc
.c
</FilenameWithoutPath>
<RteFlg>
0
</RteFlg>
<bShared>
0
</bShared>
</File>
<File>
<GroupNumber>
2
</GroupNumber>
<GroupNumber>
1
</GroupNumber>
<FileNumber>
7
</FileNumber>
<FileType>
1
</FileType>
<tvExp>
0
</tvExp>
<tvExpOptDlg>
0
</tvExpOptDlg>
<bDave2>
0
</bDave2>
<PathWithFileName>
..\
libraries\HAL_Drivers\drv_common
.c
</PathWithFileName>
<FilenameWithoutPath>
drv_common
.c
</FilenameWithoutPath>
<PathWithFileName>
..\
..\..\src\irq
.c
</PathWithFileName>
<FilenameWithoutPath>
irq
.c
</FilenameWithoutPath>
<RteFlg>
0
</RteFlg>
<bShared>
0
</bShared>
</File>
</Group>
<Group>
<GroupName>
Kernel
</GroupName>
<tvExp>
1
</tvExp>
<tvExpOptDlg>
0
</tvExpOptDlg>
<cbSel>
0
</cbSel>
<RteFlg>
0
</RteFlg>
<File>
<GroupNumber>
3
</GroupNumber>
<GroupNumber>
1
</GroupNumber>
<FileNumber>
8
</FileNumber>
<FileType>
1
</FileType>
<tvExp>
0
</tvExp>
<tvExpOptDlg>
0
</tvExpOptDlg>
<bDave2>
0
</bDave2>
<PathWithFileName>
..\..\..\src\
clock
.c
</PathWithFileName>
<FilenameWithoutPath>
clock
.c
</FilenameWithoutPath>
<PathWithFileName>
..\..\..\src\
kservice
.c
</PathWithFileName>
<FilenameWithoutPath>
kservice
.c
</FilenameWithoutPath>
<RteFlg>
0
</RteFlg>
<bShared>
0
</bShared>
</File>
<File>
<GroupNumber>
3
</GroupNumber>
<GroupNumber>
1
</GroupNumber>
<FileNumber>
9
</FileNumber>
<FileType>
1
</FileType>
<tvExp>
0
</tvExp>
<tvExpOptDlg>
0
</tvExpOptDlg>
<bDave2>
0
</bDave2>
<PathWithFileName>
..\..\..\src\
components
.c
</PathWithFileName>
<FilenameWithoutPath>
components
.c
</FilenameWithoutPath>
<PathWithFileName>
..\..\..\src\
mem
.c
</PathWithFileName>
<FilenameWithoutPath>
mem
.c
</FilenameWithoutPath>
<RteFlg>
0
</RteFlg>
<bShared>
0
</bShared>
</File>
<File>
<GroupNumber>
3
</GroupNumber>
<GroupNumber>
1
</GroupNumber>
<FileNumber>
10
</FileNumber>
<FileType>
1
</FileType>
<tvExp>
0
</tvExp>
<tvExpOptDlg>
0
</tvExpOptDlg>
<bDave2>
0
</bDave2>
<PathWithFileName>
..\..\..\src\
cpu
.c
</PathWithFileName>
<FilenameWithoutPath>
cpu
.c
</FilenameWithoutPath>
<PathWithFileName>
..\..\..\src\
mempool
.c
</PathWithFileName>
<FilenameWithoutPath>
mempool
.c
</FilenameWithoutPath>
<RteFlg>
0
</RteFlg>
<bShared>
0
</bShared>
</File>
<File>
<GroupNumber>
3
</GroupNumber>
<GroupNumber>
1
</GroupNumber>
<FileNumber>
11
</FileNumber>
<FileType>
1
</FileType>
<tvExp>
0
</tvExp>
<tvExpOptDlg>
0
</tvExpOptDlg>
<bDave2>
0
</bDave2>
<PathWithFileName>
..\..\..\src\
device
.c
</PathWithFileName>
<FilenameWithoutPath>
device
.c
</FilenameWithoutPath>
<PathWithFileName>
..\..\..\src\
object
.c
</PathWithFileName>
<FilenameWithoutPath>
object
.c
</FilenameWithoutPath>
<RteFlg>
0
</RteFlg>
<bShared>
0
</bShared>
</File>
<File>
<GroupNumber>
3
</GroupNumber>
<GroupNumber>
1
</GroupNumber>
<FileNumber>
12
</FileNumber>
<FileType>
1
</FileType>
<tvExp>
0
</tvExp>
<tvExpOptDlg>
0
</tvExpOptDlg>
<bDave2>
0
</bDave2>
<PathWithFileName>
..\..\..\src\
idle
.c
</PathWithFileName>
<FilenameWithoutPath>
idle
.c
</FilenameWithoutPath>
<PathWithFileName>
..\..\..\src\
scheduler
.c
</PathWithFileName>
<FilenameWithoutPath>
scheduler
.c
</FilenameWithoutPath>
<RteFlg>
0
</RteFlg>
<bShared>
0
</bShared>
</File>
<File>
<GroupNumber>
3
</GroupNumber>
<GroupNumber>
1
</GroupNumber>
<FileNumber>
13
</FileNumber>
<FileType>
1
</FileType>
<tvExp>
0
</tvExp>
<tvExpOptDlg>
0
</tvExpOptDlg>
<bDave2>
0
</bDave2>
<PathWithFileName>
..\..\..\src\
ipc
.c
</PathWithFileName>
<FilenameWithoutPath>
ipc
.c
</FilenameWithoutPath>
<PathWithFileName>
..\..\..\src\
signal
.c
</PathWithFileName>
<FilenameWithoutPath>
signal
.c
</FilenameWithoutPath>
<RteFlg>
0
</RteFlg>
<bShared>
0
</bShared>
</File>
<File>
<GroupNumber>
3
</GroupNumber>
<GroupNumber>
1
</GroupNumber>
<FileNumber>
14
</FileNumber>
<FileType>
1
</FileType>
<tvExp>
0
</tvExp>
<tvExpOptDlg>
0
</tvExpOptDlg>
<bDave2>
0
</bDave2>
<PathWithFileName>
..\..\..\src\
irq
.c
</PathWithFileName>
<FilenameWithoutPath>
irq
.c
</FilenameWithoutPath>
<PathWithFileName>
..\..\..\src\
thread
.c
</PathWithFileName>
<FilenameWithoutPath>
thread
.c
</FilenameWithoutPath>
<RteFlg>
0
</RteFlg>
<bShared>
0
</bShared>
</File>
<File>
<GroupNumber>
3
</GroupNumber>
<GroupNumber>
1
</GroupNumber>
<FileNumber>
15
</FileNumber>
<FileType>
1
</FileType>
<tvExp>
0
</tvExp>
<tvExpOptDlg>
0
</tvExpOptDlg>
<bDave2>
0
</bDave2>
<PathWithFileName>
..\..\..\src\
kservice
.c
</PathWithFileName>
<FilenameWithoutPath>
kservice
.c
</FilenameWithoutPath>
<PathWithFileName>
..\..\..\src\
timer
.c
</PathWithFileName>
<FilenameWithoutPath>
timer
.c
</FilenameWithoutPath>
<RteFlg>
0
</RteFlg>
<bShared>
0
</bShared>
</File>
</Group>
<Group>
<GroupName>
Applications
</GroupName>
<tvExp>
1
</tvExp>
<tvExpOptDlg>
0
</tvExpOptDlg>
<cbSel>
0
</cbSel>
<RteFlg>
0
</RteFlg>
<File>
<GroupNumber>
3
</GroupNumber>
<GroupNumber>
2
</GroupNumber>
<FileNumber>
16
</FileNumber>
<FileType>
1
</FileType>
<tvExp>
0
</tvExp>
<tvExpOptDlg>
0
</tvExpOptDlg>
<bDave2>
0
</bDave2>
<PathWithFileName>
..\..\..\src\mem
.c
</PathWithFileName>
<FilenameWithoutPath>
m
em
.c
</FilenameWithoutPath>
<PathWithFileName>
applications\main
.c
</PathWithFileName>
<FilenameWithoutPath>
m
ain
.c
</FilenameWithoutPath>
<RteFlg>
0
</RteFlg>
<bShared>
0
</bShared>
</File>
</Group>
<Group>
<GroupName>
Drivers
</GroupName>
<tvExp>
0
</tvExp>
<tvExpOptDlg>
0
</tvExpOptDlg>
<cbSel>
0
</cbSel>
<RteFlg>
0
</RteFlg>
<File>
<GroupNumber>
3
</GroupNumber>
<FileNumber>
17
</FileNumber>
...
...
@@ -423,8 +423,8 @@
<tvExp>
0
</tvExp>
<tvExpOptDlg>
0
</tvExpOptDlg>
<bDave2>
0
</bDave2>
<PathWithFileName>
..\..\..\src\mempool
.c
</PathWithFileName>
<FilenameWithoutPath>
mempool
.c
</FilenameWithoutPath>
<PathWithFileName>
board\board
.c
</PathWithFileName>
<FilenameWithoutPath>
board
.c
</FilenameWithoutPath>
<RteFlg>
0
</RteFlg>
<bShared>
0
</bShared>
</File>
...
...
@@ -435,20 +435,20 @@
<tvExp>
0
</tvExp>
<tvExpOptDlg>
0
</tvExpOptDlg>
<bDave2>
0
</bDave2>
<PathWithFileName>
..\..\..\src\object
.c
</PathWithFileName>
<FilenameWithoutPath>
object
.c
</FilenameWithoutPath>
<PathWithFileName>
board\CubeMX_Config\Src\stm32f1xx_hal_msp
.c
</PathWithFileName>
<FilenameWithoutPath>
stm32f1xx_hal_msp
.c
</FilenameWithoutPath>
<RteFlg>
0
</RteFlg>
<bShared>
0
</bShared>
</File>
<File>
<GroupNumber>
3
</GroupNumber>
<FileNumber>
19
</FileNumber>
<FileType>
1
</FileType>
<FileType>
2
</FileType>
<tvExp>
0
</tvExp>
<tvExpOptDlg>
0
</tvExpOptDlg>
<bDave2>
0
</bDave2>
<PathWithFileName>
..\
..\..\src\scheduler.c
</PathWithFileName>
<FilenameWithoutPath>
s
cheduler.c
</FilenameWithoutPath>
<PathWithFileName>
..\
libraries\STM32F1xx_HAL\CMSIS\Device\ST\STM32F1xx\Source\Templates\arm\startup_stm32f103xb.s
</PathWithFileName>
<FilenameWithoutPath>
s
tartup_stm32f103xb.s
</FilenameWithoutPath>
<RteFlg>
0
</RteFlg>
<bShared>
0
</bShared>
</File>
...
...
@@ -459,8 +459,8 @@
<tvExp>
0
</tvExp>
<tvExpOptDlg>
0
</tvExpOptDlg>
<bDave2>
0
</bDave2>
<PathWithFileName>
..\
..\..\src\signal
.c
</PathWithFileName>
<FilenameWithoutPath>
signal
.c
</FilenameWithoutPath>
<PathWithFileName>
..\
libraries\HAL_Drivers\drv_gpio
.c
</PathWithFileName>
<FilenameWithoutPath>
drv_gpio
.c
</FilenameWithoutPath>
<RteFlg>
0
</RteFlg>
<bShared>
0
</bShared>
</File>
...
...
@@ -471,8 +471,8 @@
<tvExp>
0
</tvExp>
<tvExpOptDlg>
0
</tvExpOptDlg>
<bDave2>
0
</bDave2>
<PathWithFileName>
..\
..\..\src\thread
.c
</PathWithFileName>
<FilenameWithoutPath>
thread
.c
</FilenameWithoutPath>
<PathWithFileName>
..\
libraries\HAL_Drivers\drv_usart
.c
</PathWithFileName>
<FilenameWithoutPath>
drv_usart
.c
</FilenameWithoutPath>
<RteFlg>
0
</RteFlg>
<bShared>
0
</bShared>
</File>
...
...
@@ -483,16 +483,16 @@
<tvExp>
0
</tvExp>
<tvExpOptDlg>
0
</tvExpOptDlg>
<bDave2>
0
</bDave2>
<PathWithFileName>
..\
..\..\src\timer
.c
</PathWithFileName>
<FilenameWithoutPath>
timer
.c
</FilenameWithoutPath>
<PathWithFileName>
..\
libraries\HAL_Drivers\drv_common
.c
</PathWithFileName>
<FilenameWithoutPath>
drv_common
.c
</FilenameWithoutPath>
<RteFlg>
0
</RteFlg>
<bShared>
0
</bShared>
</File>
</Group>
<Group>
<GroupName>
CORTEX-M3
</GroupName>
<tvExp>
1
</tvExp>
<GroupName>
cpu
</GroupName>
<tvExp>
0
</tvExp>
<tvExpOptDlg>
0
</tvExpOptDlg>
<cbSel>
0
</cbSel>
<RteFlg>
0
</RteFlg>
...
...
@@ -503,20 +503,20 @@
<tvExp>
0
</tvExp>
<tvExpOptDlg>
0
</tvExpOptDlg>
<bDave2>
0
</bDave2>
<PathWithFileName>
..\..\..\libcpu\arm\co
rtex-m3\cpuport
.c
</PathWithFileName>
<FilenameWithoutPath>
cpuport
.c
</FilenameWithoutPath>
<PathWithFileName>
..\..\..\libcpu\arm\co
mmon\backtrace
.c
</PathWithFileName>
<FilenameWithoutPath>
backtrace
.c
</FilenameWithoutPath>
<RteFlg>
0
</RteFlg>
<bShared>
0
</bShared>
</File>
<File>
<GroupNumber>
4
</GroupNumber>
<FileNumber>
24
</FileNumber>
<FileType>
2
</FileType>
<FileType>
1
</FileType>
<tvExp>
0
</tvExp>
<tvExpOptDlg>
0
</tvExpOptDlg>
<bDave2>
0
</bDave2>
<PathWithFileName>
..\..\..\libcpu\arm\co
rtex-m3\context_rvds.S
</PathWithFileName>
<FilenameWithoutPath>
context_rvds.S
</FilenameWithoutPath>
<PathWithFileName>
..\..\..\libcpu\arm\co
mmon\div0.c
</PathWithFileName>
<FilenameWithoutPath>
div0.c
</FilenameWithoutPath>
<RteFlg>
0
</RteFlg>
<bShared>
0
</bShared>
</File>
...
...
@@ -527,8 +527,8 @@
<tvExp>
0
</tvExp>
<tvExpOptDlg>
0
</tvExpOptDlg>
<bDave2>
0
</bDave2>
<PathWithFileName>
..\..\..\libcpu\arm\common\
backtrace
.c
</PathWithFileName>
<FilenameWithoutPath>
backtrace
.c
</FilenameWithoutPath>
<PathWithFileName>
..\..\..\libcpu\arm\common\
showmem
.c
</PathWithFileName>
<FilenameWithoutPath>
showmem
.c
</FilenameWithoutPath>
<RteFlg>
0
</RteFlg>
<bShared>
0
</bShared>
</File>
...
...
@@ -539,20 +539,20 @@
<tvExp>
0
</tvExp>
<tvExpOptDlg>
0
</tvExpOptDlg>
<bDave2>
0
</bDave2>
<PathWithFileName>
..\..\..\libcpu\arm\co
mmon\div0
.c
</PathWithFileName>
<FilenameWithoutPath>
div0
.c
</FilenameWithoutPath>
<PathWithFileName>
..\..\..\libcpu\arm\co
rtex-m3\cpuport
.c
</PathWithFileName>
<FilenameWithoutPath>
cpuport
.c
</FilenameWithoutPath>
<RteFlg>
0
</RteFlg>
<bShared>
0
</bShared>
</File>
<File>
<GroupNumber>
4
</GroupNumber>
<FileNumber>
27
</FileNumber>
<FileType>
1
</FileType>
<FileType>
2
</FileType>
<tvExp>
0
</tvExp>
<tvExpOptDlg>
0
</tvExpOptDlg>
<bDave2>
0
</bDave2>
<PathWithFileName>
..\..\..\libcpu\arm\co
mmon\showmem.c
</PathWithFileName>
<FilenameWithoutPath>
showmem.c
</FilenameWithoutPath>
<PathWithFileName>
..\..\..\libcpu\arm\co
rtex-m3\context_rvds.S
</PathWithFileName>
<FilenameWithoutPath>
context_rvds.S
</FilenameWithoutPath>
<RteFlg>
0
</RteFlg>
<bShared>
0
</bShared>
</File>
...
...
@@ -560,7 +560,7 @@
<Group>
<GroupName>
DeviceDrivers
</GroupName>
<tvExp>
1
</tvExp>
<tvExp>
0
</tvExp>
<tvExpOptDlg>
0
</tvExpOptDlg>
<cbSel>
0
</cbSel>
<RteFlg>
0
</RteFlg>
...
...
bsp/stm32/stm32f103-dofly-lyc8/project.uvprojx
浏览文件 @
05481094
...
...
@@ -53,7 +53,7 @@
<CreateLib>
0
</CreateLib>
<CreateHexFile>
0
</CreateHexFile>
<DebugInformation>
1
</DebugInformation>
<BrowseInformation>
1
</BrowseInformation>
<BrowseInformation>
0
</BrowseInformation>
<ListingPath>
.\build\keil\List\
</ListingPath>
<HexFormatSelection>
1
</HexFormatSelection>
<Merge32K>
0
</Merge32K>
...
...
@@ -334,7 +334,7 @@
<MiscControls></MiscControls>
<Define>
STM32F103xB, USE_HAL_DRIVER
</Define>
<Undefine></Undefine>
<IncludePath>
applications;.;board;board\CubeMX_Config\Inc;..\libraries\HAL_Drivers;..\libraries\HAL_Drivers\config;..\..\..\include;..\..\..\libcpu\arm\cortex-m3;..\..\..\libcpu\arm\common
;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\finsh;..\libraries\STM32F1xx_HAL\CMSIS\Device\ST\STM32F1xx\Include;..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Inc;..\libraries\STM32F1xx_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-m3
;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\finsh;..\libraries\STM32F1xx_HAL\CMSIS\Device\ST\STM32F1xx\Include;..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Inc;..\libraries\STM32F1xx_HAL\CMSIS\Include
</IncludePath>
</VariousControls>
</Cads>
<Aads>
...
...
@@ -367,58 +367,13 @@
<ScatterFile>
.\board\linker_scripts\link.sct
</ScatterFile>
<IncludeLibs></IncludeLibs>
<IncludeLibsPath></IncludeLibsPath>
<Misc>
--keep *.o(.rti_fn.*) --keep *.o(FSymTab)
</Misc>
<Misc>
--keep *.o(.rti_fn.*) --keep *.o(FSymTab)
</Misc>
<LinkerInputFile></LinkerInputFile>
<DisabledWarnings></DisabledWarnings>
</LDads>
</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>
<File>
<FileName>
board.c
</FileName>
<FileType>
1
</FileType>
<FilePath>
board\board.c
</FilePath>
</File>
<File>
<FileName>
stm32f1xx_hal_msp.c
</FileName>
<FileType>
1
</FileType>
<FilePath>
board\CubeMX_Config\Src\stm32f1xx_hal_msp.c
</FilePath>
</File>
<File>
<FileName>
startup_stm32f103xb.s
</FileName>
<FileType>
2
</FileType>
<FilePath>
..\libraries\STM32F1xx_HAL\CMSIS\Device\ST\STM32F1xx\Source\Templates\arm\startup_stm32f103xb.s
</FilePath>
</File>
<File>
<FileName>
drv_gpio.c
</FileName>
<FileType>
1
</FileType>
<FilePath>
..\libraries\HAL_Drivers\drv_gpio.c
</FilePath>
</File>
<File>
<FileName>
drv_usart.c
</FileName>
<FileType>
1
</FileType>
<FilePath>
..\libraries\HAL_Drivers\drv_usart.c
</FilePath>
</File>
<File>
<FileName>
drv_common.c
</FileName>
<FileType>
1
</FileType>
<FilePath>
..\libraries\HAL_Drivers\drv_common.c
</FilePath>
</File>
</Files>
</Group>
<Group>
<GroupName>
Kernel
</GroupName>
<Files>
...
...
@@ -500,18 +455,53 @@
</Files>
</Group>
<Group>
<GroupName>
CORTEX-M3
</GroupName>
<GroupName>
Applications
</GroupName>
<Files>
<File>
<FileName>
cpuport
.c
</FileName>
<FileName>
main
.c
</FileName>
<FileType>
1
</FileType>
<FilePath>
..\..\..\libcpu\arm\cortex-m3\cpuport
.c
</FilePath>
<FilePath>
applications\main
.c
</FilePath>
</File>
</Files>
</Group>
<Group>
<GroupName>
Drivers
</GroupName>
<Files>
<File>
<FileName>
context_rvds.S
</FileName>
<FileName>
board.c
</FileName>
<FileType>
1
</FileType>
<FilePath>
board\board.c
</FilePath>
</File>
<File>
<FileName>
stm32f1xx_hal_msp.c
</FileName>
<FileType>
1
</FileType>
<FilePath>
board\CubeMX_Config\Src\stm32f1xx_hal_msp.c
</FilePath>
</File>
<File>
<FileName>
startup_stm32f103xb.s
</FileName>
<FileType>
2
</FileType>
<FilePath>
..\..\..\libcpu\arm\cortex-m3\context_rvds.S
</FilePath>
<FilePath>
..\libraries\STM32F1xx_HAL\CMSIS\Device\ST\STM32F1xx\Source\Templates\arm\startup_stm32f103xb.s
</FilePath>
</File>
<File>
<FileName>
drv_gpio.c
</FileName>
<FileType>
1
</FileType>
<FilePath>
..\libraries\HAL_Drivers\drv_gpio.c
</FilePath>
</File>
<File>
<FileName>
drv_usart.c
</FileName>
<FileType>
1
</FileType>
<FilePath>
..\libraries\HAL_Drivers\drv_usart.c
</FilePath>
</File>
<File>
<FileName>
drv_common.c
</FileName>
<FileType>
1
</FileType>
<FilePath>
..\libraries\HAL_Drivers\drv_common.c
</FilePath>
</File>
</Files>
</Group>
<Group>
<GroupName>
cpu
</GroupName>
<Files>
<File>
<FileName>
backtrace.c
</FileName>
<FileType>
1
</FileType>
...
...
@@ -527,6 +517,16 @@
<FileType>
1
</FileType>
<FilePath>
..\..\..\libcpu\arm\common\showmem.c
</FilePath>
</File>
<File>
<FileName>
cpuport.c
</FileName>
<FileType>
1
</FileType>
<FilePath>
..\..\..\libcpu\arm\cortex-m3\cpuport.c
</FilePath>
</File>
<File>
<FileName>
context_rvds.S
</FileName>
<FileType>
2
</FileType>
<FilePath>
..\..\..\libcpu\arm\cortex-m3\context_rvds.S
</FilePath>
</File>
</Files>
</Group>
<Group>
...
...
bsp/stm32/stm32f103-dofly-lyc8/rtconfig.h
浏览文件 @
05481094
...
...
@@ -161,12 +161,14 @@
/* Hardware Drivers Config */
#define SOC_STM32F103
c
8
#define SOC_STM32F103
C
8
/* Onboard Peripheral Drivers */
/* On-chip Peripheral Drivers */
#define BSP_USING_GPIO
#define BSP_USING_UART
#define BSP_USING_UART1
/* Board extended module Drivers */
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录