From dab63c4c6b2eabf43db28ad0b2620298e09fbc32 Mon Sep 17 00:00:00 2001 From: adamdunkels Date: Tue, 22 May 2007 21:16:37 +0000 Subject: [PATCH] Added energy estimation, leds instead of minileds to be able to do energy estimation on leds --- platform/sky/Makefile.sky | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/platform/sky/Makefile.sky b/platform/sky/Makefile.sky index 78f742f8e..68d1d1e7f 100644 --- a/platform/sky/Makefile.sky +++ b/platform/sky/Makefile.sky @@ -1,7 +1,7 @@ -# $Id: Makefile.sky,v 1.7 2007/05/15 08:11:59 adamdunkels Exp $ +# $Id: Makefile.sky,v 1.8 2007/05/22 21:16:37 adamdunkels Exp $ -ARCH=msp430.c minileds.c watchdog.c light.c button.c spi.c ds2411.c \ +ARCH=msp430.c leds.c watchdog.c light.c button.c spi.c ds2411.c \ rom.c xmem.c i2c.c sht11.c \ simple-cc2420.c cc2420_uart0.c irq.c energest-arch.c \ node-id.c sensors.c button-sensor.c cfs-xmem.c \ @@ -13,6 +13,8 @@ ifndef CONTIKI_TARGET_MAIN CONTIKI_TARGET_MAIN = contiki-sky-main.c endif +CFLAGS += -DENERGEST_CONF_ON=1 + CONTIKI_TARGET_SOURCEFILES += $(ARCH) $(UIPDRIVERS) $(CONTIKI_TARGET_MAIN) MCU=msp430x1611