fix build
This commit is contained in:
parent
bd71011fe8
commit
f04b221a5f
@ -9,12 +9,9 @@ else
|
||||
NAME=`git symbolic-ref --short HEAD`
|
||||
fi
|
||||
|
||||
LIBS="--library `pwd`/libs/ESPAsyncWebServer/src --library `pwd`/libs/ArduinoRS485/src"
|
||||
LIBS=""
|
||||
|
||||
if [ ! "$1" ] || [ "$1" == "0" ] ; then
|
||||
echo "#define VERSION \"${NAME}\"" >> compile_flags.h
|
||||
arduino-cli compile $LIBS -e -b esp32:esp32:esp32 || exit 1
|
||||
arduino-cli compile --build-property build.partitions=huge_app --build-property upload.maximum_size=3145728 -e -b esp32:esp32:esp32 || exit 1
|
||||
mv build/esp32.esp32.esp32/*.ino.bin Compiled/${NAME}_HW0.bin
|
||||
mv build/esp32.esp32.esp32/*.ino.elf Compiled/${NAME}_HW0.elf
|
||||
mv build/esp32.esp32.esp32/*.ino.partitions.bin Compiled/${NAME}_HW0.partitions.bin
|
||||
|
Loading…
Reference in New Issue
Block a user