components
new Alarm32khz16C() as RxByteTimer,
Uart4b6bPhyP,
- // PlatformLedsC,
MainC;
MainC.SoftwareInit -> Uart4b6bPhyP;
UartPhyControl = Uart4b6bPhyP;
Uart4b6bPhyP.RxByteTimer -> RxByteTimer;
-// PlatformLedsC.Led3 <- Uart4b6bPhyP.Led3;
-// PlatformLedsC.Led1 <- Uart4b6bPhyP.Led1;
+
+#ifdef UART_DEBUG
+ components new SerialDebugC() as SD;
+ Uart4b6bPhyP.SerialDebug -> SD;
+#endif
+
}