mirror of https://github.com/ArduPilot/ardupilot
17 lines
349 B
C
17 lines
349 B
C
|
#pragma once
|
||
|
|
||
|
#include <AP_HAL/AP_HAL_Boards.h>
|
||
|
|
||
|
#ifndef HAL_NAVEKF2_AVAILABLE
|
||
|
// only default to EK2 enabled on boards with over 1M flash
|
||
|
#define HAL_NAVEKF2_AVAILABLE (BOARD_FLASH_SIZE>1024)
|
||
|
#endif
|
||
|
|
||
|
#ifndef HAL_NAVEKF3_AVAILABLE
|
||
|
#define HAL_NAVEKF3_AVAILABLE 1
|
||
|
#endif
|
||
|
|
||
|
#ifndef AP_AHRS_SIM_ENABLED
|
||
|
#define AP_AHRS_SIM_ENABLED AP_SIM_ENABLED
|
||
|
#endif
|