Build c source and upload it to arduino uno using avr-gcc, avr-objcopy and avrdude
- Makefile 69.5%
- C 30.5%
| .clangd | ||
| .gitignore | ||
| blink.c | ||
| LICENSE | ||
| Makefile | ||
| README.md | ||
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.