allow to change optimization level with debug mode

This commit is contained in:
hathach committed 2017-07-05 14:08:53 +07:00
1 parent 107b196f33
commit 868395efce
3 files changed
+11 -10

No files matched your search

@@ -28,6 +28,7 @@
*
* @note This function will never return but issue a reset into provided application.
*/
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(