-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
[Cleanup] Reduce build size + clean up loose ends #3655
[Cleanup] Reduce build size + clean up loose ends #3655
Commits on May 21, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 100d588 - Browse repository at this point
Copy the full SHA 100d588View commit details
Commits on May 22, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 8d006a8 - Browse repository at this point
Copy the full SHA 8d006a8View commit details -
Configuration menu - View commit details
-
Copy full SHA for d320092 - Browse repository at this point
Copy the full SHA d320092View commit details -
[Cleanup] Reduce build size handle internal commands macros
By stripping of an extra parameter, the build size is reduced quite a lot.
Configuration menu - View commit details
-
Copy full SHA for 535e81c - Browse repository at this point
Copy the full SHA 535e81cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0047e49 - Browse repository at this point
Copy the full SHA 0047e49View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8b29429 - Browse repository at this point
Copy the full SHA 8b29429View commit details -
Configuration menu - View commit details
-
Copy full SHA for ac5d0b9 - Browse repository at this point
Copy the full SHA ac5d0b9View commit details -
[Cleanup] Remove code duplication to reduce build size
Wrapping functions to convert `LabelType::Enum` into String into separate function to reduce build size
Configuration menu - View commit details
-
Copy full SHA for d21721d - Browse repository at this point
Copy the full SHA d21721dView commit details -
[Cleanup] Stream JSON from PROGMEM LabelType::Enum array to reduce size
Remove some code duplication by streaming JSON from PROGMEM arrays of `LabelType::Enum`. This makes the code more readable and also (slightly) reduces build size. (at least memory usage when serving JSON)
Configuration menu - View commit details
-
Copy full SHA for 113ec46 - Browse repository at this point
Copy the full SHA 113ec46View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5ee2e33 - Browse repository at this point
Copy the full SHA 5ee2e33View commit details
Commits on May 24, 2021
-
[Cleanup] Reduce build size by keeping flash strings as flash string
Each call to a function with a flash string, expecting `String` argument is adding a `String()` wrapper increasing build size.
Configuration menu - View commit details
-
Copy full SHA for 92768a3 - Browse repository at this point
Copy the full SHA 92768a3View commit details -
[Cleanup] Optimise streaming JSON
Less memory allocations and streaming flash strings as such without converting to `String`
Configuration menu - View commit details
-
Copy full SHA for a5fab90 - Browse repository at this point
Copy the full SHA a5fab90View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3965abc - Browse repository at this point
Copy the full SHA 3965abcView commit details -
Configuration menu - View commit details
-
Copy full SHA for dcaf9f3 - Browse repository at this point
Copy the full SHA dcaf9f3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9c363dc - Browse repository at this point
Copy the full SHA 9c363dcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 54bf060 - Browse repository at this point
Copy the full SHA 54bf060View commit details
Commits on May 25, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 99f72cc - Browse repository at this point
Copy the full SHA 99f72ccView commit details -
[Cleanup] Reduce build size of parseStandardConversions function
Macros including function calls with lots of variables tend to add quite a lot to the build size.
Configuration menu - View commit details
-
Copy full SHA for 62424b6 - Browse repository at this point
Copy the full SHA 62424b6View commit details -
Configuration menu - View commit details
-
Copy full SHA for be3e503 - Browse repository at this point
Copy the full SHA be3e503View commit details -
Configuration menu - View commit details
-
Copy full SHA for ba3e473 - Browse repository at this point
Copy the full SHA ba3e473View commit details -
[Cleanup] Change return type of some commands to FlashString
To reduce build size as those do not have to be converted into a String type.
Configuration menu - View commit details
-
Copy full SHA for 3074df6 - Browse repository at this point
Copy the full SHA 3074df6View commit details -
Configuration menu - View commit details
-
Copy full SHA for b56a919 - Browse repository at this point
Copy the full SHA b56a919View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8dfc246 - Browse repository at this point
Copy the full SHA 8dfc246View commit details -
[Cleanup] Domoticz MQTT, generate own JSON, not using ArduinoJSON lib
Saves quite a bit from the binary size.
Configuration menu - View commit details
-
Copy full SHA for 1f40cd1 - Browse repository at this point
Copy the full SHA 1f40cd1View commit details -
[Cleanup] Serialize JSON not using ArduinoJSON to reduce build size
Should be tested, as the numbers now no longer are wrapped in quotes.
Configuration menu - View commit details
-
Copy full SHA for cd35a3e - Browse repository at this point
Copy the full SHA cd35a3eView commit details -
Configuration menu - View commit details
-
Copy full SHA for e3f65c1 - Browse repository at this point
Copy the full SHA e3f65c1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3d8a505 - Browse repository at this point
Copy the full SHA 3d8a505View commit details -
Configuration menu - View commit details
-
Copy full SHA for 79a3271 - Browse repository at this point
Copy the full SHA 79a3271View commit details -
Configuration menu - View commit details
-
Copy full SHA for e739486 - Browse repository at this point
Copy the full SHA e739486View commit details
Commits on May 26, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 1c7cd15 - Browse repository at this point
Copy the full SHA 1c7cd15View commit details -
[Cleanup] Remove addLog macro and use separate functions per type
This gets rid of another rather big chunk of (generated) code which does add up to the binary size.
Configuration menu - View commit details
-
Copy full SHA for 2dcdcc7 - Browse repository at this point
Copy the full SHA 2dcdcc7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0140419 - Browse repository at this point
Copy the full SHA 0140419View commit details -
[DeviceModel] Change to enum class to allow compiler help check usage
... And hopefully this may help in making Linux and Windows builds create more equal sized binaries.
Configuration menu - View commit details
-
Copy full SHA for bfbabf7 - Browse repository at this point
Copy the full SHA bfbabf7View commit details