diff --git a/Tools/ardupilotwaf/boards.py b/Tools/ardupilotwaf/boards.py index c893e39f0c..67319a879a 100644 --- a/Tools/ardupilotwaf/boards.py +++ b/Tools/ardupilotwaf/boards.py @@ -621,6 +621,16 @@ class linux(Board): # Avoid infinite recursion 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): toolchain = 'arm-linux-gnueabihf'