Naguissa / uTimerLib

Arduino tiny and cross-device compatible timer library
https://www.foroelectro.net/electronica-digital-microcontroladores-f8/utimerlib-libreria-arduino-para-eventos-temporizad-t191.html
GNU Lesser General Public License v3.0
20 stars 9 forks source link

Possible memory hog on stm32 #4

Closed Naguissa closed 5 years ago

Naguissa commented 5 years ago

http://www.stm32duino.com/viewtopic.php?f=9&t=4326

Naguissa commented 5 years ago

uTimerLib_setInterval_us_led library example

uTimerLib enabled (untouched sketch):

El Sketch usa 13692 bytes (12%) del espacio de almacenamiento de programa. El máximo es 110592 bytes. Las variables Globales usan 2872 bytes (16%) de la memoria dinámica, dejando 14536 bytes para las variables locales. El máximo es 17408 bytes.

Sketch: 13692 bytes Variables: 2872 bytes

uTimerLib disabled (include commented, TimerLib usage commented and timed_function called on loop):

El Sketch usa 12924 bytes (11%) del espacio de almacenamiento de programa. El máximo es 110592 bytes. Las variables Globales usan 2824 bytes (16%) de la memoria dinámica, dejando 14584 bytes para las variables locales. El máximo es 17408 bytes.

Sketch 12924 bytes Variables: 2824 bytes

Numbers doesn't seem to be such different to call it a memory hog....