aboutsummaryrefslogtreecommitdiffstats
path: root/src/stm32
diff options
context:
space:
mode:
Diffstat (limited to 'src/stm32')
-rw-r--r--src/stm32/internal.h3
-rw-r--r--src/stm32/stm32f0.c1
-rw-r--r--src/stm32/stm32f1.c1
-rw-r--r--src/stm32/stm32f4.c1
-rw-r--r--src/stm32/stm32g0.c1
-rw-r--r--src/stm32/stm32h7.c1
6 files changed, 5 insertions, 3 deletions
diff --git a/src/stm32/internal.h b/src/stm32/internal.h
index 0033942d..f0535ab9 100644
--- a/src/stm32/internal.h
+++ b/src/stm32/internal.h
@@ -42,7 +42,4 @@ struct cline lookup_clock_line(uint32_t periph_base);
uint32_t get_pclock_frequency(uint32_t periph_base);
void gpio_clock_enable(GPIO_TypeDef *regs);
-// armcm_timer.c
-void try_request_canboot(void);
-
#endif // internal.h
diff --git a/src/stm32/stm32f0.c b/src/stm32/stm32f0.c
index a751b546..8ea8f43c 100644
--- a/src/stm32/stm32f0.c
+++ b/src/stm32/stm32f0.c
@@ -6,6 +6,7 @@
#include "autoconf.h" // CONFIG_CLOCK_REF_FREQ
#include "board/armcm_boot.h" // armcm_main
+#include "board/armcm_reset.h" // try_request_canboot
#include "board/irq.h" // irq_disable
#include "command.h" // DECL_CONSTANT_STR
#include "internal.h" // enable_pclock
diff --git a/src/stm32/stm32f1.c b/src/stm32/stm32f1.c
index 25bba83f..820a5518 100644
--- a/src/stm32/stm32f1.c
+++ b/src/stm32/stm32f1.c
@@ -6,6 +6,7 @@
#include "autoconf.h" // CONFIG_CLOCK_REF_FREQ
#include "board/armcm_boot.h" // VectorTable
+#include "board/armcm_reset.h" // try_request_canboot
#include "board/irq.h" // irq_disable
#include "board/usb_cdc.h" // usb_request_bootloader
#include "internal.h" // enable_pclock
diff --git a/src/stm32/stm32f4.c b/src/stm32/stm32f4.c
index 58d8dbb4..9c6880cf 100644
--- a/src/stm32/stm32f4.c
+++ b/src/stm32/stm32f4.c
@@ -6,6 +6,7 @@
#include "autoconf.h" // CONFIG_CLOCK_REF_FREQ
#include "board/armcm_boot.h" // VectorTable
+#include "board/armcm_reset.h" // try_request_canboot
#include "board/irq.h" // irq_disable
#include "board/usb_cdc.h" // usb_request_bootloader
#include "command.h" // DECL_CONSTANT_STR
diff --git a/src/stm32/stm32g0.c b/src/stm32/stm32g0.c
index a98cc811..f38fc9c5 100644
--- a/src/stm32/stm32g0.c
+++ b/src/stm32/stm32g0.c
@@ -6,6 +6,7 @@
#include "autoconf.h" // CONFIG_CLOCK_REF_FREQ
#include "board/armcm_boot.h" // armcm_main
+#include "board/armcm_reset.h" // try_request_canboot
#include "board/irq.h" // irq_disable
#include "command.h" // DECL_CONSTANT_STR
#include "internal.h" // enable_pclock
diff --git a/src/stm32/stm32h7.c b/src/stm32/stm32h7.c
index c615d286..d6a32d96 100644
--- a/src/stm32/stm32h7.c
+++ b/src/stm32/stm32h7.c
@@ -6,6 +6,7 @@
#include "autoconf.h" // CONFIG_CLOCK_REF_FREQ
#include "board/armcm_boot.h" // VectorTable
+#include "board/armcm_reset.h" // try_request_canboot
#include "command.h" // DECL_CONSTANT_STR
#include "internal.h" // get_pclock_frequency
#include "sched.h" // sched_main