From b54ac274f5dcd2a37b37fbefa5491a340575f61b Mon Sep 17 00:00:00 2001 From: night-ghost Date: Thu, 22 Mar 2018 08:32:18 +0500 Subject: [PATCH] HAL_F4Light: added Revolution_SD board to rebuild script --- libraries/AP_HAL_F4Light/support/MMM.sh | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/libraries/AP_HAL_F4Light/support/MMM.sh b/libraries/AP_HAL_F4Light/support/MMM.sh index f1ba3bd588..adb59b550d 100755 --- a/libraries/AP_HAL_F4Light/support/MMM.sh +++ b/libraries/AP_HAL_F4Light/support/MMM.sh @@ -112,6 +112,28 @@ mkdir -p $ROOT/Release/Plane cp $ROOT/ArduPlane/f4light_AirbotV2_bl.dfu $ROOT/Release/Plane ) +) && ( # RevoMini board with SD card + cd $ROOT/ArduCopter + make f4light-clean + make f4light VERBOSE=1 BOARD=f4light_Revolution_SD && ( + + cp $ROOT/ArduCopter/f4light_Revolution_SD.bin $ROOT/Release/Copter + cp $ROOT/ArduCopter/f4light_Revolution_SD.hex $ROOT/Release/Copter + cp $ROOT/ArduCopter/f4light_Revolution_SD.dfu $ROOT/Release/Copter + cp $ROOT/ArduCopter/f4light_Revolution_SD_bl.bin $ROOT/Release/Copter + cp $ROOT/ArduCopter/f4light_Revolution_SD_bl.dfu $ROOT/Release/Copter + ) +) && ( + cd $ROOT/ArduPlane + make f4light-clean + make f4light VERBOSE=1 BOARD=f4light_Revolution_SD && ( + + cp $ROOT/ArduPlane/f4light_Revolution_SD.bin $ROOT/Release/Plane + cp $ROOT/ArduPlane/f4light_Revolution_SD.hex $ROOT/Release/Plane + cp $ROOT/ArduPlane/f4light_Revolution_SD.dfu $ROOT/Release/Plane + cp $ROOT/ArduPlane/f4light_Revolution_SD_bl.bin $ROOT/Release/Plane + cp $ROOT/ArduPlane/f4light_Revolution_SD_bl.dfu $ROOT/Release/Plane + ) ) && ( cd $ROOT