X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=tos%2Fplatforms%2Fintelmote2%2Fchips%2Fcc2420%2FIM2CC2420SpiP.nc;h=7cf3ca661c692d5fe97d1985dc1ab10ad24f0dc0;hb=1a329382c4f4556fd52d85f4e3f4a67e54911682;hp=7787169a7efa8db350e99e622e14be74606d6ae6;hpb=1ba974b83d19fc41bf80acd52726f36f7f1df297;p=tinyos-2.x.git diff --git a/tos/platforms/intelmote2/chips/cc2420/IM2CC2420SpiP.nc b/tos/platforms/intelmote2/chips/cc2420/IM2CC2420SpiP.nc index 7787169a..7cf3ca66 100644 --- a/tos/platforms/intelmote2/chips/cc2420/IM2CC2420SpiP.nc +++ b/tos/platforms/intelmote2/chips/cc2420/IM2CC2420SpiP.nc @@ -45,9 +45,9 @@ configuration IM2CC2420SpiP implementation { - components new FcfsArbiterC("CC2420SpiClient"); - components new HalPXA27xSpiDMAM(0,1,0x7,FALSE) as HalPXA27xSpiM; // 6.5 Mbps, 8bit width - //components new HalPXA27xSpiPioM(0,1,0x7,FALSE) as HalPXA27xSpiM; // SPI, 6.5 Mbps, 8bit width, noRWOT + 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 IM2CC2420InitSpiP; components HplPXA27xSSP3C; components HplPXA27xDMAC; @@ -55,7 +55,6 @@ implementation components PlatformP; Init = IM2CC2420InitSpiP; - Init = FcfsArbiterC.Init; Init = HalPXA27xSpiM.Init; SpiByte = HalPXA27xSpiM;