defmt: `defmt-rtt` `0.4` breaks on STM32H7A3ZIT6Q

After trying to upgrade, I encountered an issue with defmt-rtt 0.4, no more messages will show up. I am unsure what the root cause is, and to verify that the cause isn’t my code, I have created a minimum reproducible example from the recommended app template. If I set defmt-rtt = "0.4" in the Cargo.toml I no longer get any output, while with defmt-rtt = "0.3" that isn’t the case.

This is then executed - like in the README - on a STM32H7A3 Nucleo-144.

rustc version: rustc 1.67.0-nightly (32e613bba 2022-12-02)

defmt-rtt = "0.4"

image

defmt-rtt = "0.3"

image

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 15 (12 by maintainers)

Commits related to this issue

Most upvoted comments

I was finally able to reproduce the bug with a STM32F3DISCOVERY board 🎉

After bisecting, I found that #683 is the problem. @jannic Do you know why this problem might be caused by your change?