probe-rs / rusty-probe-firmware

41 stars 15 forks source link

`defmt` logs over USB-serial #5

Closed datdenkikniet closed 1 year ago

datdenkikniet commented 1 year ago

Sending defmt logs over the USB serial :man_dancing: :rocket:

The logs are likely come out in big blocks with the current instructions due to buffering of stdout between elf2uf2-rs and defmt-print. To fix it, we can either wait until https://github.com/JoNil/elf2uf2-rs/pull/18 is merged, include this linux-specific workaround in the README (doesn't work), or add some sort of additional serial reader.