waf: enable IMU in simulated AP_Periph

This commit is contained in:
Andrew Tridgell 2024-11-30 17:34:55 +11:00
parent 4c0ef40d3b
commit 60f6a9deec
1 changed files with 2 additions and 0 deletions

View File

@ -949,6 +949,7 @@ class sitl_periph_universal(sitl_periph):
HAL_PERIPH_ENABLE_AIRSPEED = 1, HAL_PERIPH_ENABLE_AIRSPEED = 1,
HAL_PERIPH_ENABLE_MAG = 1, HAL_PERIPH_ENABLE_MAG = 1,
HAL_PERIPH_ENABLE_BARO = 1, HAL_PERIPH_ENABLE_BARO = 1,
HAL_PERIPH_ENABLE_IMU = 1,
HAL_PERIPH_ENABLE_RANGEFINDER = 1, HAL_PERIPH_ENABLE_RANGEFINDER = 1,
HAL_PERIPH_ENABLE_BATTERY = 1, HAL_PERIPH_ENABLE_BATTERY = 1,
HAL_PERIPH_ENABLE_EFI = 1, HAL_PERIPH_ENABLE_EFI = 1,
@ -963,6 +964,7 @@ class sitl_periph_universal(sitl_periph):
HAL_WITH_ESC_TELEM = 1, HAL_WITH_ESC_TELEM = 1,
AP_EXTENDED_ESC_TELEM_ENABLED = 1, AP_EXTENDED_ESC_TELEM_ENABLED = 1,
AP_TERRAIN_AVAILABLE = 1, AP_TERRAIN_AVAILABLE = 1,
HAL_GYROFFT_ENABLED = 0,
) )
class sitl_periph_gps(sitl_periph): class sitl_periph_gps(sitl_periph):