hathach / tinyusb

An open source cross-platform USB stack for embedded system
https://www.tinyusb.org
MIT License
4.88k stars 1.03k forks source link

Add Segger SystemView for performance tracing #699

Open HiFiPhile opened 3 years ago

HiFiPhile commented 3 years ago

Is your feature request related to a problem? Please describe. I think we need something to do performance analyse.

Describe the solution you'd like As we already have RTT for debug print, It should be easy to add SystemView support.

The only thing MCU dependent is SEGGER_SYSVIEW_X_GetTimestamp

hathach commented 3 years ago

Nice idea, I did have systemview running with nrf52 in this repo https://github.com/adafruit/Adafruit_nRF52_Arduino and FreeRTOS. Will got it running late on when having (more) time