-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Implement the utop module #822
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
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@DvdGiessen
DvdGiessen
force-pushed
the
utop_esp32
branch
from
March 7, 2024 14:33
2cbdcf5 to
065316c
Compare
@DvdGiessen
DvdGiessen
force-pushed
the
utop_esp32
branch
from
October 24, 2024 20:14
065316c to
41c8127
Compare
@DvdGiessen
DvdGiessen
force-pushed
the
utop_esp32
branch
2 times, most recently
from
April 16, 2025 14:17
2cadd4a to
fa8c308
Compare
@DvdGiessen
DvdGiessen
force-pushed
the
utop_esp32
branch
from
May 12, 2025 15:09
fa8c308 to
3fc7578
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry this took ages to get to. It looks good! I like how you've made it generic, for any target. That's a good idea, so it can be expanded in the future.
@DvdGiessen
DvdGiessen
force-pushed
the
utop_esp32
branch
2 times, most recently
from
May 14, 2025 09:09
205145c to
5a1122f
Compare
@DvdGiessen
DvdGiessen
force-pushed
the
utop_esp32
branch
2 times, most recently
from
May 14, 2025 13:45
6297148 to
068d28d
Compare
Signed-off-by: Daniël van de Giessen <daniel@dvdgiessen.nl>
Signed-off-by: Daniël van de Giessen <daniel@dvdgiessen.nl>
Signed-off-by: Daniël van de Giessen <daniel@dvdgiessen.nl>
@DvdGiessen
DvdGiessen
force-pushed
the
utop_esp32
branch
from
May 15, 2025 15:38
068d28d to
54d5f7c
Compare
dpgeorge
dpgeorge
approved these changes
May 16, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.
Implements a new module,
utop, as suggested in micropython/micropython#12732 (comment).Currently only works on the
esp32port, 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
esp32MR (here) this version is a few lines longer to make it a bit easier to read and expand later. For example it includes an optional argument for renaming threads, useful to distinguish multiplemp_threadinstances.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.