Update of /cvsroot/firebug/fireboard/fireboard/apps/TestADXL
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23099/TestADXL
Modified Files:
Makefile testadxlM.nc
Log Message:
Changed build to limit wiring to locally
defined components.
Index: Makefile
===================================================================
RCS file: /cvsroot/firebug/fireboard/fireboard/apps/TestADXL/Makefile,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** Makefile 5 Jan 2004 21:03:27 -0000 1.1.1.1
--- Makefile 3 Feb 2004 18:58:06 -0000 1.2
***************
*** 1,5 ****
- COMPONENT=testadxl
- SENSORBOARD=adxl202je
include ../Makelocal
include $(TOSROOT)/apps/Makerules
--- 1,10 ----
include ../Makelocal
+ FIREBOARD_PATH += -I$(MTS420CA)/sensors/adxl202je
+ LOCAL_PATH += $(FIREBOARD_PATH)
+
+ COMPONENT=testadxl
+
+ PFLAGS := $(LOCAL_PATH) $(LOCAL_DEFINES) $(PFLAGS)
+
include $(TOSROOT)/apps/Makerules
Index: testadxlM.nc
===================================================================
RCS file: /cvsroot/firebug/fireboard/fireboard/apps/TestADXL/testadxlM.nc,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** testadxlM.nc 5 Jan 2004 21:03:27 -0000 1.1.1.1
--- testadxlM.nc 3 Feb 2004 18:58:06 -0000 1.2
***************
*** 56,60 ****
! SODbg(DBG_USR2, "ADXL x: %i, y: %i.\n",(int)(msg->xdata),(int)(msg->ydata));
call Leds.greenToggle();
return SUCCESS;
--- 56,60 ----
! SODbg(DBG_USR2, "$ADXL x: %i, y: %i.\r\n",(int)(msg->xdata),(int)(msg->ydata));
call Leds.greenToggle();
return SUCCESS;
***************
*** 62,66 ****
}
! event result_t ADXL202JE.error(uint16_t) {
return SUCCESS;
}
--- 62,66 ----
}
! async event result_t ADXL202JE.error(uint16_t) {
return SUCCESS;
}
|