Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

faulty flash size detected by boot.esp32c3 #2618

Closed
pljakobs opened this issue Feb 13, 2023 · 3 comments
Closed

faulty flash size detected by boot.esp32c3 #2618

pljakobs opened this issue Feb 13, 2023 · 3 comments

Comments

@pljakobs
Copy link
Contributor

I hope this is not another "you're holding it wrong" issue but I also believe it's esptool, not sming, so I've opened an issue over there, this is just for information:
espressif/esptool#837

@mikee47
Copy link
Contributor

mikee47 commented Feb 13, 2023

#2613 offers a brief explanation of the behaviour. For Sming, the bootloader is built with the flash size setting configured in the hardware config file. If this changes, you should do a make sdk-config-clean then re-build/flash the bootloader.

@pljakobs
Copy link
Contributor Author

Interesting.
I had rebased my pwm stuff to the recent develop branch and then started to get this issue - with no other changes anywhere.

My .hw file is configured for 4M - is that what you are referring to?
If I change this to 2M, things work fine, albeit the bootloader complains that the binary doesn't use all available flash.
I will try the sdk-clean.

@pljakobs
Copy link
Contributor Author

ok, I don't understand it, but sdk-config-clean seems to have done the trick. I guess there was something that was still lingering around.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants