builder: improvements needed for esp32 XIP to correctly flash large programs#5511
Open
deadprogram wants to merge 2 commits into
Open
builder: improvements needed for esp32 XIP to correctly flash large programs#5511deadprogram wants to merge 2 commits into
deadprogram wants to merge 2 commits into
Conversation
|
Size difference with the dev branch: Binary size differenceflash ram before after diff before after diff |
deadprogram
force-pushed
the
esp32-improve-builder
branch
from
July 10, 2026 22:04
f376fac to
9ab93af
Compare
deadprogram
force-pushed
the
esp32-improve-builder
branch
from
July 13, 2026 22:37
9ab93af to
8aede78
Compare
Member
Author
|
I have added another commit to update to |
This was referenced Jul 13, 2026
Member
Author
|
This is needed for various other ESP32 related work to proceed. Review please! |
deadprogram
force-pushed
the
esp32-improve-builder
branch
from
July 18, 2026 13:22
8aede78 to
a97c882
Compare
…shing large programs This fixes the builder for ESP32 (original) by separating the RAM segments loadable by the ROM bootloader from flash-mapped segments (DROM/IROM) which require MMU setup by startup code. These changes are needed for to allow for ESP32 to correctly flashing large programs which as a result require XIP support. Signed-off-by: deadprogram <ron@hybridgroup.com>
Signed-off-by: deadprogram <ron@hybridgroup.com>
deadprogram
force-pushed
the
esp32-improve-builder
branch
from
July 18, 2026 13:24
a97c882 to
1adaa91
Compare
Member
Author
|
Review please! 😸 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR has improvements for ESP32 to correctly flash large programs, which as a result requires XIP support.
This modifies the builder for ESP32 (original) by separating the RAM segments loadable by the ROM bootloader from flash-mapped segments (DROM/IROM) which require MMU setup by startup code.
Tested on ESP32 boards with some larger programs using upcoming espradio support for ESP32 classic.