MrBuddyCasino / ESP32_Alexa

An Alexa Smart Speaker project for the ESP32.
Mozilla Public License 2.0
265 stars 72 forks source link

Flash Szie #23

Open maosuyun2009 opened 6 years ago

maosuyun2009 commented 6 years ago

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?

MrBuddyCasino commented 6 years ago

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?

hchaudhary1 commented 6 years ago

@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

maosuyun2009 commented 6 years ago

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

chegewara commented 6 years ago

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