From b4ebba2eff9e7ea4328d1b6ace1d8aacc1e95cf0 Mon Sep 17 00:00:00 2001 From: dragonmux Date: Sun, 14 Jan 2024 07:07:57 +0000 Subject: [PATCH] stlink/platform: Use the locm3 decl for the vector table --- src/platforms/stlink/platform.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/platforms/stlink/platform.c b/src/platforms/stlink/platform.c index 191a1fbbae6..e9ba1ae2128 100644 --- a/src/platforms/stlink/platform.c +++ b/src/platforms/stlink/platform.c @@ -25,6 +25,7 @@ #include "usb.h" #include "aux_serial.h" +#include #include #include #include @@ -77,7 +78,6 @@ void platform_init(void) gpio_set_mode(LED_PORT, GPIO_MODE_OUTPUT_2_MHZ, GPIO_CNF_OUTPUT_PUSHPULL, led_idle_run); /* Relocate interrupt vector table here */ - extern uint32_t vector_table; SCB_VTOR = (uintptr_t)&vector_table; platform_timing_init();