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

boards/arduino-atmega: move shared code to common/arduino-atmega

This commit is contained in:
Hauke Petersen 2017-11-16 12:23:35 +01:00
parent eb2b9f2169
commit 0f155db499
24 changed files with 17 additions and 17 deletions

View File

@ -1,3 +0,0 @@
MODULE = arduino-atmega-common
include $(RIOTBASE)/Makefile.base

View File

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

View File

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

View File

@ -1,7 +1,7 @@
# define the cpu used by the ardudino duemilanove board
export CPU = atmega328p
USEMODULE += arduino-atmega-common
USEMODULE += boards_common_arduino-atmega
#export needed for flash rule
export PORT_LINUX ?= /dev/ttyUSB0
@ -14,4 +14,4 @@ export FFLAGS += -p m328p
# overridden for debugging (which requires changes that require to use an ISP)
export PROGRAMMER ?= arduino
include $(RIOTBOARD)/arduino-atmega-common/Makefile.include
include $(RIOTBOARD)/common/arduino-atmega/Makefile.include

View File

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

View File

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

View File

@ -1,7 +1,7 @@
# define the cpu used by the arduino mega2560 board
export CPU = atmega2560
USEMODULE += arduino-atmega-common
USEMODULE += boards_common_arduino-atmega
#export needed for flash rule
export PORT_LINUX ?= /dev/ttyACM0
@ -14,4 +14,4 @@ export FFLAGS += -p m2560
# overridden for debugging (which requires changes that require to use an ISP)
export PROGRAMMER ?= stk500v2
include $(RIOTBOARD)/arduino-atmega-common/Makefile.include
include $(RIOTBOARD)/common/arduino-atmega/Makefile.include

View File

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

View File

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

View File

@ -1,7 +1,7 @@
# define the cpu used by the arduino uno board
export CPU = atmega328p
USEMODULE += arduino-atmega-common
USEMODULE += boards_common_arduino-atmega
# export needed for flash rule
export PORT_LINUX ?= /dev/ttyACM0
@ -14,4 +14,4 @@ export FFLAGS += -p m328p
# overridden for debugging (which requires changes that require to use an ISP)
export PROGRAMMER ?= arduino
include $(RIOTBOARD)/arduino-atmega-common/Makefile.include
include $(RIOTBOARD)/common/arduino-atmega/Makefile.include

View File

@ -0,0 +1,3 @@
MODULE = boards_common_arduino-atmega
include $(RIOTBASE)/Makefile.base

View File

@ -1,7 +1,7 @@
# include optional dependencies
include $(RIOTBOARD)/arduino-atmega-common/Makefile.dep
include $(RIOTBOARD)/common/arduino-atmega/Makefile.dep
INCLUDES += -I$(RIOTBOARD)/arduino-atmega-common/include
INCLUDES += -I$(RIOTBOARD)/common/arduino-atmega/include
# refine serial port information
export BAUD ?= 9600