no longer need to set num jobs, because my computer is better

1.2-legacy
Kevin Hester 2021-02-04 11:51:12 +08:00
rodzic 399fbc5d65
commit 9069e5b33e
1 zmienionych plików z 1 dodań i 3 usunięć

Wyświetl plik

@ -14,8 +14,6 @@ BOARDS_ESP32="tlora-v2 tlora-v1 tlora-v2-1-1.6 tbeam heltec tbeam0.7"
# FIXME note nrf52840dk build is for some reason only generating a BIN file but not a HEX file nrf52840dk-geeksville is fine # FIXME note nrf52840dk build is for some reason only generating a BIN file but not a HEX file nrf52840dk-geeksville is fine
BOARDS_NRF52="lora-relay-v1" BOARDS_NRF52="lora-relay-v1"
NUM_JOBS=2 || true
OUTDIR=release/latest OUTDIR=release/latest
# We keep all old builds (and their map files in the archive dir) # We keep all old builds (and their map files in the archive dir)
@ -51,7 +49,7 @@ function do_build() {
basename=universal/firmware-$BOARD-$VERSION basename=universal/firmware-$BOARD-$VERSION
fi fi
pio run --jobs $NUM_JOBS --environment $BOARD # -v pio run --environment $BOARD # -v
SRCELF=.pio/build/$BOARD/firmware.elf SRCELF=.pio/build/$BOARD/firmware.elf
cp $SRCELF $OUTDIR/elfs/$basename.elf cp $SRCELF $OUTDIR/elfs/$basename.elf