diff --git a/platformio.ini b/platformio.ini index 6c42ec407..2ba2ba5fa 100644 --- a/platformio.ini +++ b/platformio.ini @@ -9,7 +9,7 @@ ; https://docs.platformio.org/page/projectconf.html [platformio] -default_envs = lora-relay-v1 +default_envs = tbeam # or if you'd like to change the default to something like lora-relay-v1 put that here [common] ; common is not currently used diff --git a/variants/lora_relay_v1/variant.h b/variants/lora_relay_v1/variant.h index 763cac00f..f7ade9586 100644 --- a/variants/lora_relay_v1/variant.h +++ b/variants/lora_relay_v1/variant.h @@ -119,7 +119,9 @@ static const uint8_t SCK = PIN_SPI_SCK; // CUSTOM GPIOs the SX1262 #define SX1262_CS (32) -#define USE_SEGGER +// If you would prefer to get console debug output over the JTAG ICE connection rather than the CDC-ACM USB serial device, just +// define this. #define USE_SEGGER + #define SX1262_DIO1 (29) #define SX1262_DIO2 (30) #define SX1262_BUSY (33) // Supposed to be P0.18 but because of reworks, now on P0.31 (18) @@ -136,9 +138,8 @@ static const uint8_t SCK = PIN_SPI_SCK; #define ST7735_BACKLIGHT_EN (13) #define ST7735_RS (9) -#define LORA_DISABLE_SENDING // The 1.1 version of this board browns out if the SX1262 transmits while the screen is on. So you - // can -// have either a working SX1262 or a working screen +// #define LORA_DISABLE_SENDING // The board can brownout during lora TX if you don't have a battery connected. Disable sending +// to allow USB power only based debugging #ifdef __cplusplus }