This project outlines how to create a custom runtime for the ATmega328P, incorporating a custom mathematical utility library for operations not natively supported by the hardware.
- Hardware: ATmega328P-based board
- Software:
avr-gcc
: AVR toolchain for compiling your code.avr-objcopy
: Tool for converting the compiled output into various formats.avrdude
: Software for uploading the firmware to the microcontroller.GNU Make
: Build automation tool to run the Makefile.screen
: Utility for serial communication with your board.
- Operating System: macOS and Linux.
- Install Required Software:
- On Debian/Ubuntu:
sudo apt-get install gcc-avr avr-libc avrdude make screen
- On macOS (using Homebrew):
brew install avr-gcc avrdude avrdude --with-usb
- On Debian/Ubuntu:
make all
make upload
make monitor
make clean