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

add defmt support #316

Closed
ImUrX opened this issue Dec 10, 2022 · 2 comments · Fixed by #466
Closed

add defmt support #316

ImUrX opened this issue Dec 10, 2022 · 2 comments · Fixed by #466

Comments

@ImUrX
Copy link

ImUrX commented Dec 10, 2022

Adding a flag that parses defmt data would be nice for using with this tool, I currently just pipe the monitor to defmt-print.
I think defmt could also be detected instead of adding a flag but idk which is preferred.

@jjdd12
Copy link

jjdd12 commented Nov 11, 2023

How is this supposed to work, I am new to using defmt, so I likely be understanding how exactly this works. When using defmt to log, do I have to add any parameters to the monitor command?

This is the output I get when I am expecting to some actual debug logs


~~~~~   ~

@SergioGasquez
Copy link
Member

See https://github.com/esp-rs/esp-println?tab=readme-ov-file#defmt for instructions, here is also a simple repo with defmt support: https://github.com/bugadani/esp32s3-defmt-example. We are working on updating the docs so we explain this process better (esp-rs/esp-println#68) and we also add some documentation in espflash

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

4 participants