Merge branch 'bugfix/cache_disabled_log_c3' into 'master'

esp_hw_support: always inline cpu_hal_set_vecbase to avoid issues at -O0

See merge request espressif/esp-idf!18630
This commit is contained in:
Marius Vikhammer
2022-07-06 09:55:20 +08:00
3 changed files with 31 additions and 34 deletions

View File

@@ -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);
}