platformio / platform-atmelmegaavr

Atmel megaAVR: development platform for PlatformIO
https://registry.platformio.org/platforms/platformio/atmelmegaavr
Apache License 2.0
29 stars 22 forks source link

Fix incorrect programmer names in board manifest files #52

Closed MCUdude closed 1 year ago

MCUdude commented 1 year ago

This PR supersedes #43 and resolves incorrect programmer names for two boards.

@valeros this PR can be merged as it is, and hopefully before the next platform release.

MCUdude commented 1 year ago

@valeros while I'm at it, here's a minor issue that could be fixed.

Question: Is there a way to run Avrdude directly in the PIO command line in VSCode? Avrdude 7.1 has a vastly improved terminal mode (-t) that allows users to read, write and inspect all memories in the connected AVR interactively. Very, very useful, but I'm not sure how I can utilize the avrdude binary used by PlatformIO. If you have a neat solution to this I can recommend users of all my Arduino cores play around with Avrdude using the PIO terminal.

image
valeros commented 1 year ago

Thanks, merged!

In the PIO registry, the Avrdude links point to savannah.nongnu.org, but the project has been moved to GitHub

Thanks, will be fixed together with next package update.

Question: Is there a way to run Avrdude directly in the PIO command line in VSCode? Avrdude 7.1 has a vastly improved terminal mode (-t) that allows users to read, write and inspect all memories in the connected AVR interactively.

I guess pio pkg exec is what you need. For example:

pio pkg exec -p tool-avrdude -- avrdude --help