From: kusy Date: Tue, 27 May 2008 17:48:16 +0000 (+0000) Subject: using SPIPIO version of radio stack X-Git-Tag: release_tinyos_2_1_0_0~369 X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=commitdiff_plain;h=1d0eeea73c3c0636685b775eebe82888751d1df2;p=tinyos-2.x.git using SPIPIO version of radio stack --- diff --git a/tos/platforms/intelmote2/chips/cc2420/IM2CC2420SpiP.nc b/tos/platforms/intelmote2/chips/cc2420/IM2CC2420SpiP.nc index 7cf3ca66..a75d3acb 100644 --- a/tos/platforms/intelmote2/chips/cc2420/IM2CC2420SpiP.nc +++ b/tos/platforms/intelmote2/chips/cc2420/IM2CC2420SpiP.nc @@ -46,8 +46,8 @@ implementation { components new SimpleFcfsArbiterC("CC2420SpiClient") as FcfsArbiterC; - components new HalPXA27xSpiDMAC(1,0x7,FALSE) as HalPXA27xSpiM; // 6.5 Mbps, 8bit width - //components new HalPXA27xSpiPioC(1,0x7,FALSE) as HalPXA27xSpiM; // 6.5 Mbps, 8bit width + //components new HalPXA27xSpiDMAC(1,0x7,FALSE) as HalPXA27xSpiM; // 6.5 Mbps, 8bit width + components new HalPXA27xSpiPioC(1,0x7,FALSE) as HalPXA27xSpiM; // 6.5 Mbps, 8bit width components IM2CC2420InitSpiP; components HplPXA27xSSP3C; components HplPXA27xDMAC; @@ -65,10 +65,10 @@ implementation IM2CC2420InitSpiP.TXD -> HplPXA27xGPIOC.HplPXA27xGPIOPin[SSP3_TXD]; IM2CC2420InitSpiP.RXD -> HplPXA27xGPIOC.HplPXA27xGPIOPin[SSP3_RXD]; - HalPXA27xSpiM.RxDMA -> HplPXA27xDMAC.HplPXA27xDMAChnl[0]; - HalPXA27xSpiM.TxDMA -> HplPXA27xDMAC.HplPXA27xDMAChnl[1]; - HalPXA27xSpiM.SSPRxDMAInfo -> HplPXA27xSSP3C.SSPRxDMAInfo; - HalPXA27xSpiM.SSPTxDMAInfo -> HplPXA27xSSP3C.SSPTxDMAInfo; + //HalPXA27xSpiM.RxDMA -> HplPXA27xDMAC.HplPXA27xDMAChnl[0]; + //HalPXA27xSpiM.TxDMA -> HplPXA27xDMAC.HplPXA27xDMAChnl[1]; + //HalPXA27xSpiM.SSPRxDMAInfo -> HplPXA27xSSP3C.SSPRxDMAInfo; + //HalPXA27xSpiM.SSPTxDMAInfo -> HplPXA27xSSP3C.SSPTxDMAInfo; HalPXA27xSpiM.SSP -> HplPXA27xSSP3C.HplPXA27xSSP;