2023-04-03 00:47:11 +00:00
|
|
|
# AVR_ASM
|
|
|
|
|
2023-04-03 01:25:08 +00:00
|
|
|
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
|
|
|
|
|
|
|
|
|
|
|
|
```sh
|
|
|
|
git clone <REPO URL>
|
|
|
|
cd <REPO>
|
|
|
|
make all
|
|
|
|
make flash
|
|
|
|
```
|
|
|
|
|