Fork to see if I can get working

Dependencies:   BufferedSerial OneWire WinbondSPIFlash libxDot-dev-mbed5-deprecated

Fork of xDotBridge_update_test20180823 by Matt Briggs

Revision:
75:600cb3a9f126
Parent:
74:dc969906f1f7
Child:
98:3609f600c2f5
--- a/xDotBridge/src/BaseboardIO.cpp	Thu May 04 11:32:24 2017 -0600
+++ b/xDotBridge/src/BaseboardIO.cpp	Wed May 10 13:54:25 2017 -0600
@@ -6,7 +6,7 @@
  */
 
 #include "BaseboardIO.h"
-#include "dot_util.h" // FIXME just need the reference to dot somehow
+#include "dot_util.h" // XXX just need the reference to dot somehow
 #include "xdot_low_power.h"
 #include "MyLog.h"
 
@@ -597,13 +597,14 @@
     // Try doing nothing so that the GPIO3 is still and active output
 
 
-    if ((CCInPinName != UART1_RX && TamperPinName != UART1_RX && PairBtnPinName != UART1_RX)
-            || dot->getWakeMode() == mDot::RTC_ALARM) {
-        GPIO_InitStruct.Pin = GPIO_PIN_10;
-        GPIO_InitStruct.Mode = GPIO_MODE_ANALOG;
-        GPIO_InitStruct.Pull = GPIO_NOPULL;
-        HAL_GPIO_Init(GPIOA, &GPIO_InitStruct);
-    }
+    // Cannot do this and have serial data
+//    if ((CCInPinName != UART1_RX && TamperPinName != UART1_RX && PairBtnPinName != UART1_RX)
+//            || dot->getWakeMode() == mDot::RTC_ALARM) {
+//        GPIO_InitStruct.Pin = GPIO_PIN_10;
+//        GPIO_InitStruct.Mode = GPIO_MODE_ANALOG;
+//        GPIO_InitStruct.Pull = GPIO_NOPULL;
+//        HAL_GPIO_Init(GPIOA, &GPIO_InitStruct);
+//    }
     if ((CCInPinName != UART_CTS && TamperPinName != UART_CTS && PairBtnPinName != UART_CTS)
             || dot->getWakeMode() == mDot::RTC_ALARM) {
         GPIO_InitStruct.Pin = GPIO_PIN_11;