feat(variants): Add support for TXCO on TLORA_V2_1_6 devices (#3124)

* feat(variants): Add support for TXCO on TLORA_V2_1_6 devices

* chore: remove long comment

* feat(variants): Add tlora-v2-1-1_6-tcxo to build matrix

* feat(variants): Use RADIOLIB_NC as DIO1 pin for tlora_v2_1_16 with TXCO

* Use generic naming scheme, add variant to build envs

---------

Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
Co-authored-by: code8buster <20384924+code8buster@users.noreply.github.com>
This commit is contained in:
Artem
2024-01-30 14:06:47 +01:00
committed by GitHub
parent 1e4ecea6fc
commit ca45888f3e
5 changed files with 24 additions and 0 deletions

View File

@@ -248,6 +248,11 @@ void setup()
digitalWrite(PIN_EINK_PWR_ON, HIGH);
#endif
#if defined(LORA_TCXO_GPIO)
pinMode(LORA_TCXO_GPIO, OUTPUT);
digitalWrite(LORA_TCXO_GPIO, HIGH);
#endif
#ifdef ST7735_BL_V03 // Heltec Wireless Tracker PCB Change Detect/Hack
rtc_clk_32k_enable(true);