1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

boards/arduino-duemilanove: Updates board to comply with refactored arduino-atmega-common structure

This commit is contained in:
Anthony Merlino 2017-02-02 14:05:53 -05:00
parent 3f7808add0
commit 7e79e85f17
3 changed files with 17 additions and 8 deletions

View File

@ -1,5 +1,5 @@
MODULE = board
DIRS = $(RIOTBOARD)/arduino-common
DIRS = $(RIOTBOARD)/arduino-atmega-common
include $(RIOTBASE)/Makefile.base

View File

@ -1 +1 @@
include $(RIOTBOARD)/arduino-common/Makefile.features
include $(RIOTBOARD)/arduino-atmega-common/Makefile.features

View File

@ -1,10 +1,19 @@
USEMODULE += arduino-common
# define the cpu used by the ardudino duemilanove board
export CPU = atmega328p
# add arduino-common include path
INCLUDES += -I$(RIOTBOARD)/arduino-common/include
USEMODULE += arduino-atmega-common
# add arduino-atmega-common include path
INCLUDES += -I$(RIOTBOARD)/arduino-atmega-common/include
#export needed for flash rule
export LINUX_PORT = /dev/ttyUSB0
export PROGRAMMER_SPEED = 57600
export LINUX_PORT ?= /dev/ttyUSB0
export PROGRAMMER_SPEED ?= 57600
include $(RIOTBOARD)/arduino-common/Makefile.include
export FFLAGS += -p m328p
# PROGRAMMER defaults to arduino which is the internal flasher via USB. Can be
# overridden for debugging (which requires changes that require to use an ISP)
export PROGRAMMER ?= arduino
include $(RIOTBOARD)/arduino-atmega-common/Makefile.include