boards/derfmega*: Refactor avrdude conf
This commit is contained in:
parent
f5d9f29b57
commit
e042bb43e1
@ -5,18 +5,6 @@ PORT_LINUX ?= /dev/ttyUSB0
|
|||||||
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.usbmodem*)))
|
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.usbmodem*)))
|
||||||
# refine serial port information for pyterm
|
# refine serial port information for pyterm
|
||||||
BAUD ?= 115200
|
BAUD ?= 115200
|
||||||
include $(RIOTMAKE)/tools/serial.inc.mk
|
BOOTLOADER ?= derfmega
|
||||||
|
|
||||||
# PROGRAMMER defaults to wiring which is the internal flasher via USB
|
|
||||||
# using avrdude. Can be overridden for debugging (which requires changes
|
|
||||||
# that require to use an ISP)
|
|
||||||
PROGRAMMER ?= wiring
|
|
||||||
# Serial Baud rate for flasher is configured to 500kBaud
|
|
||||||
# see /usr/include/asm-generic/termbits.h for availabel baudrates on your linux system
|
|
||||||
|
|
||||||
# From current fuse configuration
|
|
||||||
BOOTLOADER_SIZE ?= 4K
|
|
||||||
ROM_RESERVED ?= $(BOOTLOADER_SIZE)
|
|
||||||
|
|
||||||
include $(RIOTMAKE)/tools/avrdude.inc.mk
|
|
||||||
include $(RIOTBOARD)/common/atmega/Makefile.include
|
include $(RIOTBOARD)/common/atmega/Makefile.include
|
||||||
|
|||||||
@ -5,18 +5,6 @@ PORT_LINUX ?= /dev/ttyUSB0
|
|||||||
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.usbmodem*)))
|
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.usbmodem*)))
|
||||||
# refine serial port information for pyterm
|
# refine serial port information for pyterm
|
||||||
BAUD ?= 115200
|
BAUD ?= 115200
|
||||||
include $(RIOTMAKE)/tools/serial.inc.mk
|
BOOTLOADER ?= derfmega
|
||||||
|
|
||||||
# PROGRAMMER defaults to wiring which is the internal flasher via USB
|
|
||||||
# using avrdude. Can be overridden for debugging (which requires changes
|
|
||||||
# that require to use an ISP)
|
|
||||||
PROGRAMMER ?= wiring
|
|
||||||
# Serial Baud rate for flasher is configured to 500kBaud
|
|
||||||
# see /usr/include/asm-generic/termbits.h for availabel baudrates on your linux system
|
|
||||||
|
|
||||||
# From current fuse configuration
|
|
||||||
BOOTLOADER_SIZE ?= 4K
|
|
||||||
ROM_RESERVED ?= $(BOOTLOADER_SIZE)
|
|
||||||
|
|
||||||
include $(RIOTMAKE)/tools/avrdude.inc.mk
|
|
||||||
include $(RIOTBOARD)/common/atmega/Makefile.include
|
include $(RIOTBOARD)/common/atmega/Makefile.include
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user