This project can build code that can be run on an Arduino Uno, using only Zig as its only dependency.
Currently only avrdude is an external dependency that is needed to program the chip.
zig buildcreates the executable.zig build upload -Dtty=/dev/ttyACM0uploads the code to an Arduino connected to/dev/ttyACM0.zig build monitor -Dtty=/dev/ttyACM0shows the serial monitor usingscreen.zig build objdumpshows the disassembly (avr-objdumphas to be installed).