-
Notifications
You must be signed in to change notification settings - Fork 7.5k
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
Guard crypto parts in "Update" to save resources #10630
Conversation
👋 Hello Jason2866, we appreciate your contribution to this project! Click to see more instructions ...
Review and merge process you can expect ...
|
We can not accept this as-is.
|
Test Results 61 files 61 suites 5m 46s ⏱️ Results for commit 4ad9de8. ♻️ This comment has been updated with latest results. |
1.) Why in #9893 it is done the same way? |
Memory usage test (comparing PR against master branch)The table below shows the summary of memory usage change (decrease - increase) in bytes and percentage for each target.
Click to expand the detailed deltas report [usage change in BYTES]
|
|
The last commit change the behaviour to not change anything until the user sets the define. |
@Jason2866 can you please take care of the changes outlined by the precomit hook? Seems it can not automatically apply them: https://github.com/espressif/arduino-esp32/actions/runs/12007402991/job/33467892197#step:9:39 |
There are a few more to have a look at. basically all red/green things https://github.com/espressif/arduino-esp32/actions/runs/12008009265/job/33469780093?pr=10630#step:9:45 |
@me-no-dev Changed the red stuff to the suggested green format |
@me-no-dev idk what to change here?! |
maybe spaces vs tabs? |
trailing space.... check is green now |
This PR guards the crypto parts in library Update.
By doing this flash space is saved, since most users don't use crypto updates. To disable crypto updates just adding
#define UPDATE_NOCRYPT
to the sketch needs to be done.(similar to #9893)