Go to the source code of this file.
Macros | |
#define | STACK_CANARY 0xc5 |
Copy / adaptation of the library StackPaint available here : https://github.com/WickedDevice/StackPaint. | |
Functions | |
int | mu_freeRam () |
Thanks to adafruit : https://learn.adafruit.com/memories-of-an-arduino/measuring-free-memory. | |
void | mu_StackPaint (void) |
Function called before any other function. | |
uint16_t | mu_StackCount (void) |
Checks the first undecorated byte. More... | |
void | SRamDisplay (void) |
Modified function from http://www.avr-developers.com/mm/memoryusage.html. More... | |
Main library code file.
Definition in file MemoryUsage.cpp.
uint16_t mu_StackCount | ( | void | ) |
Show the stack size on console.
Definition at line 72 of file MemoryUsage.cpp.
void SRamDisplay | ( | void | ) |
Displays the 'map' of the current state of the Arduino's SRAM memory on the Serial console.
Definition at line 83 of file MemoryUsage.cpp.