mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
e4ebbaf59f
The Arduino Nano board is the cheapest member of the Arduino family and used the same MCU as the Arduino Uno. It differs in the form factor (the Nano is much smaller), it uses an integrated FT232RL TTL adapter instead of an ATmega16u2 to provide access to the serial console via USB, and it uses a different bootloader (which occupies 2 KiB of the 32 KiB flash instead of 0.5 KiB occupied on the Arduino Uno). This commit mostly copy pastes code from the Arduino Uno.
43 lines
1.8 KiB
Plaintext
43 lines
1.8 KiB
Plaintext
/**
|
|
@defgroup boards_arduino-nano Arduino Nano
|
|
@ingroup boards
|
|
@brief Support for the Arduino Nano board
|
|
|
|
## Overview
|
|
|
|
The Arduino Nano is the cheapest member of the Arduino family. It is based on
|
|
Atmel's AVR architecture and sports an ATmega328p MCU. It is like many Arduinos
|
|
extensible by using shields.
|
|
|
|
### MCU
|
|
| MCU | ATmega328p |
|
|
|:------------- |:--------------------------------------------- |
|
|
| Family | AVR/ATmega |
|
|
| Vendor | Atmel |
|
|
| RAM | 2 KiB |
|
|
| Flash | 32 KiB (2 KiB reserved for the bootloader) |
|
|
| Frequency | 16 MHz |
|
|
| Timers | 3 (2x 8bit, 1x 16bit) |
|
|
| ADCs | 6 analog input pins |
|
|
| UARTs | 1 |
|
|
| SPIs | 1 |
|
|
| I2Cs | 1 (called TWI) |
|
|
| Vcc | 5.0V |
|
|
| MCU Datasheet | [ATmega328p datasheet](http://ww1.microchip.com/downloads/en/DeviceDoc/ATmega48A-PA-88A-PA-168A-PA-328-P-DS-DS40002061A.pdf) |
|
|
| Board Manual | [Board Manual](https://www.arduino.cc/en/uploads/Main/ArduinoNanoManual23.pdf) |
|
|
|
|
## Flashing the device
|
|
Flashing RIOT on the Arduino Nano is quite straight forward, just connect your
|
|
Arduino Nano via the USB connector to your host computer and type:
|
|
|
|
`make BOARD=arduino-nano flash`
|
|
|
|
This should take care of everything!
|
|
|
|
We use the open `avrdude` tool to write the new code into the ATmega328p's
|
|
flash
|
|
|
|
##Caution
|
|
Don't expect having a working network stack due to very limited resources.
|
|
*/
|