- In my eclipse console [b]Auto-detected Flash size: 4MB[/b] is showing but in the terminal [b]I (55) boot: SPI Flash Size : 2MB [/b]which is giving error because the partition table requires 4MB.
- And strangely this was not the problem a week ago, everything was working fine and I checked my terminal logs from a week ago (which I saved in a separate text file because of some other error) in that[b] I (54) boot: SPI Flash Size : 4MB[/b] is written. So this changed automatically I guess because I didn't change anything in the menuconfig. I tried to find solution on the internet but couldn't find anything. Any suggestions on what should I do?
How to change SPI Flash size in ESP32 in eclipse?
-
- Posts: 16
- Joined: Wed Jul 22, 2020 1:03 pm
How to change SPI Flash size in ESP32 in eclipse?
Re: How to change SPI Flash size in ESP32 in eclipse?
Hi lalitahuja33,
Did you find any solution for your problem. I just got the identical one.
Thanks.
Did you find any solution for your problem. I just got the identical one.
Thanks.
-
- Posts: 73
- Joined: Mon Mar 09, 2020 7:36 pm
Re: How to change SPI Flash size in ESP32 in eclipse?
I believe the solution is to use menuconfig and adjust the serial flasher config page. You have an option there to set flash size and to detect size when flashing. Saving the sdkconfig file is important.
Re: How to change SPI Flash size in ESP32 in eclipse?
maybe you can change the sdkconfig file manually(CONFIG_ESPTOOLPY_FLASHSIZE)
Re: How to change SPI Flash size in ESP32 in eclipse?
Thanks a lot,
I fixed it by changing to “Custom partition table CSV” in menuconfig and adding a csv file into the main project folder.
I followed these instruction:
https://docs.espressif.com/projects/esp ... ables.html
I fixed it by changing to “Custom partition table CSV” in menuconfig and adding a csv file into the main project folder.
I followed these instruction:
https://docs.espressif.com/projects/esp ... ables.html
Who is online
Users browsing this forum: No registered users and 78 guests