initial commit

Revision:
48:5731f1aa2c5a
Parent:
45:f5f553b8c0d5
Child:
55:215da406282b
diff -r 5b42b9f9d1eb -r 5731f1aa2c5a common/platform.h
--- a/common/platform.h	Thu Feb 06 00:29:29 2020 +0000
+++ b/common/platform.h	Thu Feb 06 11:01:37 2020 +0000
@@ -54,6 +54,7 @@
 #    define PLATFORM_SPI_MISO           D12
 #    define PLATFORM_SPI_SCK            D13
 #    define PLATFORM_SPI_CS             D10
+#    define PLATFORM_SPI_WAKEUP         D8
 #    define PLATFORM_GPIO_RESET         D6
 #    define PLATFORM_GPIO_ALERT_ERROR   D3
 #    define PLATFORM_GPIO_DATAREADY     D4
@@ -81,6 +82,7 @@
             .misoPin    = PLATFORM_SPI_MISO,        \
             .sckPin     = PLATFORM_SPI_SCK,         \
             .csPin      = PLATFORM_SPI_CS,          \
+            .wakeupPin  = PLATFORM_SPI_WAKEUP,       \
             .maxSpeedHz = 1000000,                  \
         },                                          \
         .gpio = {                                   \