blob: f90b1f02f164ede6eeeccb2db193d78ae8dc7608 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
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
  |