From: ayer1 Date: Fri, 4 Sep 2009 18:07:07 +0000 (+0000) Subject: changes reflect updates brought forward from really crufty sdp.nc; X-Git-Tag: rc_6_tinyos_2_1_1~308 X-Git-Url: https://oss.titaniummirror.com/gitweb/?p=tinyos-2.x.git;a=commitdiff_plain;h=bea4f0efd7805ffbd5060affb25da09669d1f16d changes reflect updates brought forward from really crufty sdp.nc; stdcontrol added back in, and revised spi bus usages (no tos-2 in old sdp!) are pulled in here. --- diff --git a/tos/platforms/shimmer/chips/sd/SDC.nc b/tos/platforms/shimmer/chips/sd/SDC.nc index c74f7b39..13626920 100644 --- a/tos/platforms/shimmer/chips/sd/SDC.nc +++ b/tos/platforms/shimmer/chips/sd/SDC.nc @@ -32,21 +32,25 @@ */ /** * @author Steve Ayer + * @date July 2006 + * @date July 2009 (reworked, updated to maintained version) * @author Konrad Lorincz * @date March 25, 2008 - ported to TOS 2.x */ -configuration SDC -{ - provides interface SD; +configuration SDC { + provides { + interface SD; + interface StdControl; + } } -implementation -{ - components MainC, SDP; - SDP -> MainC.Boot; - SD = SDP; +implementation { + components SDP, new Msp430Usart0C(), HplMsp430InterruptP, LedsC; + + SD = SDP; + StdControl = SDP; - components HplMsp430Usart0C; - SDP.HplMsp430Usart -> HplMsp430Usart0C; - SDP.HplMsp430UsartInterrupts -> HplMsp430Usart0C; + SDP.Usart -> Msp430Usart0C; + SDP.DockInterrupt -> HplMsp430InterruptP.Port25; + SDP.Leds -> LedsC; }