Repository navigation
Ensmallen 8266 firmware binary, switch to LittleFS for all - #3457
Merged
Merged
Conversation
pkendall64
reviewed
Dec 19, 2025
pkendall64
left a comment
Collaborator
There was a problem hiding this comment.
We should rename the the src/elrs.flash.1m64.ld file as it's not 64k for the FS, it's 32k. Maybe just call it src/elrs.flash.ld.
Everything else looks sensible. Will approve after testing.
Member
Author
|
Yeah good idea. I went with elrs.flash.1m.ld since it is only used for the 1MB esp82xx chips and avoid confusion with it possibly being used for ESP32. Also tested on a RadioMaster ER8GV to verify the VSpd/BaroAlt looked good (ESP32 SX1280) |
Collaborator
|
@CapnBry I added another commit that changes the way we use ArduinoJson in |
pkendall64
approved these changes
Dec 20, 2025
pkendall64
left a comment
Collaborator
There was a problem hiding this comment.
Tested on 8285 and ESP32. All looks good here.
mha1
approved these changes
Dec 22, 2025
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.
Many changes to shrink the firmware binary to allow ESP8285-based receivers to web flash again. WARNING: Change from SPIFFS to LittleFS means any custom hardware.json / options.json will be lost.
Porblem
Users who have flashed with 4.0.0-RC1 are unable to flash new binaries to their devices. Failing with "Not enough space". This is mostly LBT users as their binary is slightly larger than the ISM.
Ensmallen (verb) To Make Smaller
-DNDEBUG. Saves a couple KB flash and minor RAM.Overall size decreased by 27709 compressed bytes.