AP_EFI: add and use AP_EFI_config.h

This commit is contained in:
Peter Barker 2022-07-16 09:38:26 +10:00 committed by Andrew Tridgell
parent 7add656588
commit ed38aadc72
2 changed files with 11 additions and 5 deletions

View File

@ -15,15 +15,14 @@
#pragma once
#include "AP_EFI_config.h"
#if HAL_EFI_ENABLED
#include <AP_Common/AP_Common.h>
#include <AP_Param/AP_Param.h>
#include <GCS_MAVLink/GCS_MAVLink.h>
#ifndef HAL_EFI_ENABLED
#define HAL_EFI_ENABLED !HAL_MINIMIZE_FEATURES && BOARD_FLASH_SIZE > 1024
#endif
#if HAL_EFI_ENABLED
#include "AP_EFI_Backend.h"
#include "AP_EFI_State.h"

View File

@ -0,0 +1,7 @@
#pragma once
#include <AP_HAL/AP_HAL_Boards.h>
#ifndef HAL_EFI_ENABLED
#define HAL_EFI_ENABLED !HAL_MINIMIZE_FEATURES && BOARD_FLASH_SIZE > 1024
#endif