Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>AVR Assembly Project GeneratorNew to Visual Studio Code? Get it now.
AVR Assembly Project Generator

AVR Assembly Project Generator

Ryan M LeBlanc

|
55 installs
| (0) | Free
Creates and configures JSON file for assembly writing to an ATmega328p microcontroller
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

avr-assembly-project-generator README

Features

This extension allows for the easy compilation and flashing of assembly and C files to the atMega328p chip

Commands

AVR - Create Assembly Project: Configures tasks.json to call a python automation script upon building in order to upload programs to the chip

Requirements

This extension requires the avr-gcc toolcahin which can be downloaded from: - Windows: https://drive.google.com/file/d/1UO2xWSsm19rD_XyKkSXowaMNtdaZKaB-/view?usp=drive_link - MacOS: https://drive.google.com/file/d/13QBljHjKDk1pUXxFvfrqOrOs6u4SSU3j/view?usp=drive_link

Your system will then need to be given access to the toolchain.

For Windows: 1. Press Windows, and search edit the system environment variables 2. Click edit environment varables 3. Click on Path then Edit 4. Click new and paste the path to your toolchain ex: C:\Users\UserName"PATH TO TOOLCHAIN"\avr-gcc-15.2.0-x64-windows\bin 5. Exit by clicking ok 3 times 6. Verify by opening a command shell and running: avr-gcc --version - you should see software version and liscensing information - if you see "'avr-gcc' is not recognized as a an internal or external command, operable program or batch file." verify you have the correct path in environment variables and retry.

For MacOs: 1. Locate the toolchain bin folder path ex: "/opt/avr8-gnu-toolchain/bin" 2. Press Command + Space and type Terminal to open a shell 3. run the command: open -e ~/.zprofile - If this gives an error, type: touch -e ~/.xprofile, then re-run the open command 4. This will open a text window. Add your bin path to the last line. 5. Save and Close 6. To apply these changes, in the terminal window run: source ~/.zprofile 7. To verify run: which avr-gcc. This should then show the folder path you entered 8. If you get an error saying software can't be verified, this is because MacOS quarentines unkown software. to remove this, in command terminal type: sudo xattr -dr com.apple.quarantine /path/to/folder/avr8-gnu-toolchain . This will allow the compiler to run.

Known Issues

Currently is hardcoded to use atmega328p chip

Release Notes

0.0.1

0.0.2

  • Now works with both .S and .asm files

0.0.3

  • Now works with .c files

0.0.4

  • Now autodetects port allowing for dynamic flashing instead of a hardcoded port
  • Now supports MacOS and Linux

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft