Skip to content
This repository has been archived by the owner on Sep 10, 2024. It is now read-only.

Support defmt #113

Open
TheButlah opened this issue Nov 20, 2022 · 5 comments
Open

Support defmt #113

TheButlah opened this issue Nov 20, 2022 · 5 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@TheButlah
Copy link

I will be transitioning from defmt-rtt to using the USB Jtag peripheral as my defmt printer since I cannot use direct-boot.

Would it be possible to add defmt decoding support to espmonitor? To be clear, I'm suggesting that there is a commandline flag or something that treats the serial output from the device as being in defmt encoding.

@kelnos
Copy link
Member

kelnos commented Nov 20, 2022

I've never heard of defmt before, so not sure I'm too interested in doing this, but I'd be happy to accept a patch if you're feeling up to implementing it.

@kelnos kelnos added enhancement New feature or request help wanted Extra attention is needed labels Nov 20, 2022
@TheButlah
Copy link
Author

@TheButlah
Copy link
Author

Would this issue be better in the espflash repo by any chance? That tool also does monitoring.

@kelnos
Copy link
Member

kelnos commented Nov 20, 2022

I believe espflash uses espmonitor as a library to do its monitoring.

@kelnos
Copy link
Member

kelnos commented Nov 20, 2022

I believe espflash uses espmonitor as a library to do its monitoring.

Hmm, actually that seems not to be the case; the developer over there asked me to make some changes so they could do that, but I guess they never got around to it.

Personally I'd rather have all the good stuff in espmonitor; my opinion is that monitoring is a "distraction" for espflash and it should defer to espmonitor for that. But up to you where you'd rather put your time, if you end up deciding to implement it yourself.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants