mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
autotest: add AP_COMPASS_LSM303D_ENABLED to must-have drivers for CubeOrange
This commit is contained in:
parent
669ce03de3
commit
70b77f0f7d
@ -64,7 +64,10 @@ class TestBuildOptions(object):
|
||||
def must_have_defines_for_board(self, board):
|
||||
'''return a set of defines which must always be enabled'''
|
||||
must_have_defines = {
|
||||
"CubeOrange": frozenset(['AP_BARO_MS56XX_ENABLED'])
|
||||
"CubeOrange": frozenset([
|
||||
'AP_BARO_MS56XX_ENABLED',
|
||||
'AP_COMPASS_LSM303D_ENABLED',
|
||||
])
|
||||
}
|
||||
return must_have_defines.get(board, frozenset([]))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user