Open JAndrassy opened 12 months ago
Memory usage change @ 294063ec3e8fa4eee6499310bc7e20903cdd730d
Board | flash | % | RAM for global variables | % |
---|---|---|---|---|
arduino:avr:leonardo |
:grey_question: -98 - +646 | -0.34 - +2.25 | :green_heart: -102 - 0 | -3.98 - 0.0 |
arduino:avr:mega |
:grey_question: -98 - +646 | -0.04 - +0.25 | :green_heart: -102 - 0 | -1.25 - 0.0 |
arduino:avr:nano |
:grey_question: -98 - +646 | -0.32 - +2.1 | :green_heart: -102 - 0 | -4.98 - 0.0 |
arduino:megaavr:nona4809 |
:small_red_triangle: 0 - +110 | 0.0 - +0.22 | :green_heart: -116 - 0 | -1.89 - 0.0 |
arduino:megaavr:uno2018 |
:small_red_triangle: 0 - +110 | 0.0 - +0.23 | :green_heart: -116 - 0 | -1.89 - 0.0 |
arduino:sam:arduino_due_x_dbg |
:small_red_triangle: 0 - +48 | 0.0 - +0.01 | N/A | N/A |
arduino:samd:arduino_zero_edbg |
:small_red_triangle: 0 - +40 | 0.0 - +0.02 | :green_heart: -112 - 0 | -0.34 - 0.0 |
arduino:samd:mkr1000 |
:small_red_triangle: 0 - +40 | 0.0 - +0.02 | :green_heart: -112 - 0 | -0.34 - 0.0 |
arduino:samd:mkrfox1200 |
:small_red_triangle: 0 - +40 | 0.0 - +0.02 | :green_heart: -112 - 0 | -0.34 - 0.0 |
arduino:samd:mkrgsm1400 |
:small_red_triangle: 0 - +40 | 0.0 - +0.02 | :green_heart: -112 - 0 | -0.34 - 0.0 |
arduino:samd:mkrnb1500 |
:small_red_triangle: 0 - +40 | 0.0 - +0.02 | :green_heart: -112 - 0 | -0.34 - 0.0 |
arduino:samd:mkrvidor4000 |
:small_red_triangle: 0 - +40 | 0.0 - +0.02 | :green_heart: -112 - 0 | -0.34 - 0.0 |
arduino:samd:mkrwan1300 |
:small_red_triangle: 0 - +40 | 0.0 - +0.02 | :green_heart: -112 - 0 | -0.34 - 0.0 |
arduino:samd:mkrwan1310 |
:small_red_triangle: 0 - +40 | 0.0 - +0.02 | :green_heart: -112 - 0 | -0.34 - 0.0 |
arduino:samd:mkrwifi1010 |
:small_red_triangle: 0 - +40 | 0.0 - +0.02 | :green_heart: -112 - 0 | -0.34 - 0.0 |
arduino:samd:mkrzero |
:small_red_triangle: 0 - +40 | 0.0 - +0.02 | :green_heart: -112 - 0 | -0.34 - 0.0 |
arduino:samd:nano_33_iot |
:small_red_triangle: 0 - +40 | 0.0 - +0.02 | :green_heart: -112 - 0 | -0.34 - 0.0 |
There is already a PR for
setHostname
to set the hostname sent with the DHCP request and some older PR which don't use the setHostname() setter.I provide my approach which doesn't store the hostname internally to save memory. I added the same code to my EthernetENC library. If setHostname is not used from the sketch the old code with the default hostname is executed.
overview of WiFi/Ethernet getters and setters: https://github.com/JAndrassy/Arduino-Networking-API/blob/main/ArduinoNetAPILibs.md#network-interface-getters-and-setters