Skip to content

Commit

Permalink
boards/atmega256rfr2-xpro: Refactor avrdude conf
Browse files Browse the repository at this point in the history
- No longer include `tools/serial.mk` and `tools/avrdude.mk`, as this is
  no done by `boards/common/atmega`
- No longer provide `RESET ?=`, as this is now done in `tools/avrdude.mk` for
  all ATmega boards unless they are using a bootloader
  • Loading branch information
maribu committed Feb 10, 2020
1 parent 26b4da2 commit ff53159
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions boards/atmega256rfr2-xpro/Makefile.include
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,10 @@
PORT_LINUX ?= /dev/ttyACM0
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.usbmodem*)))
BAUD ?= 115200
include $(RIOTMAKE)/tools/serial.inc.mk

# Use EDBG (xplainedpro) programmer with avrdude
PROGRAMMER ?= xplainedpro

# This board can be reset via avrdude
RESET ?= avrdude -c $(PROGRAMMER) -p m256rfr2
# Use edbg interface for debugging
DEBUGSERVER_INTERFACE ?= --edbg

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

0 comments on commit ff53159

Please sign in to comment.