Tools: define obal board

This commit is contained in:
Mohammad Hefny 2021-09-07 07:08:11 +02:00 committed by Andrew Tridgell
parent 999c26926a
commit 705acb26c6
3 changed files with 12 additions and 1 deletions

View File

@ -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)

View File

@ -95,6 +95,7 @@ AUTOBUILD_BOARDS = ["fmuv2",
"luminousbee5",
"MambaF405US-I2C",
"Swan-K1",
"obal",
# SITL targets
"SITL_x86_64_linux_gnu",
"SITL_arm_linux_gnueabihf",

View File

@ -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