Adds a menu item to enable onboard profiling. This requires significant RAM and really only makes sense on devices with PSRAM to store the state. When the menu item is selected, allocates RAM and tracks function calls and periodically samples the PC to generate a histogram of application usage. The onboard gmon.out file can be written over Semihosting or some other way to transfer to a PC for analysis. Adds a profiling example with command lines. |
||
|---|---|---|
| .. | ||
| nina_pins.cpp | ||
| nina_pins.h | ||
| PinArduino.txt | ||
| pins_arduino.h | ||