Tools: ardupilotwaf: Add navigator board

Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
This commit is contained in:
Patrick José Pereira 2020-01-10 16:03:47 -03:00 committed by Andrew Tridgell
parent f42c42df02
commit 994a934f88

View File

@ -621,6 +621,16 @@ class linux(Board):
# Avoid infinite recursion # Avoid infinite recursion
bld.options.upload = False bld.options.upload = False
class navigator(linux):
toolchain = 'arm-linux-gnueabihf'
def configure_env(self, cfg, env):
super(navigator, self).configure_env(cfg, env)
env.DEFINES.update(
CONFIG_HAL_BOARD_SUBTYPE='HAL_BOARD_SUBTYPE_LINUX_NAVIGATOR',
)
class erleboard(linux): class erleboard(linux):
toolchain = 'arm-linux-gnueabihf' toolchain = 'arm-linux-gnueabihf'