platform-atmelavr icon indicating copy to clipboard operation
platform-atmelavr copied to clipboard

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

Open evilmav opened this issue 4 years ago • 1 comments

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.

evilmav avatar Apr 18 '21 20:04 evilmav

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

image

DjordjeMandic avatar Dec 29 '24 21:12 DjordjeMandic