platformio-docs
platformio-docs copied to clipboard
How Do You Specify The Flash Size For An ESP8285
I've googled and search but I can't seem to find how specify the flash size of an ESP8285. The default is 1M but the DIYMORE ESP8285 board I have has 2M. I tried "board_upload.maximum_size = 2097152" but that doesn't appear to do anything.
Somewhat related, when I upload some code, I get the following: "Flash: [===== ] 50.3% (used 383057 bytes from 761840 bytes)". Where does 761840 come from? That's not 1M.