Skip to content

JamesWilmot/arduino-avr-gcc-examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Arduino examples for avr-gcc with added Flake

This project is a very basic demonstration of how to compile and flash an Arduino Uno program utilising the avr-* tooling in the context of a Nix flake.

tl;dr

  1. Configure nix (this is an exercise left to the reader)
    1. Install with the nix-installer
    2. Configure nix-direnv
  2. direnv allow in project repository
  3. Plug in an Arduino & find its port
  4. Change ARDUINO_PORT in .env file (e.g. ARDUINO_PORT=/dev/ttyACM0)
  5. make program

References

Programming Arduino Uno in pure C

My Nix Journey - Use Nix on Ubuntu

shepmaster/rust-arduino-blink-led-no-core

About

Arduino examples for avr-* tooling in a Nix flake

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published