Skip to content

Added streaming function for parameters, optimised fonts, fixed scale crash #584

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

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

scottcondie24
Copy link
Collaborator

This feature regularly clears memory and reduces crashes, even when available memory is low.
Added defer to .js headers to reduce concurrent access requests to ESP32.
The biggest improvement is seen on mobile where the Settings and Hardware pages load more reliably.

This has only been tested on Android with Chrome and Samsung Internet browsers.

… reduce crashes

Added defer to .js headers to reduce concurrent access requests to ESP32
@scottcondie24 scottcondie24 changed the title Added streaming function for parameters Added streaming function for parameters, optimised fonts, fixed scale crash Jul 30, 2025
@scottcondie24
Copy link
Collaborator Author

Using
& "$env:USERPROFILE.platformio\packages\toolchain-xtensa-esp32\bin\xtensa-esp32-elf-nm.exe" -S --size-sort -t d .pio/build/esp32_usb/firmware.elf | Select-String " [BD] "
In a terminal window in VSCode it showed fonts used a lot of flash space. Reducing some of them down saved over 36KB without any visual impact.
tf has all characters including accents
tr is reduced with only standard letters and numbers
tn is numbers and a few symbols

…or larger fonts that only need numbers or standard letters
@scottcondie24 scottcondie24 force-pushed the json-parameter-streaming branch from 6e36027 to ae0460a Compare July 30, 2025 02:34
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.

1 participant