diff --git a/targets/TARGET_NUVOTON/TARGET_M261/device/startup_M261.c b/targets/TARGET_NUVOTON/TARGET_M261/device/startup_M261.c index 9af13c61ac..58a328e60d 100644 --- a/targets/TARGET_NUVOTON/TARGET_M261/device/startup_M261.c +++ b/targets/TARGET_NUVOTON/TARGET_M261/device/startup_M261.c @@ -193,7 +193,7 @@ WEAK_ALIAS_FUNC(TRNG_IRQHandler, Default_Handler) // 101: /* Vector table */ #if defined(__CC_ARM) || (defined(__ARMCC_VERSION) && (__ARMCC_VERSION >= 6010050)) -__attribute__ ((section("RESET"))) +__attribute__ ((section("RESET"), used)) const uint32_t __vector_handlers[] = { #elif defined(__ICCARM__) extern uint32_t CSTACK$$Limit;