Skip to content

bash script to make compilation and upload to avr boards using using USBasp programmers on LInux easy.

Notifications You must be signed in to change notification settings

pyropotato/avr-scripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 

Repository files navigation

avr compilation and upload scripts

bash script to make compilation and upload to avr boards using using USBasp programmers on LInux easy.

Steps to follow:

--Compilation:

  1. In the compile script change the -mmcu=atmega16 to the microcontroller used.
  2. Make sure the script is in the same folder as your c program.
  3. In your terminal use cd to navigate to the folder containing the c program.
  4. Execute:
    sudo bash ./compile_script program_name.c
    Replace program_name suitably.

--Uploading:

  1. In the upload_script change the -p m16 to your microcontroller.
  2. Execute:
    sudo bash ./upload_script program_name

About

bash script to make compilation and upload to avr boards using using USBasp programmers on LInux easy.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published