fix build issue with non-optimization

This commit is contained in:
hathach 2018-09-28 13:12:14 +07:00
parent 7cbf14c5e9
commit 89c547f0cc

View File

@ -65,6 +65,7 @@ isr_abort
ALIGN ALIGN
} }
#elif defined ( __GNUC__ ) #elif defined ( __GNUC__ )
static inline void bootloader_util_reset (uint32_t start_addr) __attribute__ ((optimize("-fomit-frame-pointer")));
static inline void bootloader_util_reset(uint32_t start_addr) static inline void bootloader_util_reset(uint32_t start_addr)
{ {
__asm volatile( __asm volatile(