mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-18 06:38:29 -04:00
Tools: define obal board
This commit is contained in:
parent
999c26926a
commit
705acb26c6
@ -1078,6 +1078,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)
|
||||
|
@ -95,6 +95,7 @@ AUTOBUILD_BOARDS = ["fmuv2",
|
||||
"luminousbee5",
|
||||
"MambaF405US-I2C",
|
||||
"Swan-K1",
|
||||
"obal",
|
||||
# SITL targets
|
||||
"SITL_x86_64_linux_gnu",
|
||||
"SITL_arm_linux_gnueabihf",
|
||||
|
@ -66,7 +66,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