update example project

This commit is contained in:
Gabriel Wang 2021-11-04 23:09:17 +00:00
parent ecf3599eb2
commit d241f585e8
4 changed files with 26 additions and 5 deletions

View File

@ -75,7 +75,7 @@
<OPTFL>
<tvExp>1</tvExp>
<tvExpOptDlg>0</tvExpOptDlg>
<IsCurrentTarget>1</IsCurrentTarget>
<IsCurrentTarget>0</IsCurrentTarget>
</OPTFL>
<CpuCode>7</CpuCode>
<DebugOpt>
@ -511,7 +511,7 @@
<OPTFL>
<tvExp>1</tvExp>
<tvExpOptDlg>0</tvExpOptDlg>
<IsCurrentTarget>0</IsCurrentTarget>
<IsCurrentTarget>1</IsCurrentTarget>
</OPTFL>
<CpuCode>7</CpuCode>
<DebugOpt>

View File

@ -1608,7 +1608,7 @@
<MiscControls></MiscControls>
<Define>__PERF_CNT_USE_LONG_CLOCK__</Define>
<Undefine></Undefine>
<IncludePath>..\lib</IncludePath>
<IncludePath></IncludePath>
</VariousControls>
</Cads>
<Aads>

View File

@ -559,4 +559,12 @@
<RteFlg>1</RteFlg>
</Group>
<Group>
<GroupName>::Utilities</GroupName>
<tvExp>1</tvExp>
<tvExpOptDlg>0</tvExpOptDlg>
<cbSel>0</cbSel>
<RteFlg>1</RteFlg>
</Group>
</ProjectOpt>

View File

@ -243,7 +243,7 @@
<MiscControls></MiscControls>
<Define></Define>
<Undefine></Undefine>
<IncludePath>..\lib</IncludePath>
<IncludePath></IncludePath>
</VariousControls>
</Carm>
<Aarm>
@ -268,7 +268,7 @@
<IncludeLibs></IncludeLibs>
<IncludeDir></IncludeDir>
<Misc>-Wl,--wrap=SysTick_Handler
"../lib/libperf_counter_gcc.a"
--specs=nosys.specs -Wl,--gc-sections
-mcpu=cortex-m0 -lc -ffunction-sections -fdata-sections
-fshort-enums -fshort-wchar</Misc>
@ -402,6 +402,9 @@
<Group>
<GroupName>::CMSIS</GroupName>
</Group>
<Group>
<GroupName>::Utilities</GroupName>
</Group>
</Groups>
</Target>
<Target>
@ -826,6 +829,9 @@
<Group>
<GroupName>::CMSIS</GroupName>
</Group>
<Group>
<GroupName>::Utilities</GroupName>
</Group>
</Groups>
</Target>
</Targets>
@ -840,6 +846,13 @@
<targetInfo name="gcc_lib"/>
</targetInfos>
</component>
<component Cclass="Utilities" Cgroup="Performance" Csub="perf_counter" Cvendor="GorgonMeducer" Cversion="1.6.1">
<package name="perf_counter" schemaVersion="1.4" url="https://github.com/GorgonMeducer/perf_counter/blob/main/cmsis-pack/" vendor="GorgonMeducer" version="1.6.1"/>
<targetInfos>
<targetInfo name="example"/>
<targetInfo name="gcc_lib"/>
</targetInfos>
</component>
</components>
<files>
<file attr="config" category="linkerScript" condition="GCC" name="Device\ARM\ARMCM0\Source\GCC\gcc_arm.ld" version="2.1.0">