Add a bunch of APNs

Fork of C027_Support by Xinlei Cao

Revision:
19:2b5d097ca15d
Parent:
18:e5697801df29
Child:
35:9275215a3a5b
diff -r e5697801df29 -r 2b5d097ca15d SerialPipe.cpp
--- a/SerialPipe.cpp	Fri Mar 14 13:07:48 2014 +0000
+++ b/SerialPipe.cpp	Mon Mar 24 07:38:05 2014 +0000
@@ -9,6 +9,8 @@
     attach(this, &SerialPipe::txIrqBuf, TxIrq);
 }
 
+
+#if DEVICE_SERIAL_FC
 SerialPipe::SerialPipe(PinName tx, PinName rx, PinName rts, PinName cts, 
     int rxSize, int txSize) 
     : _SerialPipeBase(tx,rx), _pipeRx(rxSize), _pipeTx(txSize)
@@ -18,6 +20,7 @@
     
     set_flow_control(RTSCTS, rts, cts);
 }
+#endif
 
 SerialPipe::~SerialPipe(void)
 {