forked from RIOT-OS/RIOT
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
boards/waspmote-pro: Refactor avrdude conf
- Loading branch information
Showing
1 changed file
with
2 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 | ||
|
||
# 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 | ||
WASPMOTE_PRO_BOOTLOADER ?= stk500v1 | ||
BOOTLOADER ?= $(WASPMOTE_PRO_BOOTLOADER) | ||
|
||
include $(RIOTMAKE)/tools/avrdude.inc.mk | ||
include $(RIOTBOARD)/common/atmega/Makefile.include |