From 22499ecc397e92e5cd52d4e219767e2549e94ca7 Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Sun, 27 Oct 2024 13:47:05 +0900 Subject: [PATCH] AP_Bootloader: correct compilation when signing enabled In file included from ../../libraries/AP_CheckFirmware/AP_CheckFirmware.cpp:13: ../../libraries/AP_CheckFirmware/../../Tools/AP_Bootloader/support.h:57:25: error: "CH_CFG_USE_HEAP" is not defined, evaluates to 0 [-Werror=undef] 57 | #if defined(STM32H7) && CH_CFG_USE_HEAP | ^~~~~~~~~~~~~~~ compilation terminated due to -Wfatal-errors. cc1plus: all warnings being treated as errors --- Tools/AP_Bootloader/support.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Tools/AP_Bootloader/support.h b/Tools/AP_Bootloader/support.h index 15b19c0030..e96137bf8d 100644 --- a/Tools/AP_Bootloader/support.h +++ b/Tools/AP_Bootloader/support.h @@ -1,5 +1,7 @@ #pragma once +#include + #define LED_ACTIVITY 1 #define LED_BOOTLOADER 2