[Tinyos-2-commits] CVS: tinyos-2.x/tos/platforms/eyesIFX
ActiveMessageC.nc, 1.1.2.6, 1.1.2.6.2.1 eyesIFXSerialP.nc,
1.1.2.1.8.1, 1.1.2.1.8.2 .family, 1.1.2.4,
1.1.2.4.2.1 RadioDataLinkC.nc, 1.1.2.6,
1.1.2.6.2.1 Msp430Timer32khzMapC.nc, 1.1.2.1, NONE
Philipp Huppertz
phihup at users.sourceforge.net
Thu Oct 5 01:25:46 PDT 2006
- Previous message: [Tinyos-2-commits] CVS: tinyos-2.x/tos/chips/tda5250
Tda5250RadioP.nc, 1.1.2.7.4.1, 1.1.2.7.4.2
- Next message: [Tinyos-2-commits] CVS: tinyos-2.x/tos/chips/msp430/usart
HplMsp430I2C0C.nc, NONE, 1.1.4.2 HplMsp430I2C0P.nc, NONE,
1.1.4.2 HplMsp430I2CInterrupts.nc, NONE,
1.1.4.2 HplMsp430I2C.nc, NONE, 1.1.4.2 Msp430I2C0P.nc, NONE,
1.1.4.2 Msp430I2CC.nc, NONE, 1.1.4.2 Msp430I2CConfigure.nc,
NONE, 1.1.4.2 Msp430I2CP.nc, NONE, 1.1.4.2 HplMsp430Usart0C.nc,
1.1.2.5.4.2, 1.1.2.5.4.3 HplMsp430Usart0P.nc, 1.1.2.5.4.2,
1.1.2.5.4.3 HplMsp430Usart1C.nc, 1.1.2.6.4.2,
1.1.2.6.4.3 HplMsp430Usart1P.nc, 1.1.2.4.4.2,
1.1.2.4.4.3 HplMsp430UsartInterrupts.nc, 1.1.2.1.4.2,
1.1.2.1.4.3 HplMsp430Usart.nc, 1.1.2.4.4.2,
1.1.2.4.4.3 Msp430Spi0C.nc, 1.1.2.7.4.2,
1.1.2.7.4.3 Msp430Spi1C.nc, 1.1.2.2,
1.1.2.3 Msp430SpiConfigure.nc, 1.1.2.2,
1.1.2.3 Msp430SpiDma0P.nc, 1.1.2.2.4.1,
1.1.2.2.4.2 Msp430SpiDma1P.nc, 1.1.2.1,
1.1.2.2 Msp430SpiDmaP.nc, 1.1.2.1.4.2,
1.1.2.1.4.3 Msp430SpiNoDma0P.nc, 1.1.2.2.4.1,
1.1.2.2.4.2 Msp430SpiNoDma1P.nc, 1.1.2.1,
1.1.2.2 Msp430SpiNoDmaP.nc, 1.1.2.1.4.2,
1.1.2.1.4.3 Msp430Uart0C.nc, 1.1.2.2, 1.1.2.3 Msp430Uart0P.nc,
1.1.2.2, 1.1.2.3 Msp430Uart1C.nc, 1.1.2.7.4.2,
1.1.2.7.4.3 Msp430Uart1P.nc, 1.1.2.2,
1.1.2.3 Msp430UartConfigure.nc, 1.1.2.2,
1.1.2.3 Msp430UartP.nc, 1.1.2.7.4.2,
1.1.2.7.4.3 Msp430Usart0C.nc, 1.1.2.2.4.1,
1.1.2.2.4.2 Msp430Usart1C.nc, 1.1.2.1, 1.1.2.2 msp430usart.h,
1.1.2.1.10.2, 1.1.2.1.10.3 Msp430UsartShare0P.nc, 1.1.2.2.4.1,
1.1.2.2.4.2 Msp430UsartShare1P.nc, 1.1.2.1,
1.1.2.2 Msp430UsartShareP.nc, 1.1.2.1, 1.1.2.1.4.1 Uart1C.nc,
1.1.2.3, 1.1.2.3.8.1 Msp430UartControl.nc, 1.1.2.1, NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/tinyos/tinyos-2.x/tos/platforms/eyesIFX
In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv23959/tos/platforms/eyesIFX
Modified Files:
Tag: tos-2-msp430-usart-configure-candidate
ActiveMessageC.nc eyesIFXSerialP.nc .family RadioDataLinkC.nc
Removed Files:
Tag: tos-2-msp430-usart-configure-candidate
Msp430Timer32khzMapC.nc
Log Message:
- optimized version of usart configure using unions
Index: ActiveMessageC.nc
===================================================================
RCS file: /cvsroot/tinyos/tinyos-2.x/tos/platforms/eyesIFX/ActiveMessageC.nc,v
retrieving revision 1.1.2.6
retrieving revision 1.1.2.6.2.1
diff -C2 -d -r1.1.2.6 -r1.1.2.6.2.1
*** ActiveMessageC.nc 27 May 2006 21:23:15 -0000 1.1.2.6
--- ActiveMessageC.nc 5 Oct 2006 08:25:44 -0000 1.1.2.6.2.1
***************
*** 61,70 ****
}
implementation {
components Tda5250ActiveMessageC as AM;
SplitControl = AM;
- AMSend = AM;
- Receive = AM.Receive;
- Snoop = AM.Snoop;
Packet = AM;
AMPacket = AM;
--- 61,76 ----
}
implementation {
+ components ActiveMessageFilterC as Filter;
components Tda5250ActiveMessageC as AM;
+
+ AMSend = Filter;
+ Receive = Filter.Receive;
+ Snoop = Filter.Snoop;
+
+ Filter.SubAMSend -> AM;
+ Filter.SubReceive -> AM.Receive;
+ Filter.SubSnoop -> AM.Snoop;
SplitControl = AM;
Packet = AM;
AMPacket = AM;
Index: eyesIFXSerialP.nc
===================================================================
RCS file: /cvsroot/tinyos/tinyos-2.x/tos/platforms/eyesIFX/eyesIFXSerialP.nc,v
retrieving revision 1.1.2.1.8.1
retrieving revision 1.1.2.1.8.2
diff -C2 -d -r1.1.2.1.8.1 -r1.1.2.1.8.2
*** eyesIFXSerialP.nc 15 Jun 2006 19:31:29 -0000 1.1.2.1.8.1
--- eyesIFXSerialP.nc 5 Oct 2006 08:25:44 -0000 1.1.2.1.8.2
***************
*** 4,10 ****
uses interface Resource;
}
! implementation {
!
! msp430_uart_config_t msp430_uart_telos_config = {ubr: UBR_1MHZ_115200, umctl: UMCTL_1MHZ_115200, ssel: 0x02, pena: 0, pev: 0, spb: 0, clen: 1, listen: 0, mm: 0, ckpl: 0, urxse: 0, urxeie: 1, urxwie: 0};
command error_t StdControl.start(){
--- 4,11 ----
uses interface Resource;
}
! implementation {
! // when the tda5250 is in receive mode we get problems with 115200 baud
! // on the serial line ...
! msp430_uart_union_config_t msp430_uart_eyes_config = { {ubr: UBR_1MHZ_57600, umctl: UMCTL_1MHZ_57600, ssel: 0x02, pena: 0, pev: 0, spb: 0, clen: 1, listen: 0, mm: 0, ckpl: 0, urxse: 0, urxeie: 1, urxwie: 0, urxe: 1, utxe: 1} };
command error_t StdControl.start(){
***************
*** 17,22 ****
event void Resource.granted(){}
! async command msp430_uart_config_t Msp430UartConfigure.getConfig() {
! return msp430_uart_telos_config;
}
}
--- 18,23 ----
event void Resource.granted(){}
! async command msp430_uart_union_config_t* Msp430UartConfigure.getConfig() {
! return &msp430_uart_eyes_config;
}
}
Index: .family
===================================================================
RCS file: /cvsroot/tinyos/tinyos-2.x/tos/platforms/eyesIFX/.family,v
retrieving revision 1.1.2.4
retrieving revision 1.1.2.4.2.1
diff -C2 -d -r1.1.2.4 -r1.1.2.4.2.1
*** .family 31 May 2006 13:53:03 -0000 1.1.2.4
--- .family 5 Oct 2006 08:25:44 -0000 1.1.2.4.2.1
***************
*** 6,13 ****
push( @includes, qw(
!
%T/platforms/eyesIFX
%T/platforms/eyesIFX/chips/tda5250
%T/platforms/eyesIFX/chips/ad5200
%T/platforms/eyesIFX/sensors
%T/platforms/eyesIFX/byte_radio
--- 6,14 ----
push( @includes, qw(
! # normal platform includes
%T/platforms/eyesIFX
%T/platforms/eyesIFX/chips/tda5250
%T/platforms/eyesIFX/chips/ad5200
+ %T/platforms/eyesIFX/chips/msp430
%T/platforms/eyesIFX/sensors
%T/platforms/eyesIFX/byte_radio
Index: RadioDataLinkC.nc
===================================================================
RCS file: /cvsroot/tinyos/tinyos-2.x/tos/platforms/eyesIFX/RadioDataLinkC.nc,v
retrieving revision 1.1.2.6
retrieving revision 1.1.2.6.2.1
diff -C2 -d -r1.1.2.6 -r1.1.2.6.2.1
*** RadioDataLinkC.nc 7 Jun 2006 19:54:53 -0000 1.1.2.6
--- RadioDataLinkC.nc 5 Oct 2006 08:25:44 -0000 1.1.2.6.2.1
***************
*** 50,57 ****
//Change components below as desired
Tda5250RadioC as Radio, //The actual Tda5250 radio over which data is receives/transmitted
! UartPhyC as UartPhy, //The UartPhy turns Bits into Bytes
PacketSerializerP as PacketSerializer, //The PacketSerializer turns Bytes into Packets
CsmaMacC as Mac, //The MAC protocol to use
- //SyncSampleMacC as Mac,
LinkLayerC as Llc; //The Link Layer Control module to use
--- 50,56 ----
//Change components below as desired
Tda5250RadioC as Radio, //The actual Tda5250 radio over which data is receives/transmitted
! UartManchPhyC as UartPhy, //The UartPhy turns Bits into Bytes
PacketSerializerP as PacketSerializer, //The PacketSerializer turns Bytes into Packets
CsmaMacC as Mac, //The MAC protocol to use
LinkLayerC as Llc; //The Link Layer Control module to use
***************
*** 69,77 ****
Receive = Llc.Receive;
PacketAcknowledgements = Llc;
! Packet = PacketSerializer;
Llc.SendDown->Mac.MacSend;
Llc.ReceiveLower->Mac.MacReceive;
! Llc.Packet->PacketSerializer.Packet;
Mac.PacketSend->PacketSerializer.PhySend;
--- 68,77 ----
Receive = Llc.Receive;
PacketAcknowledgements = Llc;
! Packet = Mac;
Llc.SendDown->Mac.MacSend;
Llc.ReceiveLower->Mac.MacReceive;
! Llc.Packet->Mac.Packet;
! Mac.SubPacket->PacketSerializer.Packet;
Mac.PacketSend->PacketSerializer.PhySend;
***************
*** 79,83 ****
Mac.Tda5250Control->Radio;
Mac.UartPhyControl -> UartPhy;
!
PacketSerializer.RadioByteComm -> UartPhy.SerializerRadioByteComm;
PacketSerializer.PhyPacketTx -> UartPhy.PhyPacketTx;
--- 79,84 ----
Mac.Tda5250Control->Radio;
Mac.UartPhyControl -> UartPhy;
!
! Mac.RadioTimeStamping -> PacketSerializer.RadioTimeStamping;
PacketSerializer.RadioByteComm -> UartPhy.SerializerRadioByteComm;
PacketSerializer.PhyPacketTx -> UartPhy.PhyPacketTx;
--- Msp430Timer32khzMapC.nc DELETED ---
- Previous message: [Tinyos-2-commits] CVS: tinyos-2.x/tos/chips/tda5250
Tda5250RadioP.nc, 1.1.2.7.4.1, 1.1.2.7.4.2
- Next message: [Tinyos-2-commits] CVS: tinyos-2.x/tos/chips/msp430/usart
HplMsp430I2C0C.nc, NONE, 1.1.4.2 HplMsp430I2C0P.nc, NONE,
1.1.4.2 HplMsp430I2CInterrupts.nc, NONE,
1.1.4.2 HplMsp430I2C.nc, NONE, 1.1.4.2 Msp430I2C0P.nc, NONE,
1.1.4.2 Msp430I2CC.nc, NONE, 1.1.4.2 Msp430I2CConfigure.nc,
NONE, 1.1.4.2 Msp430I2CP.nc, NONE, 1.1.4.2 HplMsp430Usart0C.nc,
1.1.2.5.4.2, 1.1.2.5.4.3 HplMsp430Usart0P.nc, 1.1.2.5.4.2,
1.1.2.5.4.3 HplMsp430Usart1C.nc, 1.1.2.6.4.2,
1.1.2.6.4.3 HplMsp430Usart1P.nc, 1.1.2.4.4.2,
1.1.2.4.4.3 HplMsp430UsartInterrupts.nc, 1.1.2.1.4.2,
1.1.2.1.4.3 HplMsp430Usart.nc, 1.1.2.4.4.2,
1.1.2.4.4.3 Msp430Spi0C.nc, 1.1.2.7.4.2,
1.1.2.7.4.3 Msp430Spi1C.nc, 1.1.2.2,
1.1.2.3 Msp430SpiConfigure.nc, 1.1.2.2,
1.1.2.3 Msp430SpiDma0P.nc, 1.1.2.2.4.1,
1.1.2.2.4.2 Msp430SpiDma1P.nc, 1.1.2.1,
1.1.2.2 Msp430SpiDmaP.nc, 1.1.2.1.4.2,
1.1.2.1.4.3 Msp430SpiNoDma0P.nc, 1.1.2.2.4.1,
1.1.2.2.4.2 Msp430SpiNoDma1P.nc, 1.1.2.1,
1.1.2.2 Msp430SpiNoDmaP.nc, 1.1.2.1.4.2,
1.1.2.1.4.3 Msp430Uart0C.nc, 1.1.2.2, 1.1.2.3 Msp430Uart0P.nc,
1.1.2.2, 1.1.2.3 Msp430Uart1C.nc, 1.1.2.7.4.2,
1.1.2.7.4.3 Msp430Uart1P.nc, 1.1.2.2,
1.1.2.3 Msp430UartConfigure.nc, 1.1.2.2,
1.1.2.3 Msp430UartP.nc, 1.1.2.7.4.2,
1.1.2.7.4.3 Msp430Usart0C.nc, 1.1.2.2.4.1,
1.1.2.2.4.2 Msp430Usart1C.nc, 1.1.2.1, 1.1.2.2 msp430usart.h,
1.1.2.1.10.2, 1.1.2.1.10.3 Msp430UsartShare0P.nc, 1.1.2.2.4.1,
1.1.2.2.4.2 Msp430UsartShare1P.nc, 1.1.2.1,
1.1.2.2 Msp430UsartShareP.nc, 1.1.2.1, 1.1.2.1.4.1 Uart1C.nc,
1.1.2.3, 1.1.2.3.8.1 Msp430UartControl.nc, 1.1.2.1, NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Tinyos-2-commits
mailing list