From 3ae4cfbf2214482a7f5251f7df1688e295d324da Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Fri, 24 Aug 2018 19:43:27 +1000 Subject: [PATCH] HAL_ChibiOS: enable terrain on Pixracer, minpx-v2 and mini-pix --- libraries/AP_HAL_ChibiOS/hwdef/fmuv4/hwdef.dat | 1 + libraries/AP_HAL_ChibiOS/hwdef/mindpx-v2/hwdef.dat | 1 + libraries/AP_HAL_ChibiOS/hwdef/mini-pix/hwdef.dat | 1 + 3 files changed, 3 insertions(+) diff --git a/libraries/AP_HAL_ChibiOS/hwdef/fmuv4/hwdef.dat b/libraries/AP_HAL_ChibiOS/hwdef/fmuv4/hwdef.dat index 313e4cb7da..365649cfb8 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/fmuv4/hwdef.dat +++ b/libraries/AP_HAL_ChibiOS/hwdef/fmuv4/hwdef.dat @@ -171,6 +171,7 @@ SPIDEV ramtron SPI2 DEVID10 FRAM_CS MODE3 8*MHZ 8*MHZ define HAL_CHIBIOS_ARCH_FMUV4 1 define HAL_BOARD_LOG_DIRECTORY "/APM/LOGS" +define HAL_BOARD_TERRAIN_DIRECTORY "/APM/TERRAIN" define HAL_STORAGE_SIZE 16384 diff --git a/libraries/AP_HAL_ChibiOS/hwdef/mindpx-v2/hwdef.dat b/libraries/AP_HAL_ChibiOS/hwdef/mindpx-v2/hwdef.dat index 7356825cb3..589a6e3bb0 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/mindpx-v2/hwdef.dat +++ b/libraries/AP_HAL_ChibiOS/hwdef/mindpx-v2/hwdef.dat @@ -172,6 +172,7 @@ SPIDEV radio SPI2 DEVID6 NRF_CS MODE3 2*MHZ 2*MHZ define HAL_CHIBIOS_ARCH_MINDPXV2 1 define HAL_BOARD_LOG_DIRECTORY "/APM/LOGS" +define HAL_BOARD_TERRAIN_DIRECTORY "/APM/TERRAIN" define HAL_STORAGE_SIZE 16384 diff --git a/libraries/AP_HAL_ChibiOS/hwdef/mini-pix/hwdef.dat b/libraries/AP_HAL_ChibiOS/hwdef/mini-pix/hwdef.dat index 832a3ba23e..e40ee0594a 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/mini-pix/hwdef.dat +++ b/libraries/AP_HAL_ChibiOS/hwdef/mini-pix/hwdef.dat @@ -125,6 +125,7 @@ define HAL_COMPASS_QMC5883L_ORIENTATION_INTERNAL ROTATION_PITCH_180_YAW_270 define HAL_COMPASS_AUTO_ROT_DEFAULT 2 define HAL_BOARD_LOG_DIRECTORY "/APM/LOGS" +define HAL_BOARD_TERRAIN_DIRECTORY "/APM/TERRAIN" define HAL_STORAGE_SIZE 16384