From ac28348acfc62e30a0a6fe35c7df43844867ea23 Mon Sep 17 00:00:00 2001 From: Klaus K Wilting Date: Sat, 19 Jan 2019 19:10:10 +0100 Subject: [PATCH] update generic.h --- src/hal/generic.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/hal/generic.h b/src/hal/generic.h index c4e6deb9..82481fd8 100644 --- a/src/hal/generic.h +++ b/src/hal/generic.h @@ -6,6 +6,7 @@ #include // Hardware related definitions for generic ESP32 boards +// generic.h is kitchensink with all available options #define HAS_LORA 1 // comment out if device shall not send data via LoRa or has no LoRa #define HAS_SPI 1 // comment out if device shall not send data via SPI @@ -47,6 +48,9 @@ #define MY_OLED_SCL (15) #define MY_OLED_RST (16) +// Pins for on board DS3231 RTC chip +#define HAS_RTC MY_OLED_SDA, MY_OLED_SCL // SDA, SCL + // Pins for LORA chip SPI interface, reset line and interrupt lines #define LORA_SCK (5) #define LORA_CS (18)