sudo pacman -S code
sudo pacman -S avr-gcc
sudo pacman -S avr-libc
https://marketplace.visualstudio.com/items?itemName=ms-vscode.cpptools
- Hit
Ctrl+Shift+Pand writeC/C++: EDit Configurations (UI) - Select
Linuxas your Configuration name - Set your Compiler Path to
/usr/bin/avr-gcc - Set your IntelliSense mode to
linux-gcc-x86 - Specify your AVR devices under
Compiler arguments:-mmcu=atmega644 - Click on Advanced Settings and on the
Browse: pathsection, write the following:${workspaceFolder} /usr/avr - Save the configurations