https://github.com/maksimdrachov/arduino-nano-template
https://github.com/maksimdrachov/arduino-nano-template
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/maksimdrachov/arduino-nano-template
- Owner: maksimdrachov
- Created: 2025-07-15T13:04:54.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2025-07-16T10:28:16.000Z (3 months ago)
- Last Synced: 2025-07-17T14:25:05.979Z (3 months ago)
- Language: C
- Size: 6.44 MB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Arduino Nano Bare-Metal Project Template
This template is meant to serve as a starting point for writing bare-metal firmware for Arduino Nano.
Instead of using the API provided by Arduino IDE, we rely on the AVR-GCC toolchain.
You can check if it's installed on your computer by running the following:```
avr-gcc --version
```If you don't have it installed:
```
sudo apt-get update
sudo apt-get install gcc-avr binutils-avr avr-libc gdb-avr avrdude
````make` can be used for executing the most commonly required functionality.
- to build: `make all`
- to flash: `make dude`
- to test: `make execute_test`
- to format: `make format`
- assess size of the project: `make size`/`make sizex`## Documentation
- Standard C libraries: https://en.cppreference.com/w/c/header.html
- AVR-GCC: https://www.nongnu.org/avr-libc/user-manual/modules.html
- Atmega328P datasheet: see `docs/`