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

boards/waspmote-pro: Refactor avrdude conf

This commit is contained in:
Marian Buschsieweke 2020-02-10 15:05:18 +01:00
parent 21b37a3f5e
commit fec0f8dd48
No known key found for this signature in database
GPG Key ID: 61F64C6599B1539F

View File

@ -1,23 +1,8 @@
# Bootloader uses stk500v1 protocol, which usually is implemented in
# bootloaders of 2K size.
# http://www.libelium.com/products/waspmote/hardware/
BOOTLOADER_SIZE ?= 2K
ROM_RESERVED ?= $(BOOTLOADER_SIZE)
# configure the terminal program
PORT_LINUX ?= /dev/ttyACM0
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.usbserial*)))
BAUD ?= 9600
include $(RIOTMAKE)/tools/serial.inc.mk
WASPMOTE_PRO_BOOTLOADER ?= stk500v1
BOOTLOADER ?= $(WASPMOTE_PRO_BOOTLOADER)
# PROGRAMMER defaults to stk500v1 which is the internal flasher via USB
# using avrdude. Can be overridden for debugging (which requires changes
# that require to use an ISP)
PROGRAMMER ?= stk500v1
# configure programmer speed in baud
FFLAGS_EXTRA += -b 115200
# avoid error if mcu signature doesn't match
FFLAGS_EXTRA += -F
include $(RIOTMAKE)/tools/avrdude.inc.mk
include $(RIOTBOARD)/common/atmega/Makefile.include