platform-atmelavr
platform-atmelavr copied to clipboard
Finding debug_port for avr-stub using HWIDs rather then hard-coding
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.
Bumping this issue.
If upload_port is set or autodetected but debug_port is not hardcoded then it fails. Only hardcoding the config in platformio.ini works.
Platform should implement AutodetectDebugPort function for avr-stub. Something like AutodetectUploadPort