From 729f2a2c3ebfb2612d873caf453a1d7ca02180d9 Mon Sep 17 00:00:00 2001 From: dmlunar Date: Wed, 22 Jan 2025 16:47:21 +0200 Subject: varpa: initial public commit --- firmware/README.txt | 53 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 firmware/README.txt (limited to 'firmware/README.txt') diff --git a/firmware/README.txt b/firmware/README.txt new file mode 100644 index 0000000..f90b1f0 --- /dev/null +++ b/firmware/README.txt @@ -0,0 +1,53 @@ +Dependencies +------------ + +gcc-avr binutils-avr gdb-avr avr-libc avrdude make git + +To install all dependencies, run: +make deps + +Fuse Settings +------------- + +Fuse settings are defined in the Makefile as follows: + +LFUSE = 0xFF +HFUSE = 0xD9 +EFUSE = 0xFF +LOCK = 0xFF + +System Reset +------------ + +To exclusively execute a soft reset, run: +make reset + +Firmware Compilation +-------------------- + +To exclusively build the firmware, run: +make build + +Firmware Flash +-------------- + +To exclusively execute a firmware flash, run: +make flash + +Usage +----- + +Only two commands are required to build and flash +the firmware onto the ATmega328P. + +Simply run: +make + +Then run: +make upload + +Note: + +If you encounter issues performing a soft reset, use: +make force-upload + -- cgit v1.2.3-70-g09d2