esp-rs / espflash

Serial flasher utility for Espressif SoCs and modules based on esptool.py
Apache License 2.0
455 stars 110 forks source link

Check for `--elf` when `--log-format defmt` #513

Closed ProfFan closed 7 months ago

ProfFan commented 7 months ago

^

SergioGasquez commented 7 months ago

Do you mind elaborating the issue and the rationale?

ProfFan commented 7 months ago

Hi @SergioGasquez sorry for being so brief, too busy on my project :(

Rationale is that defmt requires the ELF file to display the messages, currently if one only specify the --log-format defmt will silently fail, and resulting in garbage printed at the terminal