Skip to content

Commit 0e36ca2

Browse files
author
Max Vilimpoc
committed
Add #if condition to .S method call
1 parent 05f53c2 commit 0e36ca2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

startup_example.S.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,8 +170,10 @@ Reset_Handler:
170170
LDR R0, =nrf_reloc_vector_table
171171
BLX R0
172172
/*
173+
#if DEBUG_ISR_STACK_USAGE
173174
LDR R0, =fill_isr_stack_with_canary
174175
BLX R0
176+
#endif
175177
*/
176178
LDR R0, =_start
177179
BX R0

0 commit comments

Comments
 (0)