Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
BaiXuePrincess
rt-thread
提交
12f34b8c
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,发现更多精彩内容 >>
提交
12f34b8c
编写于
2月 20, 2013
作者:
wuyangyong
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
update bsp: stm32 family.
上级
eefb272c
变更
10
隐藏空白更改
内联
并排
Showing
10 changed file
with
60 addition
and
32 deletion
+60
-32
bsp/stm32f107/project.uvproj
bsp/stm32f107/project.uvproj
+4
-4
bsp/stm32f107/template.uvproj
bsp/stm32f107/template.uvproj
+4
-4
bsp/stm32f10x/project.Uv2
bsp/stm32f10x/project.Uv2
+8
-4
bsp/stm32f10x/template.Uv2
bsp/stm32f10x/template.Uv2
+3
-3
bsp/stm32f10x/template.uvproj
bsp/stm32f10x/template.uvproj
+4
-4
bsp/stm32f20x/applications/startup.c
bsp/stm32f20x/applications/startup.c
+3
-0
bsp/stm32f20x/project.uvproj
bsp/stm32f20x/project.uvproj
+19
-5
bsp/stm32f20x/template.uvproj
bsp/stm32f20x/template.uvproj
+4
-4
bsp/stm32f40x/project.uvproj
bsp/stm32f40x/project.uvproj
+9
-2
bsp/stm32f40x/template.uvproj
bsp/stm32f40x/template.uvproj
+2
-2
未找到文件。
bsp/stm32f107/project.uvproj
浏览文件 @
12f34b8c
...
...
@@ -40,14 +40,14 @@
<NotGenerated>
0
</NotGenerated>
<InvalidFlash>
1
</InvalidFlash>
</TargetStatus>
<OutputDirectory>
.\
build
\
</OutputDirectory>
<OutputDirectory>
.\
obj
\
</OutputDirectory>
<OutputName>
rtthread-stm32
</OutputName>
<CreateExecutable>
1
</CreateExecutable>
<CreateLib>
0
</CreateLib>
<CreateHexFile>
0
</CreateHexFile>
<DebugInformation>
1
</DebugInformation>
<BrowseInformation>
0
</BrowseInformation>
<ListingPath>
.\
build\
</ListingPath>
<ListingPath>
.\
</ListingPath>
<HexFormatSelection>
1
</HexFormatSelection>
<Merge32K>
0
</Merge32K>
<CreateBatchFile>
0
</CreateBatchFile>
...
...
@@ -68,9 +68,9 @@
<UserProg2Dos16Mode>
0
</UserProg2Dos16Mode>
</BeforeMake>
<AfterMake>
<RunUserProg1>
1
</RunUserProg1>
<RunUserProg1>
0
</RunUserProg1>
<RunUserProg2>
0
</RunUserProg2>
<UserProg1Name
>
fromelf --bin !L --output rtthread.bin
</UserProg1Name
>
<UserProg1Name
/
>
<UserProg2Name
/>
<UserProg1Dos16Mode>
0
</UserProg1Dos16Mode>
<UserProg2Dos16Mode>
0
</UserProg2Dos16Mode>
...
...
bsp/stm32f107/template.uvproj
浏览文件 @
12f34b8c
...
...
@@ -43,14 +43,14 @@
<NotGenerated>
0
</NotGenerated>
<InvalidFlash>
1
</InvalidFlash>
</TargetStatus>
<OutputDirectory>
.\
build
\
</OutputDirectory>
<OutputDirectory>
.\
obj
\
</OutputDirectory>
<OutputName>
rtthread-stm32
</OutputName>
<CreateExecutable>
1
</CreateExecutable>
<CreateLib>
0
</CreateLib>
<CreateHexFile>
0
</CreateHexFile>
<DebugInformation>
1
</DebugInformation>
<BrowseInformation>
0
</BrowseInformation>
<ListingPath>
.\
build\
</ListingPath>
<ListingPath>
.\
</ListingPath>
<HexFormatSelection>
1
</HexFormatSelection>
<Merge32K>
0
</Merge32K>
<CreateBatchFile>
0
</CreateBatchFile>
...
...
@@ -71,9 +71,9 @@
<UserProg2Dos16Mode>
0
</UserProg2Dos16Mode>
</BeforeMake>
<AfterMake>
<RunUserProg1>
1
</RunUserProg1>
<RunUserProg1>
0
</RunUserProg1>
<RunUserProg2>
0
</RunUserProg2>
<UserProg1Name>
fromelf --bin !L --output rtthread.bin
</UserProg1Name>
<UserProg1Name></UserProg1Name>
<UserProg2Name></UserProg2Name>
<UserProg1Dos16Mode>
0
</UserProg1Dos16Mode>
<UserProg2Dos16Mode>
0
</UserProg2Dos16Mode>
...
...
bsp/stm32f10x/project.Uv2
浏览文件 @
12f34b8c
...
...
@@ -24,6 +24,7 @@ File 2,1,<..\..\src\ipc.c><ipc.c>
File 2,1,<..\..\src\irq.c><irq.c>
File 2,1,<..\..\src\kservice.c><kservice.c>
File 2,1,<..\..\src\mem.c><mem.c>
File 2,1,<..\..\src\memheap.c><memheap.c>
File 2,1,<..\..\src\mempool.c><mempool.c>
File 2,1,<..\..\src\object.c><object.c>
File 2,1,<..\..\src\scheduler.c><scheduler.c>
...
...
@@ -47,6 +48,7 @@ File 4,1,<..\..\components\finsh\finsh_var.c><finsh_var.c>
File 4,1,<..\..\components\finsh\finsh_vm.c><finsh_vm.c>
File 4,1,<..\..\components\finsh\shell.c><shell.c>
File 4,1,<..\..\components\finsh\symbol.c><symbol.c>
File 5,1,<Libraries\CMSIS\CM3\CoreSupport\core_cm3.c><core_cm3.c>
File 5,1,<Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\system_stm32f10x.c><system_stm32f10x.c>
File 5,1,<Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_crc.c><stm32f10x_crc.c>
File 5,1,<Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_rcc.c><stm32f10x_rcc.c>
...
...
@@ -74,6 +76,8 @@ File 5,1,<Libraries\STM32F10x_StdPeriph_Driver\src\misc.c><misc.c>
File 5,2,<Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\arm\startup_stm32f10x_hd.s><startup_stm32f10x_hd.s>
Options 1,0,0 // Target 'RT-Thread STM32'
Device (STM32F103ZE)
Vendor (STMicroelectronics)
...
...
@@ -99,18 +103,18 @@ Options 1,0,0 // Target 'RT-Thread STM32'
EnvReg (ST\STM32F10x\)
OrgReg (ST\STM32F10x\)
TgStat=16
OutDir (.\
build
\)
OutDir (.\
obj
\)
OutName (rtthread-stm32)
GenApp=1
GenLib=0
GenHex=0
Debug=1
Browse=0
LstDir (.\
build\
)
LstDir (.\)
HexSel=1
MG32K=0
TGMORE=0
RunUsr 0
1 <fromelf --bin !L --output rtthread.bin
>
RunUsr 0
0 <
>
RunUsr 1 0 <>
BrunUsr 0 0 <>
BrunUsr 1 0 <>
...
...
@@ -132,7 +136,7 @@ Options 1,0,0 // Target 'RT-Thread STM32'
ADSCMISC ()
ADSCDEFN (STM32F10X_HD, USE_STDPERIPH_DRIVER)
ADSCUDEF ()
ADSCINCD (Libraries\STM32F10x_StdPeriph_Driver\inc;.
.\..\components\CMSIS\Include;.;..\..\include
;..\..\libcpu\arm\cortex-m3;..\..\libcpu\arm\common;..\..\components\finsh;Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x)
ADSCINCD (Libraries\STM32F10x_StdPeriph_Driver\inc;.
;..\..\include;Libraries\CMSIS\CM3\CoreSupport
;..\..\libcpu\arm\cortex-m3;..\..\libcpu\arm\common;..\..\components\finsh;Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x)
ADSASFLG { 1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 }
ADSAMISC ()
ADSADEFN ()
...
...
bsp/stm32f10x/template.Uv2
浏览文件 @
12f34b8c
...
...
@@ -31,18 +31,18 @@ Options 1,0,0 // Target 'RT-Thread STM32'
EnvReg (ST\STM32F10x\)
OrgReg (ST\STM32F10x\)
TgStat=16
OutDir (.\
build
\)
OutDir (.\
obj
\)
OutName (rtthread-stm32)
GenApp=1
GenLib=0
GenHex=0
Debug=1
Browse=0
LstDir (.\
build\
)
LstDir (.\)
HexSel=1
MG32K=0
TGMORE=0
RunUsr 0
1 <fromelf --bin !L --output rtthread.bin
>
RunUsr 0
0 <
>
RunUsr 1 0 <>
BrunUsr 0 0 <>
BrunUsr 1 0 <>
...
...
bsp/stm32f10x/template.uvproj
浏览文件 @
12f34b8c
...
...
@@ -43,14 +43,14 @@
<NotGenerated>
0
</NotGenerated>
<InvalidFlash>
1
</InvalidFlash>
</TargetStatus>
<OutputDirectory>
.\
build
\
</OutputDirectory>
<OutputDirectory>
.\
obj
\
</OutputDirectory>
<OutputName>
rtthread-stm32
</OutputName>
<CreateExecutable>
1
</CreateExecutable>
<CreateLib>
0
</CreateLib>
<CreateHexFile>
0
</CreateHexFile>
<DebugInformation>
1
</DebugInformation>
<BrowseInformation>
1
</BrowseInformation>
<ListingPath>
.\
build
\
</ListingPath>
<ListingPath>
.\
obj
\
</ListingPath>
<HexFormatSelection>
1
</HexFormatSelection>
<Merge32K>
0
</Merge32K>
<CreateBatchFile>
0
</CreateBatchFile>
...
...
@@ -71,9 +71,9 @@
<UserProg2Dos16Mode>
0
</UserProg2Dos16Mode>
</BeforeMake>
<AfterMake>
<RunUserProg1>
1
</RunUserProg1>
<RunUserProg1>
0
</RunUserProg1>
<RunUserProg2>
0
</RunUserProg2>
<UserProg1Name>
fromelf --bin !L --output rtthread.bin
</UserProg1Name>
<UserProg1Name></UserProg1Name>
<UserProg2Name></UserProg2Name>
<UserProg1Dos16Mode>
0
</UserProg1Dos16Mode>
<UserProg2Dos16Mode>
0
</UserProg2Dos16Mode>
...
...
bsp/stm32f20x/applications/startup.c
浏览文件 @
12f34b8c
...
...
@@ -137,6 +137,9 @@ int main(void)
/* disable interrupt first */
rt_hw_interrupt_disable
();
/* init system setting */
SystemInit
();
/* startup RT-Thread RTOS */
rtthread_startup
();
...
...
bsp/stm32f20x/project.uvproj
浏览文件 @
12f34b8c
...
...
@@ -40,14 +40,14 @@
<NotGenerated>
0
</NotGenerated>
<InvalidFlash>
1
</InvalidFlash>
</TargetStatus>
<OutputDirectory>
.\
build
\
</OutputDirectory>
<OutputDirectory>
.\
obj
\
</OutputDirectory>
<OutputName>
rtthread-stm32
</OutputName>
<CreateExecutable>
1
</CreateExecutable>
<CreateLib>
0
</CreateLib>
<CreateHexFile>
0
</CreateHexFile>
<DebugInformation>
1
</DebugInformation>
<BrowseInformation>
0
</BrowseInformation>
<ListingPath>
.\
build
\
</ListingPath>
<ListingPath>
.\
obj
\
</ListingPath>
<HexFormatSelection>
1
</HexFormatSelection>
<Merge32K>
0
</Merge32K>
<CreateBatchFile>
0
</CreateBatchFile>
...
...
@@ -68,9 +68,9 @@
<UserProg2Dos16Mode>
0
</UserProg2Dos16Mode>
</BeforeMake>
<AfterMake>
<RunUserProg1>
1
</RunUserProg1>
<RunUserProg1>
0
</RunUserProg1>
<RunUserProg2>
0
</RunUserProg2>
<UserProg1Name
>
fromelf --bin !L --output rtthread.bin
</UserProg1Name
>
<UserProg1Name
/
>
<UserProg2Name
/>
<UserProg1Dos16Mode>
0
</UserProg1Dos16Mode>
<UserProg2Dos16Mode>
0
</UserProg2Dos16Mode>
...
...
@@ -343,7 +343,7 @@
<MiscControls
/>
<Define>
USE_STDPERIPH_DRIVER
</Define>
<Undefine
/>
<IncludePath>
.;..\..\components\
CMSIS\Include;..\..\components\finsh;..\..\include;..\..\libcpu\arm\common;..\..\libcpu\arm\cortex-m3;Drivers;Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F2xx;Libraries\STM32F2xx_StdPeriph_Driver\inc;application
s
</IncludePath>
<IncludePath>
.;..\..\components\
finsh;..\..\include;..\..\libcpu\arm\common;..\..\libcpu\arm\cortex-m3;Libraries\CMSIS\CM3\CoreSupport;Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F2xx;Libraries\STM32F2xx_StdPeriph_Driver\inc;applications;driver
s
</IncludePath>
</VariousControls>
</Cads>
<Aads>
...
...
@@ -458,6 +458,13 @@
</Group>
<Group>
<GroupName>
STM32_StdPeriph
</GroupName>
<Files>
<File>
<FileName>
core_cm3.c
</FileName>
<FileType>
1
</FileType>
<FilePath>
Libraries\CMSIS\CM3\CoreSupport\core_cm3.c
</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>
system_stm32f2xx.c
</FileName>
...
...
@@ -741,6 +748,13 @@
<FilePath>
..\..\src\mem.c
</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>
memheap.c
</FileName>
<FileType>
1
</FileType>
<FilePath>
..\..\src\memheap.c
</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>
mempool.c
</FileName>
...
...
bsp/stm32f20x/template.uvproj
浏览文件 @
12f34b8c
...
...
@@ -43,14 +43,14 @@
<NotGenerated>
0
</NotGenerated>
<InvalidFlash>
1
</InvalidFlash>
</TargetStatus>
<OutputDirectory>
.\
build
\
</OutputDirectory>
<OutputDirectory>
.\
obj
\
</OutputDirectory>
<OutputName>
rtthread-stm32
</OutputName>
<CreateExecutable>
1
</CreateExecutable>
<CreateLib>
0
</CreateLib>
<CreateHexFile>
0
</CreateHexFile>
<DebugInformation>
1
</DebugInformation>
<BrowseInformation>
0
</BrowseInformation>
<ListingPath>
.\
build
\
</ListingPath>
<ListingPath>
.\
obj
\
</ListingPath>
<HexFormatSelection>
1
</HexFormatSelection>
<Merge32K>
0
</Merge32K>
<CreateBatchFile>
0
</CreateBatchFile>
...
...
@@ -71,9 +71,9 @@
<UserProg2Dos16Mode>
0
</UserProg2Dos16Mode>
</BeforeMake>
<AfterMake>
<RunUserProg1>
1
</RunUserProg1>
<RunUserProg1>
0
</RunUserProg1>
<RunUserProg2>
0
</RunUserProg2>
<UserProg1Name>
fromelf --bin !L --output rtthread.bin
</UserProg1Name>
<UserProg1Name></UserProg1Name>
<UserProg2Name></UserProg2Name>
<UserProg1Dos16Mode>
0
</UserProg1Dos16Mode>
<UserProg2Dos16Mode>
0
</UserProg2Dos16Mode>
...
...
bsp/stm32f40x/project.uvproj
浏览文件 @
12f34b8c
...
...
@@ -68,9 +68,9 @@
<UserProg2Dos16Mode>
0
</UserProg2Dos16Mode>
</BeforeMake>
<AfterMake>
<RunUserProg1>
1
</RunUserProg1>
<RunUserProg1>
0
</RunUserProg1>
<RunUserProg2>
0
</RunUserProg2>
<UserProg1Name
>
fromelf --bin !L --output rtthread.bin
</UserProg1Name
>
<UserProg1Name
/
>
<UserProg2Name
/>
<UserProg1Dos16Mode>
0
</UserProg1Dos16Mode>
<UserProg2Dos16Mode>
0
</UserProg2Dos16Mode>
...
...
@@ -713,6 +713,13 @@
<FilePath>
..\..\src\mem.c
</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>
memheap.c
</FileName>
<FileType>
1
</FileType>
<FilePath>
..\..\src\memheap.c
</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>
mempool.c
</FileName>
...
...
bsp/stm32f40x/template.uvproj
浏览文件 @
12f34b8c
...
...
@@ -71,9 +71,9 @@
<UserProg2Dos16Mode>
0
</UserProg2Dos16Mode>
</BeforeMake>
<AfterMake>
<RunUserProg1>
1
</RunUserProg1>
<RunUserProg1>
0
</RunUserProg1>
<RunUserProg2>
0
</RunUserProg2>
<UserProg1Name>
fromelf --bin !L --output rtthread.bin
</UserProg1Name>
<UserProg1Name></UserProg1Name>
<UserProg2Name></UserProg2Name>
<UserProg1Dos16Mode>
0
</UserProg1Dos16Mode>
<UserProg2Dos16Mode>
0
</UserProg2Dos16Mode>
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录