Skip to content

How to program AVR microcontrollers in Visual Studio Code

Zero Amps edited this page Apr 26, 2021 · 12 revisions

How to setup Windows 10 machine for programming AVR microcontrollers.

Install MinGW

  • Download MinGW and install at least these these packages for using make.

MingGW packages

  • Update the Path environment variable.

Windows 10 Path for MinGW

Install Arduino IDE 1.8.9

  • Download Arduino IDE 1.8.9 and update the Path environment variable for using avr-gcc, avrdude and other tools.

Arduino IDE Path for Windows 10

Install Visual Studio Code

C/C++ extension

Test it

  • Download one of AVR examples and then compile and upload it to your microcontrollers.