From a8e9c6b8b2e4edf5602a823ef3072fbccd33127d Mon Sep 17 00:00:00 2001 From: Marius Vikhammer Date: Wed, 22 Jun 2022 18:02:53 +0800 Subject: [PATCH] esp_hw_support: always inline cpu_hal_set_vecbase --- components/esp_hw_support/include/hal/cpu_hal.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/esp_hw_support/include/hal/cpu_hal.h b/components/esp_hw_support/include/hal/cpu_hal.h index 6fd94b2d69..17a96151da 100644 --- a/components/esp_hw_support/include/hal/cpu_hal.h +++ b/components/esp_hw_support/include/hal/cpu_hal.h @@ -136,7 +136,7 @@ static inline void cpu_hal_clear_watchpoint(int id) * * @param base address to move the exception vector table to */ -static inline void cpu_hal_set_vecbase(const void *base) +static inline __attribute__((always_inline)) void cpu_hal_set_vecbase(const void *base) { esp_cpu_intr_set_ivt_addr(base); }