mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
Tools: define obal board
This commit is contained in:
parent
352046d7f9
commit
c8b8aa1f4f
@ -1036,6 +1036,16 @@ class rst_zynq(linux):
|
||||
CONFIG_HAL_BOARD_SUBTYPE = 'HAL_BOARD_SUBTYPE_LINUX_RST_ZYNQ',
|
||||
)
|
||||
|
||||
class obal(linux):
|
||||
toolchain = 'arm-linux-gnueabihf'
|
||||
|
||||
def configure_env(self, cfg, env):
|
||||
super(obal, self).configure_env(cfg, env)
|
||||
|
||||
env.DEFINES.update(
|
||||
CONFIG_HAL_BOARD_SUBTYPE = 'HAL_BOARD_SUBTYPE_LINUX_OBAL_V1',
|
||||
)
|
||||
|
||||
class SITL_static(sitl):
|
||||
def configure_env(self, cfg, env):
|
||||
super(SITL_static, self).configure_env(cfg, env)
|
||||
|
@ -65,7 +65,7 @@ class BoardSubType(enum.Enum):
|
||||
LINUX_POCKET = 1022
|
||||
LINUX_NAVIGATOR = 1023
|
||||
LINUX_VNAV = 1024
|
||||
|
||||
LINUX_OBAL = 1025
|
||||
CHIBIOS_SKYVIPER_F412 = 5000
|
||||
CHIBIOS_FMUV3 = 5001
|
||||
CHIBIOS_FMUV4 = 5002
|
||||
|
Loading…
Reference in New Issue
Block a user