Description
Hardware:
Board: LOLIN32
Core Installation/update date: 2/may/2018
IDE name: Arduino IDE
Flash Frequency: 80Mhz
Upload Speed: 921600
Description:
So, all above doesn't matter, maybe beside installation date and board type.
In the boards.txt there is section for some boards (i.e. DevKit) that allows change of partition scheme with just few clicks (to min_spiffs, no_ota etc.) which literally changes how big app can be. Unfortunately there is no directive to instruct ArduinoIDE that upload max size changed, so with no_ota partition scheme there is space for 2M program, but ArduinoIDE refuses to flash program bigger than default 1.3M.
I have solved problem on my instance, so I will create pull request with changes to boards.txt, but I wanted to have this issue filed in case anybody looked for it.