Compiling blink for the Arduino with a Makefile

As I’m functionally insane, I’m going to have a crack at compiling C (and maybe Rust?!) with the avr-* cli tooling.

And as I use NixOS (btw) I might even have a crack at putting the toolchain into a flake.

Some references:

Great success!

I’ve put together a very basic repository demonstrating how to compile blink for the Arduino Uno: GitHub - JamesWilmot/avr-gcc-arduino-uno-blink: Blinking Arduino Uno LED with avr-* tooling in a Nix flake

The next thing I want to try is figuring out how to build a program to communicate with computer using serial. And then onto such good things as analogy inputs, writing to an LCD screen etc.