mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
80cf8389a8
Uno and Duemilanove(atmega328p version) are nearly the same boards. The only difference is that the Duemilanove use an FTDI usb chip, while the Uno use an Atmel which acts as USB/Serial converter. All of the code needed to support these boards is in arduino-common.
11 lines
265 B
Makefile
11 lines
265 B
Makefile
USEMODULE += arduino-common
|
|
|
|
# add arduino-common include path
|
|
INCLUDES += -I$(RIOTBOARD)/arduino-common/include
|
|
|
|
# export needed for flash rule
|
|
export LINUX_PORT = /dev/ttyACM0
|
|
export PROGRAMMER_SPEED = 115200
|
|
|
|
include $(RIOTBOARD)/arduino-common/Makefile.include
|