From bfdae2a7a799fa7aa376f30442aae624a97c4db8 Mon Sep 17 00:00:00 2001 From: Harald Pichler Date: Wed, 16 Aug 2017 16:13:34 +0200 Subject: [PATCH] bugfix compile example settings-example --- platform/osd-merkur-256/contiki-conf.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/platform/osd-merkur-256/contiki-conf.h b/platform/osd-merkur-256/contiki-conf.h index db09f3cac..dbd6a3230 100644 --- a/platform/osd-merkur-256/contiki-conf.h +++ b/platform/osd-merkur-256/contiki-conf.h @@ -49,6 +49,12 @@ #define F_CPU 16000000UL #endif +#include + +/* Skip the last four bytes of the EEPROM, to leave room for things + * like the avrdude erase count and bootloader signaling. */ +#define EEPROM_CONF_SIZE ((E2END + 1) - 4) + #include #define IEEE802154_CONF_PANID 0xABCD // default panid