Some example code for interacting with a Atmegr328P using assembly and the avra assembler program.
Go to file
Jake Goodwin 942ed209a8 updated the readme with instructions 2023-04-02 18:25:08 -07:00
src renamed main.s to main.asm 2023-04-02 18:21:16 -07:00
.gitignore updated gitignore 2023-04-02 18:21:23 -07:00
LICENSE Initial commit 2023-04-03 00:47:11 +00:00
README.md updated the readme with instructions 2023-04-02 18:25:08 -07:00
m328Pdef.inc init commit of avr assembly 2023-04-02 17:51:26 -07:00
makefile updated the makefile to create the build directory as needed. 2023-04-02 18:21:37 -07:00

README.md

AVR_ASM

Some example code for interacting with a Atmegr328P using assembly and the avra assembler program.

This program just runs a simple led chaser dependant on the value stored at a sram address.

How to run:

requirements:

  • avra assembler
  • the avr inc files or change the makefile to target the included one.
  • an avrasp programmer.
  • gnu make
  • bash
git clone <REPO URL>
cd <REPO>
make all
make flash