Checking size .pio\build\esp-wrover-kit\firmware.elf
Advanced Memory Usage is available via "PlatformIO Home > Project Inspect"
Error: The program size (1349521 bytes) is greater than maximum allowed (1310720 bytes)
RAM: [== ] 18.1% (used 59404 bytes from 327680 bytes)
*** [checkprogsize] Explicit exit, status 1
Flash: [==========] 103.0% (used 1349521 bytes from 1310720 bytes)
my platform.ini file
; PlatformIO Project Configuration File
;
; Build options: build flags, source filter
; Upload options: custom upload port, speed and extra flags
; Library options: dependencies, extra library storages
; Advanced options: extra scripting
;
; Please visit documentation for the other options and examples
; https://docs.platformio.org/page/projectconf.html
[env:esp-wrover-kit]
platform = espressif32
board = esp-wrover-kit
framework = arduino
lib_deps = https://github.com/gilmaimon/ArduinoWebsockets
build_flags =
-DBOARD_HAS_PSRAM
monitor_speed = 115200
upload_port = COM5
This board has 4MByte flash, so if you don’t need to do OTA updates or don’t need a filesystem you can just change the partition table so that the application has more than ~1.3 MByte available to it.