Skip to content

Commit

Permalink
AP_Bootloader: correct compilation when signing enabled
Browse files Browse the repository at this point in the history
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
  • Loading branch information
peterbarker authored and tridge committed Nov 5, 2024
1 parent 12b761c commit e232ccd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Tools/AP_Bootloader/support.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#pragma once

#include <AP_HAL_ChibiOS/AP_HAL_ChibiOS.h>

#define LED_ACTIVITY 1
#define LED_BOOTLOADER 2

Expand Down

0 comments on commit e232ccd

Please sign in to comment.