platformio / platform-atmelavr

Atmel AVR: development platform for PlatformIO
https://registry.platformio.org/platforms/platformio/atmelavr
Apache License 2.0
136 stars 104 forks source link

Finding debug_port for avr-stub using HWIDs rather then hard-coding #253

Open evilmav opened 3 years ago

evilmav commented 3 years ago

Normally PlatformIO finds the right port for pio device monitor and programming based on board's hwids. Unfortunately, it does not seem to be the case for debug_port of the new avr-stub debug tool - it has to be hard-coded as per documentation and I could not find a workaround as of 5.1.1.

Feature request: use board's HWIDs to find debug_port for avr-stub.