AP_HAL: check for existing HAL_STORAGE_SIZE

This commit is contained in:
Andrew Tridgell 2022-01-06 16:33:43 +11:00
parent de273fb76d
commit 3b70b3e7a7
1 changed files with 2 additions and 0 deletions

View File

@ -3,7 +3,9 @@
#define HAL_BOARD_NAME "EMPTY" #define HAL_BOARD_NAME "EMPTY"
#define HAL_CPU_CLASS HAL_CPU_CLASS_150 #define HAL_CPU_CLASS HAL_CPU_CLASS_150
#define HAL_MEM_CLASS HAL_MEM_CLASS_192 #define HAL_MEM_CLASS HAL_MEM_CLASS_192
#ifndef HAL_STORAGE_SIZE
#define HAL_STORAGE_SIZE 16384 #define HAL_STORAGE_SIZE 16384
#endif
#define HAL_STORAGE_SIZE_AVAILABLE HAL_STORAGE_SIZE #define HAL_STORAGE_SIZE_AVAILABLE HAL_STORAGE_SIZE
#define HAL_INS_DEFAULT HAL_INS_NONE #define HAL_INS_DEFAULT HAL_INS_NONE
#define HAL_BARO_DEFAULT HAL_BARO_NONE #define HAL_BARO_DEFAULT HAL_BARO_NONE