From: jgko Date: Fri, 4 Dec 2009 23:17:35 +0000 (+0000) Subject: changes to cc2420 TestSecurity app file for imote2s X-Git-Tag: rc_6_tinyos_2_1_1~110 X-Git-Url: https://oss.titaniummirror.com/gitweb/?p=tinyos-2.x.git;a=commitdiff_plain;h=f8192249f3f9caa3e6b8e19ecd9f4d6a0c44ac03 changes to cc2420 TestSecurity app file for imote2s --- diff --git a/apps/tests/cc2420/TestSecurity/BaseStation/Makefile b/apps/tests/cc2420/TestSecurity/BaseStation/Makefile index e9ced69c..0015d833 100644 --- a/apps/tests/cc2420/TestSecurity/BaseStation/Makefile +++ b/apps/tests/cc2420/TestSecurity/BaseStation/Makefile @@ -4,6 +4,5 @@ CFLAGS += -DCC2420_NO_ADDRESS_RECOGNITION CFLAGS += -DCC2420_HW_SECURITY CFLAGS += -DTOSH_DATA_LENGTH=115 CFLAGS += -DTASKLET_IS_TASK - include $(MAKERULES) diff --git a/apps/tests/cc2420/TestSecurity/RadioCountToLeds1/Makefile b/apps/tests/cc2420/TestSecurity/RadioCountToLeds1/Makefile index e7c53eba..710ea3d4 100644 --- a/apps/tests/cc2420/TestSecurity/RadioCountToLeds1/Makefile +++ b/apps/tests/cc2420/TestSecurity/RadioCountToLeds1/Makefile @@ -4,5 +4,5 @@ CFLAGS+=-DCC2420_HW_SECURITY #CFLAGS+=-DCC2420_DEF_CHANNEL=25 CFLAGS+=-DPACKET_LINK CFLAGS+=-DTOSH_DATA_LENGTH=115 -CFLAGS+=-I%T/lib/printf +#CFLAGS+=-I%T/lib/printf include $(MAKERULES) diff --git a/apps/tests/cc2420/TestSecurity/RadioCountToLeds1/RadioCountToLedsC.nc b/apps/tests/cc2420/TestSecurity/RadioCountToLeds1/RadioCountToLedsC.nc index 91a70b39..fb6f2911 100644 --- a/apps/tests/cc2420/TestSecurity/RadioCountToLeds1/RadioCountToLedsC.nc +++ b/apps/tests/cc2420/TestSecurity/RadioCountToLeds1/RadioCountToLedsC.nc @@ -124,8 +124,8 @@ implementation { if (len != sizeof(radio_count_msg_t)) {return bufPtr;} else { radio_count_msg_t* rcm = (radio_count_msg_t*)payload; - printf("counter: %d len: %d\n",rcm->counter, len); - printfflush(); + //printf("counter: %d len: %d\n",rcm->counter, len); + //printfflush(); if (rcm->counter & 0x1) { call Leds.led0On(); }