mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-10-31 18:04:31 +00:00
Merge pull request #1463 from MichaelKlemm/FixUsingAtmega128RFA1
Fixed using target AVR ATmega128RFA1
This commit is contained in:
commit
6ae1b4ab66
@ -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
|
||||||
|
@ -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>
|
||||||
|
Loading…
Reference in New Issue
Block a user