Tools: added vnav linux target

This commit is contained in:
Andrew Tridgell 2021-01-14 08:08:05 +11:00
parent a9f8c9517c
commit bd9dd7ff4c
2 changed files with 11 additions and 0 deletions

View File

@ -893,6 +893,16 @@ class bebop(linux):
CONFIG_HAL_BOARD_SUBTYPE = 'HAL_BOARD_SUBTYPE_LINUX_BEBOP',
)
class vnav(linux):
toolchain = 'arm-linux-gnueabihf'
def configure_env(self, cfg, env):
super(vnav, self).configure_env(cfg, env)
env.DEFINES.update(
CONFIG_HAL_BOARD_SUBTYPE = 'HAL_BOARD_SUBTYPE_LINUX_VNAV',
)
class disco(linux):
toolchain = 'arm-linux-gnueabihf'

View File

@ -62,6 +62,7 @@ class BoardSubType(enum.Enum):
LINUX_RST_ZYNQ = 1021
LINUX_POCKET = 1022
LINUX_NAVIGATOR = 1023
LINUX_VNAV = 1024
CHIBIOS_SKYVIPER_F412 = 5000
CHIBIOS_FMUV3 = 5001