aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2022-12-19 11:57:39 -0500
committerKevin O'Connor <kevin@koconnor.net>2022-12-30 21:28:32 -0500
commit806cf233ec238802ce75c1f0a35cf9dcba1644f0 (patch)
tree760e9179f8e36e77c3b8909761a446028b2050d3 /src
parent4ca1e5f670616491cf27de833a90290d0aaf6fb0 (diff)
downloadkutter-806cf233ec238802ce75c1f0a35cf9dcba1644f0.tar.gz
kutter-806cf233ec238802ce75c1f0a35cf9dcba1644f0.tar.xz
kutter-806cf233ec238802ce75c1f0a35cf9dcba1644f0.zip
stm32: Include "misc.h" in stm32l4.c and stm32g4.c
Include for bootloader_request() definition. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'src')
-rw-r--r--src/stm32/stm32g4.c1
-rw-r--r--src/stm32/stm32l4.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/stm32/stm32g4.c b/src/stm32/stm32g4.c
index c3cf0969..4ed8bc6c 100644
--- a/src/stm32/stm32g4.c
+++ b/src/stm32/stm32g4.c
@@ -7,6 +7,7 @@
#include "autoconf.h" // CONFIG_CLOCK_REF_FREQ
#include "board/armcm_boot.h" // VectorTable
#include "board/irq.h" // irq_disable
+#include "board/misc.h" // bootloader_request
#include "command.h" // DECL_CONSTANT_STR
#include "internal.h" // enable_pclock
#include "sched.h" // sched_main
diff --git a/src/stm32/stm32l4.c b/src/stm32/stm32l4.c
index 709473c8..0555ae3e 100644
--- a/src/stm32/stm32l4.c
+++ b/src/stm32/stm32l4.c
@@ -7,6 +7,7 @@
#include "autoconf.h" // CONFIG_CLOCK_REF_FREQ
#include "board/armcm_boot.h" // VectorTable
#include "board/irq.h" // irq_disable
+#include "board/misc.h" // bootloader_request
#include "command.h" // DECL_CONSTANT_STR
#include "internal.h" // enable_pclock
#include "sched.h" // sched_main