AP_HAL_ChibiOS: define HAL_HAVE_SAFETY_SWITCH accordingly

This commit is contained in:
Lucas De Marchi 2018-06-29 10:13:35 -07:00 committed by Lucas De Marchi
parent 8e3777a163
commit 20778f73f1
3 changed files with 9 additions and 0 deletions

View File

@ -448,6 +448,9 @@ define HAL_STORAGE_SIZE 16384
# sectors must be at least 20% larger than HAL_STORAGE_SIZE
define STORAGE_FLASH_PAGE 22
# allow to have have a dedicated safety switch pin
define HAL_HAVE_SAFETY_SWITCH 1
# this enables the use of a ramtron device for storage, if one is
# found on SPI. You must have a ramtron entry in the SPI device table

View File

@ -245,6 +245,9 @@ PD2 SDMMC_CMD SDMMC1
define HAL_STORAGE_SIZE 16384
define HAL_WITH_RAMTRON 1
# allow to have have a dedicated safety switch pin
define HAL_HAVE_SAFETY_SWITCH 1
define HAL_BARO_DEFAULT HAL_BARO_MS5611_SPI
define HAL_COMPASS_DEFAULT HAL_COMPASS_NONE

View File

@ -181,6 +181,9 @@ define HAL_WITH_RAMTRON 1
# fallback to flash storage
define STORAGE_FLASH_PAGE 22
# allow to have have a dedicated safety switch pin
define HAL_HAVE_SAFETY_SWITCH 1
# enable FAT filesystem
define HAL_OS_FATFS_IO 1