Merge pull request #1463 from MichaelKlemm/FixUsingAtmega128RFA1

Fixed using target AVR ATmega128RFA1
This commit is contained in:
Nicolas Tsiftes 2016-04-21 14:30:35 +02:00
commit 6ae1b4ab66
2 changed files with 3 additions and 3 deletions

View file

@ -9,7 +9,7 @@ CONTIKI_TARGET_SOURCEFILES += button-sensor.c sensors.c slip_uart0.c slip.c
CONTIKIAVR=$(CONTIKI)/cpu/avr CONTIKIAVR=$(CONTIKI)/cpu/avr
CONTIKIBOARD=. CONTIKIBOARD=.
CONTIKI_PLAT_DEFS = -DF_CPU=8000000UL -DAUTO_CRC_PADDING=2 CONTIKI_PLAT_DEFS = -DF_CPU=16000000UL -DAUTO_CRC_PADDING=2
MCU=atmega128rfa1 MCU=atmega128rfa1
@ -31,4 +31,4 @@ AVRDUDE_MCU=m128rfa1
include $(CONTIKIAVR)/Makefile.avr include $(CONTIKIAVR)/Makefile.avr
include $(CONTIKIAVR)/radio/Makefile.radio include $(CONTIKIAVR)/radio/Makefile.radio
MODULES += core/net/mac core/net core/net/mac/sicslowmac core/net/mac/contikimac MODULES += core/net/mac core/net core/net/mac/sicslowmac core/net/mac/contikimac core/net/llsec

View file

@ -45,7 +45,7 @@
#define PLATFORM_NAME "RFA1" #define PLATFORM_NAME "RFA1"
#define PLATFORM_TYPE ATMEGA128RFA1 #define PLATFORM_TYPE ATMEGA128RFA1
#ifndef F_CPU #ifndef F_CPU
#define F_CPU 8000000UL #define F_CPU 16000000UL
#endif #endif
#include <stdint.h> #include <stdint.h>