ESP32_Alexa icon indicating copy to clipboard operation
ESP32_Alexa copied to clipboard

Flash Szie

Open maosuyun2009 opened this issue 6 years ago • 4 comments

When I try to compile this program, ESP32_Alexa/partitions.csv' occupy 2.1MB of flash (2162688 bytes) which does not fit in configured flash size 2MB Do i need to use 4M Flash?

maosuyun2009 avatar May 09 '18 10:05 maosuyun2009

You mean the pure binary size is 2.1MB and your board only has 2MB, or is the CSV partition simply too small and could be enlarged because you physically have 4MB?

MrBuddyCasino avatar May 09 '18 11:05 MrBuddyCasino

@maosuyun2009 You can fit it to a 2MB NOR (eg ESP32-D2WD) if you turn off all logging in the menuconfig (bootloader+app), as well as set compiler option of Os

hchaudhary1 avatar May 09 '18 13:05 hchaudhary1

@MrBuddyCasino I mean My board only has 2MB,But CSV partition occupy 2.1MB, Can I change CSV partition to fit 2MB Flash

maosuyun2009 avatar May 10 '18 01:05 maosuyun2009

This error cames when you have 2MB set flash size in menuconfig. Just change it to 4MB.

chegewara avatar May 26 '18 14:05 chegewara