From 806cf233ec238802ce75c1f0a35cf9dcba1644f0 Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Mon, 19 Dec 2022 11:57:39 -0500 Subject: [PATCH] stm32: Include "misc.h" in stm32l4.c and stm32g4.c Include for bootloader_request() definition. Signed-off-by: Kevin O'Connor --- src/stm32/stm32g4.c | 1 + src/stm32/stm32l4.c | 1 + 2 files changed, 2 insertions(+) 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