knurling-rs / probe-run

Run embedded programs just like native ones
Apache License 2.0
646 stars 75 forks source link

Support multiple defmt-capable binaries on a single target #70

Open jamesmunns opened 3 years ago

jamesmunns commented 3 years ago

We've had folks request the ability to use defmt in a bootloader AND an application, which have unrelated defmt message libraries. Users also seem to want to reuse the same defmt RTT control block and memory space.

MathiasKoch commented 3 years ago

I for one would love to see this be an option!

jamesmunns commented 3 years ago

Relevant chat logs: https://freenode.logbot.info/rust-embedded/20200922#c5187053

therealprof commented 3 years ago

May I suggest you amend the title to make it clear that this concerns multiple applications on a device (or in case of a bootloader probably even staged applications) and not multiple applications in a project (which lured me here because it works just fine)?

jamesmunns commented 3 years ago

Thanks @therealprof, does that look more clear now?