/avr-c

ATMega328-PU in pure avr-C. MOVED TO GITLAB

Primary LanguageC

ATMega328-PU in pure avr-C

Depends on

  • gcc-avr
  • avr-libc
  • avrdude

Usage

  • To compile
    make compile ARG="hello"
        

    or

    make ARG="hello"
        

    Note: In the above example if you provide the string as hello to ARG, you must have hello.c in the same directory as Makefile.

  • To flash/burn your program
    make burn ARG="hello"
        
  • To clean
    make clean ARG="hello"
        

    optionally you can also run

    make clean