Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
evilmav opened this issue Apr 18, 2021 · 1 comment
Open
Labels

Comments

@evilmav
Copy link

evilmav commented Apr 18, 2021

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.

@DjordjeMandic
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants