Fork to see if I can get working
Dependencies: BufferedSerial OneWire WinbondSPIFlash libxDot-dev-mbed5-deprecated
Fork of xDotBridge_update_test20180823 by
Revision 74:dc969906f1f7, committed 2017-05-04
- Comitter:
- Matt Briggs
- Date:
- Thu May 04 11:32:24 2017 -0600
- Parent:
- 73:dc5adf462660
- Child:
- 75:600cb3a9f126
- Commit message:
- Fixed Floating LED and added v1_0 bin file
Changed in this revision
--- a/xDotBridge/src/BaseboardIO.cpp Mon Apr 10 16:06:31 2017 -0600
+++ b/xDotBridge/src/BaseboardIO.cpp Thu May 04 11:32:24 2017 -0600
@@ -585,13 +585,18 @@
GPIO_InitStruct.Pull = GPIO_NOPULL;
HAL_GPIO_Init(GPIOB, &GPIO_InitStruct);
}
- if ((CCInPinName != GPIO3 && TamperPinName != GPIO3 && PairBtnPinName != GPIO3)
- || dot->getWakeMode() == mDot::RTC_ALARM) {
- GPIO_InitStruct.Pin = GPIO_PIN_2;
- GPIO_InitStruct.Mode = GPIO_MODE_ANALOG;
- GPIO_InitStruct.Pull = GPIO_NOPULL;
- HAL_GPIO_Init(GPIOB, &GPIO_InitStruct);
- }
+ // Changed to always do pull down for now.. Should implement discrete pull on new rev
+// if ((CCInPinName != GPIO3 && TamperPinName != GPIO3 && PairBtnPinName != GPIO3)
+// || dot->getWakeMode() == mDot::RTC_ALARM) {
+// GPIO_InitStruct.Pin = GPIO_PIN_2;
+// GPIO_InitStruct.Mode = GPIO_MODE_ANALOG;
+// GPIO_InitStruct.Pull = GPIO_NOPULL;
+// HAL_GPIO_Init(GPIOB, &GPIO_InitStruct);
+// }
+
+ // 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;
Binary file xDotBridge_v1_0_20170504_fixLED.bin has changed
