Closed megabyte2010 closed 3 years ago
@megabyte2010 , check README and https://github.com/sh123/esp32_loraprs/issues/11
NB! select next partition scheme for ESP32 in Arduino IDE Tools menu: "Minimal SPIFFS (1.9 MB APP with OTA/190 KB SPIFFS)" for boards, which do not have this option, need to modify ~/.arduino15/packages/esp32/hardware/esp32/1.0.4/boards.txt and add required partition option (just copy from ESP32 dev board replacing first name with t-beam)
t-beam.menu.PartitionScheme.default=Default 4MB with spiffs (1.2MB APP/1.5MB SPIFFS)
t-beam.menu.PartitionScheme.default.build.partitions=default
t-beam.menu.PartitionScheme.min_spiffs=Minimal SPIFFS (1.9MB APP with OTA/190KB SPIFFS)
t-beam.menu.PartitionScheme.min_spiffs.build.partitions=min_spiffs
t-beam.menu.PartitionScheme.min_spiffs.upload.maximum_size=1966080
These boards have 4 MB of flash, but in default partition scheme only 1.2 are used, app does not use file system so partition scheme with smaller SPIFFS partition could be used or partition scheme without OTA, which will give almost 4 MB, 1.2 MB is too small to fit everything.
When selecting board t-beam in arduino, it says sketch too big when compiling.