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

mega-xplained: configure BOOTLOADER_SIZE

Value found by checking fuse settings
This commit is contained in:
cladmi 2018-08-16 19:15:05 +02:00
parent f59c1c5c2d
commit 109467d881
No known key found for this signature in database
GPG Key ID: 76DF6BCF1B1F883B

View File

@ -1,6 +1,11 @@
# define the cpu used by the Mega Xplained board
export CPU = atmega1284p
# Found by checking fuse settings (2048 words so 4KB)
# https://www.microchip.com/DevelopmentTools/ProductDetails/atmega1284p-xpld
BOOTLOADER_SIZE ?= 4K
ROM_RESERVED ?= $(BOOTLOADER_SIZE)
# configure the terminal program
export PORT_LINUX ?= /dev/ttyACM0
export PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.usbserial*)))