Browse Source

Add ESPurna board to build script, remove SPIFFS image

fastled 1.7.0
Xose Pérez 7 years ago
parent
commit
866ffeeaae
1 changed files with 1 additions and 5 deletions
  1. +1
    -5
      code/build-all

+ 1
- 5
code/build-all View File

@ -1,11 +1,10 @@
#!/bin/bash #!/bin/bash
# Environments to build # Environments to build
ENVIRONMENTS="sonoff-debug sonoff-dht22-debug sonoff-ds18b20-debug sonoff-pow-debug sonoff-dual-debug sonoff-4ch-debug 1ch-inching-debug electrodragon-debug ecoplug-debug jangoe-debug ai-light-debug led-controller-debug"
ENVIRONMENTS="espurna-debug sonoff-debug sonoff-dht22-debug sonoff-ds18b20-debug sonoff-pow-debug sonoff-dual-debug sonoff-4ch-debug 1ch-inching-debug electrodragon-debug ecoplug-debug jangoe-debug ai-light-debug led-controller-debug"
# Get current version # Get current version
version=`cat espurna/config/version.h | grep APP_VERSION | awk '{print $3}' | sed 's/"//g'` version=`cat espurna/config/version.h | grep APP_VERSION | awk '{print $3}' | sed 's/"//g'`
echo $version
# Create output folder # Create output folder
mkdir -p firmware mkdir -p firmware
@ -15,6 +14,3 @@ for environment in $ENVIRONMENTS; do
platformio run -e $environment platformio run -e $environment
mv .pioenvs/$environment/firmware.bin firmware/espurna-$version-$environment.bin mv .pioenvs/$environment/firmware.bin firmware/espurna-$version-$environment.bin
done done
platformio run -vv -t uploadfs -e node-debug
mv .pioenvs/node-debug/spiffs.bin firmware/espurna-$version-spiffs.bin

Loading…
Cancel
Save