Skip to content

Commit

Permalink
boards/mega-xplained: Refactor avrdude conf
Browse files Browse the repository at this point in the history
  • Loading branch information
maribu committed Feb 10, 2020
1 parent ff53159 commit 21b37a3
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions boards/mega-xplained/Makefile.include
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# Found by checking fuse settings (2048 words so 4KB)
# https://www.microchip.com/DevelopmentTools/ProductDetails/atmega1284p-xpld
BOOTLOADER_SIZE ?= 4K
ROM_RESERVED ?= $(BOOTLOADER_SIZE)

# For backward compatibility
ifneq (,$(AVRDUDE_PORT))
Expand All @@ -17,14 +16,10 @@ ifeq ($(OS),Linux)
else ifeq ($(OS),Darwin)
PROG_DEV ?= $(firstword $(sort $(wildcard /dev/tty.usbserial*)))
endif
# avoid error if mcu signature doesn't match
FFLAGS_EXTRA += -F

# configure the terminal program
PORT_LINUX ?= /dev/ttyACM0
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.usbmodem*)))
BAUD ?= 9600
include $(RIOTMAKE)/tools/serial.inc.mk

include $(RIOTMAKE)/tools/avrdude.inc.mk
include $(RIOTBOARD)/common/atmega/Makefile.include

0 comments on commit 21b37a3

Please sign in to comment.