mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
675bd5eec0
PORT_LINUX and PORT_DARWIN are evaluated by `makefiles/tools/serial.inc.mk` and some boards Makefile.include. Their value does not need to be exported. This also globally removes the line saying that the exports are needed for flash rule.
17 lines
529 B
Makefile
17 lines
529 B
Makefile
# define the cpu used by the arduino uno board
|
|
export CPU = atmega32u4
|
|
|
|
PORT_LINUX ?= /dev/ttyUSB0
|
|
AVRDUDE_PORT ?= /dev/ttyACM0
|
|
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.usbmodem*)))
|
|
BAUD ?= 9600
|
|
|
|
# PROGRAMMER defaults to avr109 which is the internal flasher via USB. Can be
|
|
# overridden for debugging (which requires changes that require to use an ISP)
|
|
PROGRAMMER ?= avr109
|
|
|
|
BOOTLOADER_SIZE ?= 4K
|
|
ROM_RESERVED ?= $(BOOTLOADER_SIZE)
|
|
|
|
include $(RIOTBOARD)/common/arduino-atmega/Makefile.include
|