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

Use Tasmota fork for reducing size of firmwares #23

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Jason2866
Copy link

@Jason2866 Jason2866 commented Dec 4, 2024

Based on Arduino core 2.0.17 with different sdkconfig settings for way smaller firmware sizes
@vladkorotnev

@vladkorotnev
Copy link
Owner

Do you happen to have a full list of changes in comparison to the upstream framework? There seems to be only minimal changes to the docs and readme, but a few hundred commits diverging from the upstream, so clearly it is different.

@Jason2866
Copy link
Author

No, the many commits are resulting from the fact that many changes made where merged later upstream. The main changes are BLE, SPIFFS and WiFi client secure removed.

@vladkorotnev
Copy link
Owner

Interesting, I would assume that the compiler kicks out the unused parts of the code when building. At least that seems to be the case for me — if I don't enable any BLE-related feature flags in the project, then the firmware is much smaller than when I do use it.

That being said, I do use HTTPS and BLE in the project, so only the removal of SPIFFS seems to be one needed thing. I will try it later nonetheless but I don't think that will be a good fit for the project.

@vortigont
Copy link
Contributor

perhaps pioarduino core could be another option offering updated Arduino, IDF and toolchain?

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

Successfully merging this pull request may close these issues.

3 participants