Skip to content

Commit 68c27d6

Browse files
committed
minor update
1 parent 48ead43 commit 68c27d6

File tree

3 files changed

+5
-22
lines changed

3 files changed

+5
-22
lines changed

example/example.uvoptx

Lines changed: 1 addition & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -153,24 +153,7 @@
153153
<Name>(105=150,186,829,544,0)(106=-1,-1,-1,-1,0)(107=180,218,520,403,0)</Name>
154154
</SetRegEntry>
155155
</TargetDriverDllRegistry>
156-
<Breakpoint>
157-
<Bp>
158-
<Number>0</Number>
159-
<Type>0</Type>
160-
<LineNumber>240</LineNumber>
161-
<EnabledFlag>1</EnabledFlag>
162-
<Address>0</Address>
163-
<ByteObject>0</ByteObject>
164-
<HtxType>0</HtxType>
165-
<ManyObjects>0</ManyObjects>
166-
<SizeOfObject>0</SizeOfObject>
167-
<BreakByAccess>0</BreakByAccess>
168-
<BreakIfRCount>0</BreakIfRCount>
169-
<Filename>&lt;1&gt;.\main.c</Filename>
170-
<ExecCommand></ExecCommand>
171-
<Expression></Expression>
172-
</Bp>
173-
</Breakpoint>
156+
<Breakpoint/>
174157
<WatchWindow1>
175158
<Ww>
176159
<count>0</count>

example/example.uvprojx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,7 @@
314314
</ArmAdsMisc>
315315
<Cads>
316316
<interw>1</interw>
317-
<Optim>6</Optim>
317+
<Optim>8</Optim>
318318
<oTime>0</oTime>
319319
<SplitLS>0</SplitLS>
320320
<OneElfS>1</OneElfS>
@@ -338,7 +338,7 @@
338338
<v6Rtti>0</v6Rtti>
339339
<VariousControls>
340340
<MiscControls></MiscControls>
341-
<Define>__PERF_COUNTER_CFG_USE_SYSTICK_WRAPPER__,__PERFC_STACK_CHECK_IN_ISR__,__PERFC_STACK_GROWS_UPWARD__</Define>
341+
<Define>__PERF_COUNTER_CFG_USE_SYSTICK_WRAPPER__,__PERFC_STACK_CHECK_IN_ISR__</Define>
342342
<Undefine></Undefine>
343343
<IncludePath>..</IncludePath>
344344
</VariousControls>

example/main.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -222,10 +222,10 @@ int main (void)
222222
perfc_delay_us(30000);
223223
}
224224

225-
extern uint32_t Image$$ARM_LIB_STACK$$Base[];
225+
extern uintptr_t Image$$ARM_LIB_STACK$$Base[];
226226

227-
//__stack_usage__("LED", Image$$ARM_LIB_STACK$$Base) {
228227
__stack_usage__("LED", Image$$ARM_LIB_STACK$$Base) {
228+
//__stack_usage_max__("LED", Image$$ARM_LIB_STACK$$Base) {
229229
float fUsage = 0;
230230
__cpu_usage__(10, {
231231
fUsage = __usage__;

0 commit comments

Comments
 (0)