- avr-gcc
- avr-libc
- make
- avrdude
- ctags (optional, for code completion in editors)
- screen (optional, for serial monitor)
Usage is make VAR=value target
.
SERIAL_DEVICE
- Serial device used byflash
andserial
target. Default:/dev/ttyACM0
AVRDUDE_BAUD
- Baud rate used by avrdude. Default: 115200SCREEN_BAUD
- Baud rate used by screen. Default: 9600
Usage is make target
.
all
- Compile everythingclean
- Remove object files, dependency files, ELF file and ctagsdistclean
-clean
and remove hex fileflash
- Flash the microcontrollerserial
- Start the serial monitorsize
- Show program and data memory usage