- hardware contains schematic and printed circuit board layout of device hardware. These are created using KiCad.
- hardware/production-files is the target for production files generated by KiCad. No files saved there are stored to source control.
- src contains firmware source code
- target contains compiled firmware and intermediate files. No files saved there are stored to source control.
You need to have avrdude installed to build.
- Define avr model and programmed used by editing avr-config file.
- If needed, configure fuses by editing fuses script and running it. Fuse values can be determined by using e.g. Engbedded fuse calculator. (Or, of course, simply by consulting the avr datasheet.)
- Compile and upload firmware from src directory by running build script.
Note that depending on configuration, the port variable may need to be changed after connecting and disconnecting the programmer.