From 86d43061e9ee54ad678226949e43ab65bbba7961 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Thu, 8 Feb 2018 14:25:16 +1100 Subject: [PATCH] waf: added skyviper-v2450-px4 build --- Tools/ardupilotwaf/boards.py | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/Tools/ardupilotwaf/boards.py b/Tools/ardupilotwaf/boards.py index 40c434992b..c4ff924e83 100644 --- a/Tools/ardupilotwaf/boards.py +++ b/Tools/ardupilotwaf/boards.py @@ -791,6 +791,25 @@ class px4_v3(px4): self.px4io_name = 'px4io-v2' self.with_uavcan = True +class skyviper_v2450_px4(px4_v3): + name = 'skyviper-v2450-px4' + def __init__(self): + super(skyviper_v2450_px4, self).__init__() + self.px4io_name = None + self.param_defaults = '../../../Tools/Frame_params/SkyViper-2450GPS/defaults.parm' + + def configure_env(self, cfg, env): + super(skyviper_v2450_px4, self).configure_env(cfg, env) + + env.DEFINES.update( + TOY_MODE_ENABLED = 'ENABLED', + USE_FLASH_STORAGE = 1, + ARMING_DELAY_SEC = 0, + LAND_START_ALT = 700, + HAL_RCINPUT_WITH_AP_RADIO = 1, + LAND_DETECTOR_ACCEL_MAX = 2 + ) + class px4_v4(px4): name = 'px4-v4' def __init__(self):