From f04b221a5fec71466bc51612aeb3f0e6a9a8999a Mon Sep 17 00:00:00 2001 From: James Date: Sat, 27 Apr 2024 15:18:19 +0100 Subject: [PATCH] fix build --- bin/build | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/bin/build b/bin/build index d5a9e10..f0be8f7 100755 --- a/bin/build +++ b/bin/build @@ -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