platformio / platformio-docs

PlatformIO Documentation
https://docs.platformio.org
Apache License 2.0
240 stars 326 forks source link

Docs/Tools&Debug-Probes/Atmel-ICE: fix out-of-date Configuration for Atmel-ICE #173

Closed Schallbert closed 3 years ago

Schallbert commented 3 years ago

Updated and tested config updates. Sources: https://community.platformio.org/t/atmega-328-internal-8mhz-oscillator-atmel-ice-upload-troubles/10416 https://cyansensors.wordpress.com/portfolio/setting-up-atmel-ice-with-platformio-using-atmega328p/ https://zadig.akeo.ie/ https://community.platformio.org/t/how-to-setup-atmel-ice-to-program-an-atmega328-on-platformio-with-vscode-on-windows-10/11426

CLAassistant commented 3 years ago

CLA assistant check
All committers have signed the CLA.

Schallbert commented 3 years ago

I have added a (3rd party) link to the docs: Dunno if that's the usual or acceptable way. Thought it might help those who have issues getting the drivers straight.

valeros commented 3 years ago

Hi @Schallbert ! Thanks for the PR. Unfortunately, we cannot can merge it. The main concern here is that the page you're editing isn't meant for avrdude and there is no AVR in the list of supported platforms for this probe. atmel-ice as a debug tool can be used only with OpenOCD and the Atmel SAM platform. If you want to provide an example of configuring atmel-ice for the AVR targets you can add it to the examples of upload_flags or upload_command options.