Build c source and upload it to arduino uno using avr-gcc, avr-objcopy and avrdude
  • Makefile 69.5%
  • C 30.5%
Find a file Use this template
2025-12-17 16:32:30 +01:00
.clangd Initial commit to compile using avr-gcc 2025-12-17 16:15:12 +01:00
.gitignore Initial commit to compile using avr-gcc 2025-12-17 16:15:12 +01:00
blink.c Initial commit to compile using avr-gcc 2025-12-17 16:15:12 +01:00
LICENSE added LICENSE 2025-12-17 16:32:30 +01:00
Makefile make PORT overridable 2025-12-17 16:23:13 +01:00
README.md make PORT overridable 2025-12-17 16:23:13 +01:00

Requirements

For Fedora Linux the following packages are required:

avr-binutils avr-gcc avr-libc avrdude

Building

To compile just run make.

Upload

To upload connect the arduino uno using a usb cable. The Board should show up at /dev/ttyACM0. If you have a different device you have to change PORT in the Makefile or define or override the environment variable PORT. Then just make upload.