From c4b425403f3d88633aba4909669c7dcd64eeabd5 Mon Sep 17 00:00:00 2001 From: Manuel Weiser Date: Sat, 22 Feb 2025 15:50:49 +0100 Subject: [PATCH] config: update platformio.ini to specify correct chip revision and remove unused dependencies --- platformio.ini | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/platformio.ini b/platformio.ini index a758350..68b130e 100644 --- a/platformio.ini +++ b/platformio.ini @@ -22,10 +22,7 @@ monitor_speed = 115200 lib_deps = tzapu/WiFiManager @ ^2.0.17 https://github.com/me-no-dev/ESPAsyncWebServer.git#master - #me-no-dev/AsyncTCP @ ^1.1.1 https://github.com/esphome/AsyncTCP.git - #mathieucarbou/ESPAsyncWebServer @ ^3.6.0 - #esp32async/AsyncTCP @ ^3.3.5 bogde/HX711 @ ^0.7.5 adafruit/Adafruit SSD1306 @ ^2.5.13 adafruit/Adafruit GFX Library @ ^1.11.11 @@ -42,6 +39,10 @@ board_upload.flash_size = 4MB board_build.flash_mode = dio board_upload.flash_freq = "40m" +; Specify the correct chip revision +board_build.f_cpu = 240000000L +board_build.f_flash = 80000000L + build_flags = -Os -ffunction-sections