mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
18 lines
571 B
Makefile
18 lines
571 B
Makefile
# define the cpu used by the ardudino duemilanove board
|
|
export CPU = atmega328p
|
|
|
|
USEMODULE += boards_common_arduino-atmega
|
|
|
|
#export needed for flash rule
|
|
export PORT_LINUX ?= /dev/ttyUSB0
|
|
export PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.usbmodem*)))
|
|
export PROGRAMMER_SPEED ?= 57600
|
|
|
|
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)/common/arduino-atmega/Makefile.include
|