2018-08-16 19:15:05 +02:00
|
|
|
# Found by checking fuse settings (2048 words so 4KB)
|
|
|
|
# https://www.microchip.com/DevelopmentTools/ProductDetails/atmega1284p-xpld
|
2021-01-29 15:27:40 +01:00
|
|
|
ATMEGA_BOOTLOADER_SIZE ?= 4K
|
2018-08-16 19:15:05 +02:00
|
|
|
|
2020-11-19 18:38:41 +01:00
|
|
|
# Avrdude programmer defaults to the external flasher Bus Pirate ISP.
|
|
|
|
AVRDUDE_PROGRAMMER ?= buspirate
|
2018-05-15 02:31:33 +02:00
|
|
|
# set serial port for avrdude with buspirate
|
|
|
|
ifeq ($(OS),Linux)
|
2019-10-15 14:16:44 +02:00
|
|
|
PROG_DEV ?= /dev/ttyUSB0
|
2018-05-15 02:31:33 +02:00
|
|
|
else ifeq ($(OS),Darwin)
|
2019-10-15 14:16:44 +02:00
|
|
|
PROG_DEV ?= $(firstword $(sort $(wildcard /dev/tty.usbserial*)))
|
2018-05-15 02:31:33 +02:00
|
|
|
endif
|
2018-03-24 03:23:29 +01:00
|
|
|
|
2019-10-15 14:16:44 +02:00
|
|
|
# configure the terminal program
|
|
|
|
BAUD ?= 9600
|
|
|
|
|
2019-02-17 14:05:48 +01:00
|
|
|
include $(RIOTBOARD)/common/atmega/Makefile.include
|