I’m keeping the code on Espressif32 platform v0.12.0, but nevertheless i gave the new platform version 1.0.1 a try by increasing the app flash memory partition.
This can be done by changing the partition table.
I used “min_spiffs.csv” which can be found in
This way you get 1,88 MB of flash memory for the application code (instead of 1,25 MB with default partition table):
PLATFORM: Espressif 32 > Espressif ESP32 Dev Module
SYSTEM: ESP32 240MHz 288KB RAM (1.88MB Flash)
DEBUG: CURRENT(minimodule) EXTERNAL(minimodule, olimex-arm-usb-ocd-h, olimex-arm-usb-tiny-h)
This is enough to upload the paxcounter binary with Espressif32 1.0.1 version. It seems the code is running without issues, but i need to further test this.
But running the code we see the next memory leak: RAM space decreased from around 80KB with 0.12.0 to 50KB with 1.0.1
The footprint of the new v1.0.1 seems too bold for embedded software to me.