fix build issue with non-optimization

This commit is contained in:
hathach 2018-09-28 13:12:14 +07:00
parent 7cbf14c5e9
commit 89c547f0cc
1 changed files with 1 additions and 0 deletions

View File

@ -65,6 +65,7 @@ isr_abort
ALIGN
}
#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)
{
__asm volatile(