3djc/move (#3670)
* build-companion is now in /tools update build-firmware for new targets * remove PCBREV
This commit is contained in:
@@ -1,46 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Stops on first error, echo on
|
||||
set -e
|
||||
set -x
|
||||
|
||||
SRCDIR=$1
|
||||
OUTDIR=$2
|
||||
|
||||
COMMON_OPTIONS="-DALLOW_NIGHTLY_BUILDS=YES -DVERSION_SUFFIX=$3 -DGVARS=YES -DHELI=YES"
|
||||
STM32_OPTIONS="${COMMON_OPTIONS} -DLUA=YES"
|
||||
|
||||
rm -rf build
|
||||
mkdir build
|
||||
cd build
|
||||
|
||||
cmake ${COMMON_OPTIONS} -DPCB=9X ${SRCDIR}
|
||||
make -j2 libsimulator
|
||||
|
||||
cmake ${COMMON_OPTIONS} -DPCB=GRUVIN9X ${SRCDIR}
|
||||
make -j2 libsimulator
|
||||
|
||||
cmake ${COMMON_OPTIONS} -DPCB=MEGA2560 ${SRCDIR}
|
||||
make -j2 libsimulator
|
||||
|
||||
cmake ${COMMON_OPTIONS} -DPCB=SKY9X ${SRCDIR}
|
||||
make -j2 libsimulator
|
||||
|
||||
cmake ${COMMON_OPTIONS} -DPCB=9XRPRO ${SRCDIR}
|
||||
make -j2 libsimulator
|
||||
|
||||
cmake ${STM32_OPTIONS} -DPCB=TARANIS ${SRCDIR}
|
||||
make -j2 libsimulator
|
||||
|
||||
cmake ${STM32_OPTIONS} -DPCB=TARANIS -DPCBREV=REVPLUS ${SRCDIR}
|
||||
make -j2 libsimulator
|
||||
|
||||
cmake ${STM32_OPTIONS} -DPCB=TARANIS -DPCBREV=REV9E ${SRCDIR}
|
||||
make -j2 libsimulator
|
||||
|
||||
cmake ${STM32_OPTIONS} -DPCB=HORUS ${SRCDIR}
|
||||
make -j2 libsimulator
|
||||
|
||||
make -j2 package
|
||||
|
||||
cp *.deb ${OUTDIR}
|
||||
@@ -99,21 +99,19 @@ elif options[optcount] == "ar9x":
|
||||
board = BOARD_SKY9X
|
||||
board_family = BOARD_FAMILY_ARM
|
||||
elif options[optcount] == "taranis":
|
||||
command_options["PCB"] = "TARANIS"
|
||||
command_options["PCB"] = "X9D"
|
||||
firmware_options = options_taranis
|
||||
maxsize = 65536 * 8
|
||||
board = BOARD_TARANIS
|
||||
board_family = BOARD_FAMILY_ARM
|
||||
elif options[optcount] == "taranisplus":
|
||||
command_options["PCB"] = "TARANIS"
|
||||
command_options["PCBREV"] = "REVPLUS"
|
||||
command_options["PCB"] = "X9D+"
|
||||
firmware_options = options_taranisplus
|
||||
maxsize = 65536 * 8
|
||||
board = BOARD_TARANIS
|
||||
board_family = BOARD_FAMILY_ARM
|
||||
elif options[optcount] == "taranisx9e":
|
||||
command_options["PCB"] = "TARANIS"
|
||||
command_options["PCBREV"] = "REV9E"
|
||||
command_options["PCB"] = "X9E"
|
||||
firmware_options = options_taranisx9e
|
||||
maxsize = 65536 * 8
|
||||
board = BOARD_TARANIS
|
||||
@@ -220,4 +218,4 @@ if not os.path.isfile(path):
|
||||
shutil.copyfile(target, path)
|
||||
|
||||
print filename
|
||||
exit(0)
|
||||
exit(0)
|
||||
|
||||
Reference in New Issue
Block a user