Skip to content

ESP8266 compile from source for 1M flash #13454

Answered by pabou38
pabou38 asked this question in ESP8266
Discussion options

You must be logged in to vote

That worked. Thanks !!. I should have RTFM more carefully, as this is mentioned in the ports/esp8266 section of github.

This indeed creates a firmware with ~600K of firmware and the rest (400k) for filesystem.

NOTE: in my case, 600K seems not enough to freeze all of my module. Make fails with irom overflows
(I freeze a lot of code to run it from flash (thanks's harvard), to avoid RAM shortage)

Ideally, I would like to "set the cursor" between firmware and file system,

But this is not a critical issue. the current workaround is to put everything in flash (as frozen bytecode) with no file system at all.

thanks again

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@pabou38
Comment options

Answer selected by pabou38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants