Hi, I am using this function to branch to application wo problems on GNU tools:
static void boot_jump(uint32_t lAddress) { __asm( "LDR SP, [R0]\n" "LDR PC, [R0, #4]\n" ); }
But compiling in MDK-ARM reports: bootloader.c(45): error: #20: identifier "SP" is undefined
How to solve this or what method must be used in MDK-ARM to do the same? I could not find any bootloader example in the Keil pack that comes for STM32F micro.
View all questions in Keil forum