10000 GitHub - ryla/avr-template: A template for firmware for AVR microcontrollers
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

ryla/avr-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

AVR Template

Toolchain

Ubuntu

The AVR toolchain, C libraries, and the avrdude downloader/uploader, can be installed from the Ubuntu repositories:

apt-get install gcc-avr avr-libc avrdude

Building

  1. Clone the avr-template repository (or fork it and clone your own repository).

     git clone git@github.com:uctools:avr-template
    
  2. Modify the Makefile:

    • Set TARGET to the desired name of the output file (eg: TARGET = main)
    • Set SOURCES to a list of your sources (eg: SOURCES = main.c two.c three.c)
    • Set MCU to the MSP430 part number to build for (eg: MCU = atmega328p)
  3. Run make

  4. The output files will be created in the 'build' folder

About

A template for firmware for AVR microcontrollers

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0