From 103ffde025f7d4faf7cfddab581fcac7b883595f Mon Sep 17 00:00:00 2001 From: Jm Casler Date: Sat, 20 Mar 2021 20:47:48 -0700 Subject: [PATCH] Fixes for build of tlora_v1_3 --- platformio.ini | 7 +++++++ src/configuration.h | 4 +--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/platformio.ini b/platformio.ini index f2142b8e4..519da9c31 100644 --- a/platformio.ini +++ b/platformio.ini @@ -13,6 +13,7 @@ default_envs = tbeam ;default_envs = tbeam0.7 ;default_envs = heltec ;default_envs = tlora-v1 +;default_envs = tlora_v1_3 ;default_envs = tlora-v2 ;default_envs = lora-relay-v1 # nrf board ;default_envs = eink @@ -158,6 +159,12 @@ build_flags = ${esp32_base.build_flags} -D TLORA_V1 ; note: the platformio definition for lora32-v2 seems stale, it is missing a pins_arduino.h file, therefore I don't think it works +[env:tlora_v1_3] +extends = esp32_base +board = ttgo-lora32-v1 +build_flags = + ${esp32_base.build_flags} -D TLORA_V1_3 + [env:tlora-v2] extends = esp32_base board = ttgo-lora32-v1 diff --git a/src/configuration.h b/src/configuration.h index 3d4fb652d..0299b8fed 100644 --- a/src/configuration.h +++ b/src/configuration.h @@ -311,7 +311,7 @@ along with this program. If not, see . #elif defined(TLORA_V1_3) // This string must exactly match the case used in release file names or the android updater won't work -#define HW_VENDOR HardwareModel_TLORA_V1p3 +#define HW_VENDOR HardwareModel_TLORA_V1_1p3 #undef GPS_RX_PIN #undef GPS_TX_PIN @@ -459,8 +459,6 @@ along with this program. If not, see . #define DEBUG_PORT console // Serial debug port - - // What platforms should use SEGGER? #ifdef NRF52_SERIES