Forwarding JTAG over USB through SAMD21?
#2
I figured out that I could log info over UART in Rust by using the "println" Cargo feature of esp-backtrace, using the "uart" and "log" Cargo features of esp-println, calling esp_println::logger::init_logger_from_env() at the beginning of main, and putting

[target.xtensa-esp32-none-elf]
runner = "espflash flash --monitor"

[env]
ESP_LOG="INFO"

in cargo/config.toml.

This isn't as pretty or performant as defmt over JTAG with probe-rs, but it works.
  Reply


Messages In This Thread
Forwarding JTAG over USB through SAMD21? - by Be - 2025-01-31, 05:41 AM
RE: Forwarding JTAG over USB through SAMD21? - by Be - 2025-02-01, 08:13 AM

Forum Jump: