mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-03-01 03:04:04 -04:00
We will reserve BOARD_FLASH_SIZE for the internal flash on stm32 flash processors, use HAL_PROGRAM_SIZE_LIMIT_KB in the general code base. Notable change here is that boards with external flash will start to get features only available with more than 2MB of program storage
24 lines
656 B
C
24 lines
656 B
C
#pragma once
|
|
|
|
#define HAL_BOARD_NAME "EMPTY"
|
|
#define HAL_CPU_CLASS HAL_CPU_CLASS_150
|
|
#define HAL_MEM_CLASS HAL_MEM_CLASS_192
|
|
#ifndef HAL_STORAGE_SIZE
|
|
#define HAL_STORAGE_SIZE 16384
|
|
#endif
|
|
#define HAL_STORAGE_SIZE_AVAILABLE HAL_STORAGE_SIZE
|
|
#define HAL_INS_DEFAULT HAL_INS_NONE
|
|
#define HAL_BARO_DEFAULT HAL_BARO_NONE
|
|
#define CONFIG_HAL_BOARD_SUBTYPE HAL_BOARD_SUBTYPE_NONE
|
|
|
|
#ifndef HAL_PROGRAM_SIZE_LIMIT_KB
|
|
#define HAL_PROGRAM_SIZE_LIMIT_KB 2048
|
|
#endif
|
|
|
|
#define HAL_HAVE_BOARD_VOLTAGE 1
|
|
#define HAL_HAVE_SERVO_VOLTAGE 0
|
|
#define HAL_HAVE_SAFETY_SWITCH 1
|
|
|
|
#define HAL_Semaphore Empty::Semaphore
|
|
#define HAL_BinarySemaphore Empty::BinarySemaphore
|