Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
wwsmg1
rt-thread
提交
e6d20e91
R
rt-thread
项目概览
wwsmg1
/
rt-thread
与 Fork 源项目一致
Fork自
RT-Thread / rt-thread
通知
1
Star
1
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,发现更多精彩内容 >>
提交
e6d20e91
编写于
4月 09, 2019
作者:
jhb222
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
修改了小错误
上级
365de33d
变更
12
展开全部
隐藏空白更改
内联
并排
Showing
12 changed file
with
57 addition
and
1054 deletion
+57
-1054
bsp/stm32/stm32l4r9-eval/README.md
bsp/stm32/stm32l4r9-eval/README.md
+1
-1
bsp/stm32/stm32l4r9-eval/SConstruct
bsp/stm32/stm32l4r9-eval/SConstruct
+2
-2
bsp/stm32/stm32l4r9-eval/applications/main.c
bsp/stm32/stm32l4r9-eval/applications/main.c
+1
-0
bsp/stm32/stm32l4r9-eval/board/CubeMX_Config/CubeMX_Config.ioc
...tm32/stm32l4r9-eval/board/CubeMX_Config/CubeMX_Config.ioc
+12
-8
bsp/stm32/stm32l4r9-eval/board/CubeMX_Config/MDK-ARM/CubeMX_Config.uvoptx
...4r9-eval/board/CubeMX_Config/MDK-ARM/CubeMX_Config.uvoptx
+0
-133
bsp/stm32/stm32l4r9-eval/board/CubeMX_Config/MDK-ARM/CubeMX_Config.uvprojx
...r9-eval/board/CubeMX_Config/MDK-ARM/CubeMX_Config.uvprojx
+0
-435
bsp/stm32/stm32l4r9-eval/board/CubeMX_Config/MDK-ARM/startup_stm32l4r9xx.s
...r9-eval/board/CubeMX_Config/MDK-ARM/startup_stm32l4r9xx.s
+0
-466
bsp/stm32/stm32l4r9-eval/board/board.c
bsp/stm32/stm32l4r9-eval/board/board.c
+1
-0
bsp/stm32/stm32l4r9-eval/board/board.h
bsp/stm32/stm32l4r9-eval/board/board.h
+1
-0
bsp/stm32/stm32l4r9-eval/board/linker_scripts/link.lds
bsp/stm32/stm32l4r9-eval/board/linker_scripts/link.lds
+10
-0
bsp/stm32/stm32l4r9-eval/project.uvoptx
bsp/stm32/stm32l4r9-eval/project.uvoptx
+27
-7
bsp/stm32/stm32l4r9-eval/rtconfig.py
bsp/stm32/stm32l4r9-eval/rtconfig.py
+2
-2
未找到文件。
bsp/stm32/stm32l4r9-eval/README.md
浏览文件 @
e6d20e91
...
...
@@ -2,7 +2,7 @@
## 简介
本文档为 RT-Thread 开发团队为
STM32L4R9I-EVAL 开发板提供的 BSP (板级支持包) 说明。
STM32L4R9I-EVAL 开发板提供的 BSP (板级支持包) 说明。
主要内容如下:
...
...
bsp/stm32/stm32l4r9-eval/SConstruct
浏览文件 @
e6d20e91
...
...
@@ -15,7 +15,7 @@ except:
print
(
RTT_ROOT
)
exit
(
-
1
)
TARGET
=
'rt
-
thread.'
+
rtconfig
.
TARGET_EXT
TARGET
=
'rtthread.'
+
rtconfig
.
TARGET_EXT
env
=
Environment
(
tools
=
[
'mingw'
],
AS
=
rtconfig
.
AS
,
ASFLAGS
=
rtconfig
.
AFLAGS
,
...
...
@@ -28,7 +28,7 @@ env.PrependENVPath('PATH', rtconfig.EXEC_PATH)
if
rtconfig
.
PLATFORM
==
'iar'
:
env
.
Replace
(
CCCOM
=
[
'$CC $CCFLAGS $CPPFLAGS $_CPPDEFFLAGS $_CPPINCFLAGS -o $TARGET $SOURCES'
])
env
.
Replace
(
ARFLAGS
=
[
''
])
env
.
Replace
(
LINKCOM
=
env
[
"LINKCOM"
]
+
' --map rt
-
thread.map'
)
env
.
Replace
(
LINKCOM
=
env
[
"LINKCOM"
]
+
' --map rtthread.map'
)
Export
(
'RTT_ROOT'
)
Export
(
'rtconfig'
)
...
...
bsp/stm32/stm32l4r9-eval/applications/main.c
浏览文件 @
e6d20e91
...
...
@@ -6,6 +6,7 @@
* Change Logs:
* Date Author Notes
* 2018-11-06 SummerGift first version
* 2019-04-09 jhb
*/
#include <rtthread.h>
...
...
bsp/stm32/stm32l4r9-eval/board/CubeMX_Config/CubeMX_Config.ioc
浏览文件 @
e6d20e91
...
...
@@ -2,19 +2,21 @@
File.Version=6
KeepUserPlacement=false
Mcu.Family=STM32L4
Mcu.IP0=NVIC
Mcu.IP1=RCC
Mcu.IP2=SYS
Mcu.IP3=USART3
Mcu.IPNb=4
Mcu.IP0=LTDC
Mcu.IP1=NVIC
Mcu.IP2=RCC
Mcu.IP3=SYS
Mcu.IP4=USART3
Mcu.IPNb=5
Mcu.Name=STM32L4R9A(G-I)Ix
Mcu.Package=UFBGA169
Mcu.Pin0=PH0-OSC_IN (PH0)
Mcu.Pin1=PB11
Mcu.Pin2=PH1-OSC_OUT (PH1)
Mcu.Pin3=PB10
Mcu.Pin4=VP_SYS_VS_Systick
Mcu.PinsNb=5
Mcu.Pin4=VP_LTDC_DSIMode
Mcu.Pin5=VP_SYS_VS_Systick
Mcu.PinsNb=6
Mcu.ThirdPartyNb=0
Mcu.UserConstants=
Mcu.UserName=STM32L4R9AIIx
...
...
@@ -76,7 +78,7 @@ ProjectManager.StackSize=0x400
ProjectManager.TargetToolchain=MDK-ARM V5
ProjectManager.ToolChainLocation=
ProjectManager.UnderRoot=false
ProjectManager.functionlistsort=1-MX_GPIO_Init-GPIO-false-HAL-true,2-SystemClock_Config-RCC-false-HAL-false,3-MX_USART3_UART_Init-USART3-false-HAL-true
ProjectManager.functionlistsort=1-MX_GPIO_Init-GPIO-false-HAL-true,2-SystemClock_Config-RCC-false-HAL-false,3-MX_USART3_UART_Init-USART3-false-HAL-true
,4-MX_LTDC_Init-LTDC-false-HAL-true
RCC.ADCFreq_Value=64000000
RCC.AHBFreq_Value=120000000
RCC.APB1Freq_Value=120000000
...
...
@@ -145,6 +147,8 @@ RCC.VCOSAI1OutputFreq_Value=128000000
RCC.VCOSAI2OutputFreq_Value=128000000
USART3.IPParameters=VirtualMode-Asynchronous
USART3.VirtualMode-Asynchronous=VM_ASYNC
VP_LTDC_DSIMode.Mode=RGB888
VP_LTDC_DSIMode.Signal=LTDC_DSIMode
VP_SYS_VS_Systick.Mode=SysTick
VP_SYS_VS_Systick.Signal=SYS_VS_Systick
board=custom
bsp/stm32/stm32l4r9-eval/board/CubeMX_Config/MDK-ARM/CubeMX_Config.uvoptx
已删除
100644 → 0
浏览文件 @
365de33d
<?xml version="1.0" encoding="UTF-8"?>
<ProjectOpt
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation=
"project_opt.xsd"
>
<Target>
<TargetName>
CubeMX_Config
</TargetName>
<ToolsetNumber>
0x4
</ToolsetNumber>
<ToolsetName>
ARM-ADS
</ToolsetName>
<TargetOption>
<CLKADS>
120000000
</CLKADS>
<OPTTT>
<gFlags>
1
</gFlags>
<BeepAtEnd>
1
</BeepAtEnd>
<RunSim>
0
</RunSim>
<RunTarget>
1
</RunTarget>
</OPTTT>
<OPTHX>
<HexSelection>
1
</HexSelection>
<FlashByte>
65535
</FlashByte>
<HexRangeLowAddress>
0
</HexRangeLowAddress>
<HexRangeHighAddress>
0
</HexRangeHighAddress>
<HexOffset>
0
</HexOffset>
</OPTHX>
<OPTLEX>
<PageWidth>
79
</PageWidth>
<PageLength>
66
</PageLength>
<TabStop>
8
</TabStop>
<ListingPath
/>
</OPTLEX>
<ListingPage>
<CreateCListing>
1
</CreateCListing>
<CreateAListing>
1
</CreateAListing>
<CreateLListing>
1
</CreateLListing>
<CreateIListing>
0
</CreateIListing>
<AsmCond>
1
</AsmCond>
<AsmSymb>
1
</AsmSymb>
<AsmXref>
0
</AsmXref>
<CCond>
1
</CCond>
<CCode>
0
</CCode>
<CListInc>
0
</CListInc>
<CSymb>
0
</CSymb>
<LinkerCodeListing>
0
</LinkerCodeListing>
</ListingPage>
<OPTXL>
<LMap>
1
</LMap>
<LComments>
1
</LComments>
<LGenerateSymbols>
1
</LGenerateSymbols>
<LLibSym>
1
</LLibSym>
<LLines>
1
</LLines>
<LLocSym>
1
</LLocSym>
<LPubSym>
1
</LPubSym>
<LXref>
0
</LXref>
<LExpSel>
0
</LExpSel>
</OPTXL>
<OPTFL>
<tvExp>
0
</tvExp>
<tvExpOptDlg>
0
</tvExpOptDlg>
<IsCurrentTarget>
1
</IsCurrentTarget>
</OPTFL>
<CpuCode>
0
</CpuCode>
<DebugOpt>
<uSim>
0
</uSim>
<uTrg>
1
</uTrg>
<sLdApp>
1
</sLdApp>
<sGomain>
1
</sGomain>
<sRbreak>
1
</sRbreak>
<sRwatch>
1
</sRwatch>
<sRmem>
1
</sRmem>
<sRfunc>
1
</sRfunc>
<sRbox>
1
</sRbox>
<tLdApp>
1
</tLdApp>
<tGomain>
1
</tGomain>
<tRbreak>
1
</tRbreak>
<tRwatch>
1
</tRwatch>
<tRmem>
1
</tRmem>
<tRfunc>
1
</tRfunc>
<tRbox>
1
</tRbox>
<sRunDeb>
0
</sRunDeb>
<sLrtime>
0
</sLrtime>
<nTsel>
13
</nTsel>
<sDll
/>
<sDllPa
/>
<sDlgDll
/>
<sDlgPa
/>
<sIfile
/>
<tDll
/>
<tDllPa
/>
<tDlgDll
/>
<tDlgPa
/>
<tIfile
/>
<pMon>
STLink\ST-LINKIII-KEIL_SWO.dll
</pMon>
</DebugOpt>
<TargetDriverDllRegistry>
<SetRegEntry>
<Number>
0
</Number>
<Key>
ST-LINKIII-KEIL_SWO
</Key>
<Name>
-U-O142 -O2254 -S0 -C0 -TO18 -TC10000000 -TP21 -TDS8007 -TDT0 -TDC1F -TIEFFFFFFFF -TIP8 -FO7 -FD20000000 -FC1000 -FN1 -FF0STM32L4Rx_2048.FLM -FS08000000 -FL0200000 -FP0($$Device:STM32L4R9AI$Flash\STM32L4Rx_2048.FLM)
</Name>
</SetRegEntry>
<SetRegEntry>
<Number>
0
</Number>
<Key
/>
<Name>
-U-O142 -O2254 -S0 -C0 -TO18 -TC10000000 -TP21 -TDS8007 -TDT0 -TDC1F -TIEFFFFFFFF -TIP8 -FO7 -FD20000000 -FC1000 -FN1 -FF0STM32L4Rx_2048.FLM -FS08000000 -FL0200000 -FP0($$Device:STM32L4R9AI$Flash\STM32L4Rx_2048.FLM)
</Name>
</SetRegEntry>
</TargetDriverDllRegistry>
<DebugFlag>
<trace>
0
</trace>
<periodic>
1
</periodic>
<aLwin>
0
</aLwin>
<aCover>
0
</aCover>
<aSer1>
0
</aSer1>
<aSer2>
0
</aSer2>
<aPa>
0
</aPa>
<viewmode>
0
</viewmode>
<vrSel>
0
</vrSel>
<aSym>
0
</aSym>
<aTbox>
0
</aTbox>
<AscS1>
0
</AscS1>
<AscS2>
0
</AscS2>
<AscS3>
0
</AscS3>
<aSer3>
0
</aSer3>
<eProf>
0
</eProf>
<aLa>
0
</aLa>
<aPa1>
0
</aPa1>
<AscS4>
0
</AscS4>
<aSer4>
0
</aSer4>
<StkLoc>
0
</StkLoc>
<TrcWin>
0
</TrcWin>
<newCpu>
0
</newCpu>
<uProt>
0
</uProt>
</DebugFlag>
<LintExecutable
/>
<LintConfigFile
/>
</TargetOption>
</Target>
</ProjectOpt>
bsp/stm32/stm32l4r9-eval/board/CubeMX_Config/MDK-ARM/CubeMX_Config.uvprojx
已删除
100644 → 0
浏览文件 @
365de33d
<?xml version="1.0" encoding="UTF-8"?>
<Project
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
noNamespaceSchemaLocation=
"project_proj.xsd"
>
<SchemaVersion>
1.1
</SchemaVersion>
<Header>
### uVision Project, (C) Keil Software
</Header>
<Targets>
<Target>
<TargetName>
CubeMX_Config
</TargetName>
<ToolsetNumber>
0x4
</ToolsetNumber>
<ToolsetName>
ARM-ADS
</ToolsetName>
<TargetOption>
<TargetCommonOption>
<Device>
STM32L4R9AIIx
</Device>
<Vendor>
STMicroelectronics
</Vendor>
<Cpu>
IRAM(0x20000000-0x2009FFFF) IROM(0x8000000-0x81FFFFF) CLOCK(8000000) FPU2 CPUTYPE("Cortex-M4")
</Cpu>
<FlashUtilSpec
/>
<StartupFile
/>
<FlashDriverDll
/>
<DeviceId
/>
<RegisterFile
/>
<MemoryEnv
/>
<Cmp
/>
<Asm
/>
<Linker
/>
<OHString
/>
<InfinionOptionDll
/>
<SLE66CMisc
/>
<SLE66AMisc
/>
<SLE66LinkerMisc
/>
<SFDFile
/>
<bCustSvd>
0
</bCustSvd>
<UseEnv>
0
</UseEnv>
<BinPath
/>
<IncludePath
/>
<LibPath
/>
<RegisterFilePath
/>
<DBRegisterFilePath
/>
<TargetStatus>
<Error>
0
</Error>
<ExitCodeStop>
0
</ExitCodeStop>
<ButtonStop>
0
</ButtonStop>
<NotGenerated>
0
</NotGenerated>
<InvalidFlash>
1
</InvalidFlash>
</TargetStatus>
<OutputDirectory>
CubeMX_Config\
</OutputDirectory>
<OutputName>
CubeMX_Config
</OutputName>
<CreateExecutable>
1
</CreateExecutable>
<CreateLib>
0
</CreateLib>
<CreateHexFile>
1
</CreateHexFile>
<DebugInformation>
1
</DebugInformation>
<BrowseInformation>
1
</BrowseInformation>
<ListingPath>
./CubeMX_Config/
</ListingPath>
<HexFormatSelection>
1
</HexFormatSelection>
<Merge32K>
0
</Merge32K>
<CreateBatchFile>
0
</CreateBatchFile>
<BeforeCompile>
<RunUserProg1>
0
</RunUserProg1>
<RunUserProg2>
0
</RunUserProg2>
<UserProg1Name
/>
<UserProg2Name
/>
<UserProg1Dos16Mode>
0
</UserProg1Dos16Mode>
<UserProg2Dos16Mode>
0
</UserProg2Dos16Mode>
</BeforeCompile>
<BeforeMake>
<RunUserProg1>
0
</RunUserProg1>
<RunUserProg2>
0
</RunUserProg2>
<UserProg1Name
/>
<UserProg2Name
/>
<UserProg1Dos16Mode>
0
</UserProg1Dos16Mode>
<UserProg2Dos16Mode>
0
</UserProg2Dos16Mode>
<nStopB1X>
0
</nStopB1X>
<nStopB2X>
0
</nStopB2X>
</BeforeMake>
<AfterMake>
<RunUserProg1>
0
</RunUserProg1>
<RunUserProg2>
0
</RunUserProg2>
<UserProg1Name
/>
<UserProg2Name
/>
<UserProg1Dos16Mode>
0
</UserProg1Dos16Mode>
<UserProg2Dos16Mode>
0
</UserProg2Dos16Mode>
</AfterMake>
<SelectedForBatchBuild>
0
</SelectedForBatchBuild>
<SVCSIdString
/>
</TargetCommonOption>
<CommonProperty>
<UseCPPCompiler>
0
</UseCPPCompiler>
<RVCTCodeConst>
0
</RVCTCodeConst>
<RVCTZI>
0
</RVCTZI>
<RVCTOtherData>
0
</RVCTOtherData>
<ModuleSelection>
0
</ModuleSelection>
<IncludeInBuild>
1
</IncludeInBuild>
<AlwaysBuild>
0
</AlwaysBuild>
<GenerateAssemblyFile>
0
</GenerateAssemblyFile>
<AssembleAssemblyFile>
0
</AssembleAssemblyFile>
<PublicsOnly>
0
</PublicsOnly>
<StopOnExitCode>
3
</StopOnExitCode>
<CustomArgument
/>
<IncludeLibraryModules
/>
<ComprImg
/>
</CommonProperty>
<DllOption>
<SimDllName>
SARMCM3.DLL
</SimDllName>
<SimDllArguments>
-REMAP -MPU
</SimDllArguments>
<SimDlgDll>
DCM.DLL
</SimDlgDll>
<SimDlgDllArguments>
-pCM4
</SimDlgDllArguments>
<TargetDllName>
SARMCM3.DLL
</TargetDllName>
<TargetDllArguments>
-MPU
</TargetDllArguments>
<TargetDlgDll>
TCM.DLL
</TargetDlgDll>
<TargetDlgDllArguments>
-pCM4
</TargetDlgDllArguments>
</DllOption>
<DebugOption>
<OPTHX>
<HexSelection>
1
</HexSelection>
<HexRangeLowAddress>
0
</HexRangeLowAddress>
<HexRangeHighAddress>
0
</HexRangeHighAddress>
<HexOffset>
0
</HexOffset>
<Oh166RecLen>
16
</Oh166RecLen>
</OPTHX>
<Simulator>
<UseSimulator>
0
</UseSimulator>
<LoadApplicationAtStartup>
1
</LoadApplicationAtStartup>
<RunToMain>
1
</RunToMain>
<RestoreBreakpoints>
1
</RestoreBreakpoints>
<RestoreWatchpoints>
1
</RestoreWatchpoints>
<RestoreMemoryDisplay>
1
</RestoreMemoryDisplay>
<RestoreFunctions>
1
</RestoreFunctions>
<RestoreToolbox>
1
</RestoreToolbox>
<LimitSpeedToRealTime>
0
</LimitSpeedToRealTime>
<RestoreSysVw>
1
</RestoreSysVw>
</Simulator>
<Target>
<UseTarget>
1
</UseTarget>
<LoadApplicationAtStartup>
1
</LoadApplicationAtStartup>
<RunToMain>
1
</RunToMain>
<RestoreBreakpoints>
1
</RestoreBreakpoints>
<RestoreWatchpoints>
1
</RestoreWatchpoints>
<RestoreMemoryDisplay>
1
</RestoreMemoryDisplay>
<RestoreFunctions>
0
</RestoreFunctions>
<RestoreToolbox>
1
</RestoreToolbox>
<RestoreTracepoints>
1
</RestoreTracepoints>
<RestoreSysVw>
1
</RestoreSysVw>
</Target>
<RunDebugAfterBuild>
0
</RunDebugAfterBuild>
<TargetSelection>
13
</TargetSelection>
<SimDlls>
<CpuDll
/>
<CpuDllArguments
/>
<PeripheralDll
/>
<PeripheralDllArguments
/>
<InitializationFile
/>
</SimDlls>
<TargetDlls>
<CpuDll
/>
<CpuDllArguments
/>
<PeripheralDll
/>
<PeripheralDllArguments
/>
<InitializationFile
/>
<Driver>
STLink\ST-LINKIII-KEIL_SWO.dll
</Driver>
</TargetDlls>
</DebugOption>
<Utilities>
<Flash1>
<UseTargetDll>
1
</UseTargetDll>
<UseExternalTool>
0
</UseExternalTool>
<RunIndependent>
0
</RunIndependent>
<UpdateFlashBeforeDebugging>
1
</UpdateFlashBeforeDebugging>
<Capability>
1
</Capability>
<DriverSelection>
4107
</DriverSelection>
</Flash1>
<bUseTDR>
1
</bUseTDR>
<Flash2>
STLink\ST-LINKIII-KEIL_SWO.dll
</Flash2>
<Flash3
/>
<Flash4
/>
<pFcarmOut
/>
<pFcarmGrp
/>
<pFcArmRoot
/>
<FcArmLst>
0
</FcArmLst>
</Utilities>
<TargetArmAds>
<ArmAdsMisc>
<GenerateListings>
0
</GenerateListings>
<asHll>
1
</asHll>
<asAsm>
1
</asAsm>
<asMacX>
1
</asMacX>
<asSyms>
1
</asSyms>
<asFals>
1
</asFals>
<asDbgD>
1
</asDbgD>
<asForm>
1
</asForm>
<ldLst>
0
</ldLst>
<ldmm>
1
</ldmm>
<ldXref>
1
</ldXref>
<BigEnd>
0
</BigEnd>
<AdsALst>
1
</AdsALst>
<AdsACrf>
1
</AdsACrf>
<AdsANop>
0
</AdsANop>
<AdsANot>
0
</AdsANot>
<AdsLLst>
1
</AdsLLst>
<AdsLmap>
1
</AdsLmap>
<AdsLcgr>
1
</AdsLcgr>
<AdsLsym>
1
</AdsLsym>
<AdsLszi>
1
</AdsLszi>
<AdsLtoi>
1
</AdsLtoi>
<AdsLsun>
1
</AdsLsun>
<AdsLven>
1
</AdsLven>
<AdsLsxf>
1
</AdsLsxf>
<RvctClst>
0
</RvctClst>
<GenPPlst>
0
</GenPPlst>
<AdsCpuType>
"Cortex-M4"
</AdsCpuType>
<RvctDeviceName
/>
<mOS>
0
</mOS>
<uocRom>
0
</uocRom>
<uocRam>
0
</uocRam>
<hadIROM>
1
</hadIROM>
<hadIRAM>
1
</hadIRAM>
<hadXRAM>
0
</hadXRAM>
<uocXRam>
0
</uocXRam>
<RvdsVP>
2
</RvdsVP>
<hadIRAM2>
0
</hadIRAM2>
<hadIROM2>
0
</hadIROM2>
<StupSel>
8
</StupSel>
<useUlib>
1
</useUlib>
<EndSel>
0
</EndSel>
<uLtcg>
0
</uLtcg>
<RoSelD>
3
</RoSelD>
<RwSelD>
3
</RwSelD>
<CodeSel>
0
</CodeSel>
<OptFeed>
0
</OptFeed>
<NoZi1>
0
</NoZi1>
<NoZi2>
0
</NoZi2>
<NoZi3>
0
</NoZi3>
<NoZi4>
0
</NoZi4>
<NoZi5>
0
</NoZi5>
<Ro1Chk>
0
</Ro1Chk>
<Ro2Chk>
0
</Ro2Chk>
<Ro3Chk>
0
</Ro3Chk>
<Ir1Chk>
1
</Ir1Chk>
<Ir2Chk>
0
</Ir2Chk>
<Ra1Chk>
0
</Ra1Chk>
<Ra2Chk>
0
</Ra2Chk>
<Ra3Chk>
0
</Ra3Chk>
<Im1Chk>
1
</Im1Chk>
<Im2Chk>
0
</Im2Chk>
<OnChipMemories>
<Ocm1>
<Type>
0
</Type>
<StartAddress>
0x0
</StartAddress>
<Size>
0x0
</Size>
</Ocm1>
<Ocm2>
<Type>
0
</Type>
<StartAddress>
0x0
</StartAddress>
<Size>
0x0
</Size>
</Ocm2>
<Ocm3>
<Type>
0
</Type>
<StartAddress>
0x0
</StartAddress>
<Size>
0x0
</Size>
</Ocm3>
<Ocm4>
<Type>
0
</Type>
<StartAddress>
0x0
</StartAddress>
<Size>
0x0
</Size>
</Ocm4>
<Ocm5>
<Type>
0
</Type>
<StartAddress>
0x0
</StartAddress>
<Size>
0x0
</Size>
</Ocm5>
<Ocm6>
<Type>
0
</Type>
<StartAddress>
0x0
</StartAddress>
<Size>
0x0
</Size>
</Ocm6>
<IRAM>
<Type>
0
</Type>
<StartAddress
/>
<Size
/>
</IRAM>
<IROM>
<Type>
1
</Type>
<StartAddress
/>
<Size
/>
</IROM>
<XRAM>
<Type>
0
</Type>
<StartAddress>
0x0
</StartAddress>
<Size>
0x0
</Size>
</XRAM>
<OCR_RVCT1>
<Type>
1
</Type>
<StartAddress>
0x0
</StartAddress>
<Size>
0x0
</Size>
</OCR_RVCT1>
<OCR_RVCT2>
<Type>
1
</Type>
<StartAddress>
0x0
</StartAddress>
<Size>
0x0
</Size>
</OCR_RVCT2>
<OCR_RVCT3>
<Type>
1
</Type>
<StartAddress>
0x0
</StartAddress>
<Size>
0x0
</Size>
</OCR_RVCT3>
<OCR_RVCT4>
<Type>
1
</Type>
<StartAddress
/>
<Size
/>
</OCR_RVCT4>
<OCR_RVCT5>
<Type>
1
</Type>
<StartAddress>
0x0
</StartAddress>
<Size>
0x0
</Size>
</OCR_RVCT5>
<OCR_RVCT6>
<Type>
0
</Type>
<StartAddress>
0x0
</StartAddress>
<Size>
0x0
</Size>
</OCR_RVCT6>
<OCR_RVCT7>
<Type>
0
</Type>
<StartAddress>
0x0
</StartAddress>
<Size>
0x0
</Size>
</OCR_RVCT7>
<OCR_RVCT8>
<Type>
0
</Type>
<StartAddress>
0x0
</StartAddress>
<Size>
0x0
</Size>
</OCR_RVCT8>
<OCR_RVCT9>
<Type>
0
</Type>
<StartAddress
/>
<Size
/>
</OCR_RVCT9>
<OCR_RVCT10>
<Type>
0
</Type>
<StartAddress>
0x0
</StartAddress>
<Size>
0x0
</Size>
</OCR_RVCT10>
</OnChipMemories>
<RvctStartVector
/>
</ArmAdsMisc>
<Cads>
<interw>
1
</interw>
<Optim>
4
</Optim>
<oTime>
0
</oTime>
<SplitLS>
0
</SplitLS>
<OneElfS>
1
</OneElfS>
<Strict>
0
</Strict>
<EnumInt>
0
</EnumInt>
<PlainCh>
0
</PlainCh>
<Ropi>
0
</Ropi>
<Rwpi>
0
</Rwpi>
<wLevel>
2
</wLevel>
<uThumb>
0
</uThumb>
<uSurpInc>
0
</uSurpInc>
<uC99>
1
</uC99>
<useXO>
0
</useXO>
<VariousControls>
<MiscControls
/>
<Define>
USE_HAL_DRIVER,STM32L4R9xx
</Define>
<Undefine
/>
<IncludePath>
../Inc; C:/Users/RT-Thread/STM32Cube/Repository/STM32Cube_FW_L4_V1.13.0/Drivers/STM32L4xx_HAL_Driver/Inc; C:/Users/RT-Thread/STM32Cube/Repository/STM32Cube_FW_L4_V1.13.0/Drivers/STM32L4xx_HAL_Driver/Inc/Legacy; C:/Users/RT-Thread/STM32Cube/Repository/STM32Cube_FW_L4_V1.13.0/Drivers/CMSIS/Device/ST/STM32L4xx/Include; C:/Users/RT-Thread/STM32Cube/Repository/STM32Cube_FW_L4_V1.13.0/Drivers/CMSIS/Include
</IncludePath>
</VariousControls>
</Cads>
<Aads>
<interw>
1
</interw>
<Ropi>
0
</Ropi>
<Rwpi>
0
</Rwpi>
<thumb>
0
</thumb>
<SplitLS>
0
</SplitLS>
<SwStkChk>
0
</SwStkChk>
<NoWarn>
0
</NoWarn>
<VariousControls>
<MiscControls
/>
<Define
/>
<Undefine
/>
<IncludePath
/>
</VariousControls>
</Aads>
<LDads>
<umfTarg>
1
</umfTarg>
<Ropi>
0
</Ropi>
<Rwpi>
0
</Rwpi>
<noStLib>
0
</noStLib>
<RepFail>
1
</RepFail>
<useFile>
0
</useFile>
<TextAddressRange>
0x08000000
</TextAddressRange>
<DataAddressRange>
0x20000000
</DataAddressRange>
<pXoBase
/>
<ScatterFile
/>
<IncludeLibs
/>
<IncludeLibsPath
/>
<Misc
/>
<LinkerInputFile
/>
<DisabledWarnings
/>
</LDads>
</TargetArmAds>
</TargetOption>
<Groups>
<Group>
<GroupName>
Application/MDK-ARM
</GroupName>
<Files>
<File>
<FileName>
startup_stm32l4r9xx.s
</FileName>
<FileType>
2
</FileType>
<FilePath>
startup_stm32l4r9xx.s
</FilePath>
</File>
</Files>
</Group>
<Group>
<GroupName>
::CMSIS
</GroupName>
</Group>
<Group><GroupName>
Application/User
</GroupName><Files><File><FileName>
main.c
</FileName><FileType>
1
</FileType><FilePath>
../Src/main.c
</FilePath></File><File><FileName>
stm32l4xx_it.c
</FileName><FileType>
1
</FileType><FilePath>
../Src/stm32l4xx_it.c
</FilePath></File><File><FileName>
stm32l4xx_hal_msp.c
</FileName><FileType>
1
</FileType><FilePath>
../Src/stm32l4xx_hal_msp.c
</FilePath></File></Files></Group>
<Group><GroupName>
Drivers/STM32L4xx_HAL_Driver
</GroupName><Files><File><FileName>
stm32l4xx_hal_tim.c
</FileName><FileType>
1
</FileType><FilePath>
C:/Users/RT-Thread/STM32Cube/Repository/STM32Cube_FW_L4_V1.13.0/Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_tim.c
</FilePath></File><File><FileName>
stm32l4xx_hal_tim_ex.c
</FileName><FileType>
1
</FileType><FilePath>
C:/Users/RT-Thread/STM32Cube/Repository/STM32Cube_FW_L4_V1.13.0/Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_tim_ex.c
</FilePath></File><File><FileName>
stm32l4xx_hal_uart.c
</FileName><FileType>
1
</FileType><FilePath>
C:/Users/RT-Thread/STM32Cube/Repository/STM32Cube_FW_L4_V1.13.0/Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_uart.c
</FilePath></File><File><FileName>
stm32l4xx_hal_uart_ex.c
</FileName><FileType>
1
</FileType><FilePath>
C:/Users/RT-Thread/STM32Cube/Repository/STM32Cube_FW_L4_V1.13.0/Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_uart_ex.c
</FilePath></File><File><FileName>
stm32l4xx_hal.c
</FileName><FileType>
1
</FileType><FilePath>
C:/Users/RT-Thread/STM32Cube/Repository/STM32Cube_FW_L4_V1.13.0/Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal.c
</FilePath></File><File><FileName>
stm32l4xx_hal_i2c.c
</FileName><FileType>
1
</FileType><FilePath>
C:/Users/RT-Thread/STM32Cube/Repository/STM32Cube_FW_L4_V1.13.0/Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_i2c.c
</FilePath></File><File><FileName>
stm32l4xx_hal_i2c_ex.c
</FileName><FileType>
1
</FileType><FilePath>
C:/Users/RT-Thread/STM32Cube/Repository/STM32Cube_FW_L4_V1.13.0/Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_i2c_ex.c
</FilePath></File><File><FileName>
stm32l4xx_hal_rcc.c
</FileName><FileType>
1
</FileType><FilePath>
C:/Users/RT-Thread/STM32Cube/Repository/STM32Cube_FW_L4_V1.13.0/Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_rcc.c
</FilePath></File><File><FileName>
stm32l4xx_hal_rcc_ex.c
</FileName><FileType>
1
</FileType><FilePath>
C:/Users/RT-Thread/STM32Cube/Repository/STM32Cube_FW_L4_V1.13.0/Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_rcc_ex.c
</FilePath></File><File><FileName>
stm32l4xx_hal_flash.c
</FileName><FileType>
1
</FileType><FilePath>
C:/Users/RT-Thread/STM32Cube/Repository/STM32Cube_FW_L4_V1.13.0/Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_flash.c
</FilePath></File><File><FileName>
stm32l4xx_hal_flash_ex.c
</FileName><FileType>
1
</FileType><FilePath>
C:/Users/RT-Thread/STM32Cube/Repository/STM32Cube_FW_L4_V1.13.0/Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_flash_ex.c
</FilePath></File><File><FileName>
stm32l4xx_hal_flash_ramfunc.c
</FileName><FileType>
1
</FileType><FilePath>
C:/Users/RT-Thread/STM32Cube/Repository/STM32Cube_FW_L4_V1.13.0/Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_flash_ramfunc.c
</FilePath></File><File><FileName>
stm32l4xx_hal_gpio.c
</FileName><FileType>
1
</FileType><FilePath>
C:/Users/RT-Thread/STM32Cube/Repository/STM32Cube_FW_L4_V1.13.0/Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_gpio.c
</FilePath></File><File><FileName>
stm32l4xx_hal_dma.c
</FileName><FileType>
1
</FileType><FilePath>
C:/Users/RT-Thread/STM32Cube/Repository/STM32Cube_FW_L4_V1.13.0/Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_dma.c
</FilePath></File><File><FileName>
stm32l4xx_hal_dma_ex.c
</FileName><FileType>
1
</FileType><FilePath>
C:/Users/RT-Thread/STM32Cube/Repository/STM32Cube_FW_L4_V1.13.0/Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_dma_ex.c
</FilePath></File><File><FileName>
stm32l4xx_hal_pwr.c
</FileName><FileType>
1
</FileType><FilePath>
C:/Users/RT-Thread/STM32Cube/Repository/STM32Cube_FW_L4_V1.13.0/Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_pwr.c
</FilePath></File><File><FileName>
stm32l4xx_hal_pwr_ex.c
</FileName><FileType>
1
</FileType><FilePath>
C:/Users/RT-Thread/STM32Cube/Repository/STM32Cube_FW_L4_V1.13.0/Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_pwr_ex.c
</FilePath></File><File><FileName>
stm32l4xx_hal_cortex.c
</FileName><FileType>
1
</FileType><FilePath>
C:/Users/RT-Thread/STM32Cube/Repository/STM32Cube_FW_L4_V1.13.0/Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_cortex.c
</FilePath></File></Files></Group>
<Group><GroupName>
Drivers/CMSIS
</GroupName><Files><File><FileName>
system_stm32l4xx.c
</FileName><FileType>
1
</FileType><FilePath>
../Src/system_stm32l4xx.c
</FilePath></File></Files></Group>
</Groups>
</Target>
</Targets>
<RTE>
<apis
/>
<components>
<component
Cclass=
"CMSIS"
Cgroup=
"CORE"
Cvendor=
"ARM"
Cversion=
"4.3.0"
condition=
"CMSIS Core"
>
<package
name=
"CMSIS"
schemaVersion=
"1.3"
url=
"http://www.keil.com/pack/"
vendor=
"ARM"
version=
"4.5.0"
/>
<targetInfos>
<targetInfo
name=
"CubeMX_Config"
/>
</targetInfos>
</component>
</components>
<files
/>
</RTE>
</Project>
bsp/stm32/stm32l4r9-eval/board/CubeMX_Config/MDK-ARM/startup_stm32l4r9xx.s
已删除
100644 → 0
浏览文件 @
365de33d
此差异已折叠。
点击以展开。
bsp/stm32/stm32l4r9-eval/board/board.c
浏览文件 @
e6d20e91
...
...
@@ -6,6 +6,7 @@
* Change Logs:
* Date Author Notes
* 2018-11-06 SummerGift first version
* 2019-04-09 jhb
*/
#include "board.h"
...
...
bsp/stm32/stm32l4r9-eval/board/board.h
浏览文件 @
e6d20e91
...
...
@@ -6,6 +6,7 @@
* Change Logs:
* Date Author Notes
* 2018-11-5 SummerGift first version
* 2019-04-09 jhb
*/
#ifndef __BOARD_H__
...
...
bsp/stm32/stm32l4r9-eval/board/linker_scripts/link.lds
浏览文件 @
e6d20e91
...
...
@@ -47,6 +47,12 @@ SECTIONS
KEEP(*(SORT(.rti_fn*)))
__rt_init_end = .;
. = ALIGN(4);
PROVIDE(__ctors_start__ = .);
KEEP (*(SORT(.init_array.*)))
KEEP (*(.init_array))
PROVIDE(__ctors_end__ = .);
. = ALIGN(4);
_etext = .;
} > ROM = 0
...
...
@@ -73,6 +79,10 @@ SECTIONS
*(.data)
*(.data.*)
*(.gnu.linkonce.d*)
PROVIDE(__dtors_start__ = .);
KEEP(*(SORT(.dtors.*)))
KEEP(*(.dtors))
PROVIDE(__dtors_end__ = .);
. = ALIGN(4);
/* This is used by the startup in order to initialize the .data secion */
...
...
bsp/stm32/stm32l4r9-eval/project.uvoptx
浏览文件 @
e6d20e91
...
...
@@ -73,7 +73,7 @@
<LExpSel>
0
</LExpSel>
</OPTXL>
<OPTFL>
<tvExp>
0
</tvExp>
<tvExp>
1
</tvExp>
<tvExpOptDlg>
0
</tvExpOptDlg>
<IsCurrentTarget>
1
</IsCurrentTarget>
</OPTFL>
...
...
@@ -117,6 +117,26 @@
<pMon>
STLink\ST-LINKIII-KEIL_SWO.dll
</pMon>
</DebugOpt>
<TargetDriverDllRegistry>
<SetRegEntry>
<Number>
0
</Number>
<Key>
ARMRTXEVENTFLAGS
</Key>
<Name>
-L70 -Z18 -C0 -M0 -T1
</Name>
</SetRegEntry>
<SetRegEntry>
<Number>
0
</Number>
<Key>
DLGTARM
</Key>
<Name>
(1010=-1,-1,-1,-1,0)(1007=-1,-1,-1,-1,0)(1008=-1,-1,-1,-1,0)(1009=-1,-1,-1,-1,0)(1012=-1,-1,-1,-1,0)
</Name>
</SetRegEntry>
<SetRegEntry>
<Number>
0
</Number>
<Key>
ARMDBGFLAGS
</Key>
<Name></Name>
</SetRegEntry>
<SetRegEntry>
<Number>
0
</Number>
<Key>
DLGUARM
</Key>
<Name>
(105=-1,-1,-1,-1,0)
</Name>
</SetRegEntry>
<SetRegEntry>
<Number>
0
</Number>
<Key>
UL2CM3
</Key>
...
...
@@ -125,14 +145,14 @@
<SetRegEntry>
<Number>
0
</Number>
<Key>
ST-LINKIII-KEIL_SWO
</Key>
<Name>
-U0668FF504955857567074018 -O206 -SF4000 -C0 -A0 -I0 -HNlocalhost -HP7184 -P2 -N00("ARM CoreSight SW-DP") -D00(2BA01477) -L00(0) -TO18 -TC10000000 -TP21 -TDS8007 -TDT0 -TDC1F -TIEFFFFFFFF -TIP8 -FO15 -FD20000000 -FC1000 -FN1 -FF0STM32L4Rx_2048 -FS08000000 -FL0200000 -FP0($$Device:STM32L4R9AIIx$CMSIS\Flash\STM32L4Rx_2048.FLM)
</Name>
<Name>
-U0668FF504955857567074018 -O206 -SF4000 -C0 -A0 -I0 -HNlocalhost -HP7184 -P2 -N00("ARM CoreSight SW-DP") -D00(2BA01477) -L00(0) -TO18 -TC10000000 -TP21 -TDS8007 -TDT0 -TDC1F -TIEFFFFFFFF -TIP8 -FO15 -FD20000000 -FC1000 -FN1 -FF0STM32L4Rx_2048
.FLM
-FS08000000 -FL0200000 -FP0($$Device:STM32L4R9AIIx$CMSIS\Flash\STM32L4Rx_2048.FLM)
</Name>
</SetRegEntry>
</TargetDriverDllRegistry>
<Breakpoint>
<Bp>
<Number>
0
</Number>
<Type>
0
</Type>
<LineNumber>
2
4
</LineNumber>
<LineNumber>
2
2
</LineNumber>
<EnabledFlag>
0
</EnabledFlag>
<Address>
0
</Address>
<ByteObject>
0
</ByteObject>
...
...
@@ -148,7 +168,7 @@
<Bp>
<Number>
1
</Number>
<Type>
0
</Type>
<LineNumber>
2
2
</LineNumber>
<LineNumber>
2
4
</LineNumber>
<EnabledFlag>
0
</EnabledFlag>
<Address>
0
</Address>
<ByteObject>
0
</ByteObject>
...
...
@@ -168,12 +188,12 @@
<DebugFlag>
<trace>
0
</trace>
<periodic>
0
</periodic>
<aLwin>
0
</aLwin>
<aLwin>
1
</aLwin>
<aCover>
0
</aCover>
<aSer1>
0
</aSer1>
<aSer2>
0
</aSer2>
<aPa>
0
</aPa>
<viewmode>
0
</viewmode>
<viewmode>
1
</viewmode>
<vrSel>
0
</vrSel>
<aSym>
0
</aSym>
<aTbox>
0
</aTbox>
...
...
@@ -432,7 +452,7 @@
<GroupNumber>
3
</GroupNumber>
<FileNumber>
17
</FileNumber>
<FileType>
1
</FileType>
<tvExp>
0
</tvExp>
<tvExp>
1
</tvExp>
<tvExpOptDlg>
0
</tvExpOptDlg>
<bDave2>
0
</bDave2>
<PathWithFileName>
board\board.c
</PathWithFileName>
...
...
bsp/stm32/stm32l4r9-eval/rtconfig.py
浏览文件 @
e6d20e91
...
...
@@ -46,7 +46,7 @@ if PLATFORM == 'gcc':
DEVICE
=
' -mcpu=cortex-m4 -mthumb -mfpu=fpv4-sp-d16 -mfloat-abi=hard -ffunction-sections -fdata-sections'
CFLAGS
=
DEVICE
+
' -Dgcc'
AFLAGS
=
' -c'
+
DEVICE
+
' -x assembler-with-cpp -Wa,-mimplicit-it=thumb '
LFLAGS
=
DEVICE
+
' -Wl,--gc-sections,-Map=rt
-
thread.map,-cref,-u,Reset_Handler -T board/linker_scripts/link.lds'
LFLAGS
=
DEVICE
+
' -Wl,--gc-sections,-Map=rtthread.map,-cref,-u,Reset_Handler -T board/linker_scripts/link.lds'
CPATH
=
''
LPATH
=
''
...
...
@@ -73,7 +73,7 @@ elif PLATFORM == 'armcc':
DEVICE
=
' --cpu Cortex-M4.fp '
CFLAGS
=
'-c '
+
DEVICE
+
' --apcs=interwork --c99'
AFLAGS
=
DEVICE
+
' --apcs=interwork '
LFLAGS
=
DEVICE
+
' --info sizes --info totals --info unused --info veneers --list rt
-
thread.map --strict --scatter "board\linker_scripts\link.sct"'
LFLAGS
=
DEVICE
+
' --info sizes --info totals --info unused --info veneers --list rtthread.map --strict --scatter "board\linker_scripts\link.sct"'
CFLAGS
+=
' -I'
+
EXEC_PATH
+
'/ARM/ARMCC/include'
LFLAGS
+=
' --libpath='
+
EXEC_PATH
+
'/ARM/ARMCC/lib'
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录