From c27d479a9f3cf853f02a247b99e0fc6b29f9c183 Mon Sep 17 00:00:00 2001 From: Kevin Hester Date: Thu, 29 Apr 2021 09:51:10 +0800 Subject: [PATCH] t-echo: add hwmodel --- src/configuration.h | 4 ++++ variants/t-echo/variant.h | 2 ++ 2 files changed, 6 insertions(+) diff --git a/src/configuration.h b/src/configuration.h index 6a72a286f..b3d762825 100644 --- a/src/configuration.h +++ b/src/configuration.h @@ -413,6 +413,10 @@ along with this program. If not, see . #define HW_VENDOR HardwareModel_RAK4631 +#elif defined(TTGO_T_ECHO) + +#define HW_VENDOR HardwareModel_T_ECHO + #elif NRF52_SERIES #define HW_VENDOR HardwareModel_NRF52_UNKNOWN diff --git a/variants/t-echo/variant.h b/variants/t-echo/variant.h index 5aade0fc1..3e2317f73 100644 --- a/variants/t-echo/variant.h +++ b/variants/t-echo/variant.h @@ -92,6 +92,8 @@ Note: Turning off EINK PWR_ON produces no noticeable power savings over just put extern "C" { #endif // __cplusplus +#define TTGO_T_ECHO + // Number of pins defined in PinDescription array #define PINS_COUNT (48) #define NUM_DIGITAL_PINS (48)