Solved
How to deal properly with weak interrupt function and override in assembler ?
Hello,
I have problems with implementation of weak default function and override with real function in assembler.
I have this in startup.s (usually all functions are defined like this):
.weak SysTick_Handler
.thumb_set SysTick_Handler,Default_Handlerand then have defined function in main.s:
.global SysTick_Handler
.type SysTick_Handler, %function
SysTick_Handler:
push {r3, r4, r5, r6, lr}
...if I comment those two lines in startup,s, then proper SysTick_Handler gets triggered, otherwise it ends in Default_Handler. I'm obviously doing something wrong ?
Thanks.