mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 14:38:30 -04:00
Tools: define obal board
This commit is contained in:
parent
34df214cae
commit
5f7f47d2b1
@ -1036,6 +1036,16 @@ class rst_zynq(linux):
|
|||||||
CONFIG_HAL_BOARD_SUBTYPE = 'HAL_BOARD_SUBTYPE_LINUX_RST_ZYNQ',
|
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):
|
class SITL_static(sitl):
|
||||||
def configure_env(self, cfg, env):
|
def configure_env(self, cfg, env):
|
||||||
super(SITL_static, self).configure_env(cfg, env)
|
super(SITL_static, self).configure_env(cfg, env)
|
||||||
|
@ -65,7 +65,7 @@ class BoardSubType(enum.Enum):
|
|||||||
LINUX_POCKET = 1022
|
LINUX_POCKET = 1022
|
||||||
LINUX_NAVIGATOR = 1023
|
LINUX_NAVIGATOR = 1023
|
||||||
LINUX_VNAV = 1024
|
LINUX_VNAV = 1024
|
||||||
|
LINUX_OBAL = 1025
|
||||||
CHIBIOS_SKYVIPER_F412 = 5000
|
CHIBIOS_SKYVIPER_F412 = 5000
|
||||||
CHIBIOS_FMUV3 = 5001
|
CHIBIOS_FMUV3 = 5001
|
||||||
CHIBIOS_FMUV4 = 5002
|
CHIBIOS_FMUV4 = 5002
|
||||||
|
Loading…
Reference in New Issue
Block a user