RAM: [== ] 17.0% (used 55700 bytes from 327680 bytes)
Error: The program size (2532590 bytes) is greater than maximum allowed (1310720 bytes)
Flash: [=====*** [checkprogsize] Explicit exit, status 1
=====] 193.2% (used 2532590 bytes from 1310720 bytes)
[env:esp32dev]
platform = espressif32
board = esp32dev
framework = arduino
board_build.partitions = partition.csv
monitor_baud = 115200
partition.csv file in project filedir,the content:
# Name, Type, SubType, Offset, Size, Flags
# Note: if you have increased the bootloader size, make sure to update the offsets to avoid overlap
nvs, data, nvs, 0x9000, 0x5000,
otadata, data, ota, 0xe000, 0x2000,
app0, app, ota_0, 0x10000, 0x300000,
spiffs, data, spiffs, 0x310000, 0xF0000,