/*
- * Copyright (c) 2008, Titanium Mirror, Inc.
+ * Copyright (c) 2008-2010, Titanium Mirror, Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
*/
configuration PlatformSerialC {
- provides interface Resource;
+ provides interface StdControl;
provides interface UartStream;
provides interface UartByte;
}
implementation {
components new Msp430UartA1C() as UartC;
- Resource = UartC;
UartStream = UartC;
UartByte = UartC;
+ components PlatformSerialP;
+ StdControl = PlatformSerialP;
+ PlatformSerialP.Resource -> UartC;
+
#if 0 /* If you want to change the configuration... */
components SomeConfigurationComponentC as ConfigC;
UartC.AsyncConfigure -> ConfigC;