AP_Torqeedo: add and use AP_Generator_config.h

This commit is contained in:
Peter Barker 2023-03-08 21:35:46 +11:00 committed by Peter Barker
parent adc4bf66f8
commit ff0c4133c6
2 changed files with 8 additions and 5 deletions

View File

@ -44,11 +44,7 @@
#pragma once
#include <AP_HAL/AP_HAL.h>
#ifndef HAL_TORQEEDO_ENABLED
#define HAL_TORQEEDO_ENABLED !HAL_MINIMIZE_FEATURES && (BOARD_FLASH_SIZE > 1024) && !defined(HAL_BUILD_AP_PERIPH)
#endif
#include "AP_Torqeedo_config.h"
#if HAL_TORQEEDO_ENABLED

View File

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