Skip to content

Files

Latest commit

 

History

History
45 lines (36 loc) · 1.66 KB

README.md

File metadata and controls

45 lines (36 loc) · 1.66 KB

README... if you want... you don't have to

Intro

This is a scratchpad of sorts for me to resharpen my skills in bare metal embedded programming. No promises about how pretty this code it, but I hope it will become so (and keep its functionality.)

My main goals are to be able to run basic arduino sketches using just C (and some headers...) and compile it with Cmake and flash using the terminal. Wish me luck!

Electro Boom is the best... FuLL BrIDge ReCTiFIER

Necessary packages for current usage

sudo apt install gcc-avr binutils-avr avr-libc avrdude

Method to determine Arduino connection

# Unplug Arduino
ls /dev/tty*
# Plug in Arduino
ls /dev/tty*
# The difference is the Arduino target!

Compiling

Navigate to the proper directory.

make # This will compile the code.
make flash # This will compile and flash the Arduino.

Thanks

Big thanks to the following resources: