Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement the utop module #822

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

DvdGiessen
Copy link

Implements a new module, utop, as suggested in micropython/micropython#12732 (comment).

Currently only works on the esp32 port, and requires micropython/micropython#12732.

An animated GIF to demonstrate what the output looks like:

utop

Opted to give it a generic name instead of ESP32-specific, as there was mention of other platforms also having options to retrieve runtime performance data, which might be nice to support at a later time.

Compared to the version posted in that esp32 MR (here) this version is a few lines longer to make it a bit easier to read and expand later.

First commit implements the functionality as demo'd in the other MR. The second commit adds two lines of information about the current state of the ESP-IDF heap, as an example of how we could expand this later to be a more useful development utility.

Signed-off-by: Daniël van de Giessen <daniel@dvdgiessen.nl>
Signed-off-by: Daniël van de Giessen <daniel@dvdgiessen.nl>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant