Browse Source
Merge pull request #2511 from entr0p1/techo-lite-rf-fix
Corrected T-Echo Lite SX1262 RXEN and TXEN pins, TCXO voltage.
pull/2516/head
Huw Duddy
4 weeks ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with
4 additions and
2 deletions
-
variants/lilygo_techo_lite/platformio.ini
-
variants/lilygo_techo_lite/variant.h
|
|
|
@ -12,6 +12,7 @@ build_flags = ${nrf52_base.build_flags} |
|
|
|
-D WRAPPER_CLASS=CustomSX1262Wrapper |
|
|
|
-D LORA_TX_POWER=22 |
|
|
|
-D SX126X_POWER_EN=30 |
|
|
|
-D SX126X_DIO3_TCXO_VOLTAGE=1.8 |
|
|
|
-D SX126X_CURRENT_LIMIT=140 |
|
|
|
-D SX126X_RX_BOOSTED_GAIN=1 |
|
|
|
-D P_LORA_TX_LED=LED_GREEN |
|
|
|
@ -115,6 +116,7 @@ build_flags = |
|
|
|
-D WRAPPER_CLASS=CustomSX1262Wrapper |
|
|
|
-D LORA_TX_POWER=22 |
|
|
|
-D SX126X_POWER_EN=30 |
|
|
|
-D SX126X_DIO3_TCXO_VOLTAGE=1.8 |
|
|
|
-D SX126X_CURRENT_LIMIT=140 |
|
|
|
-D SX126X_RX_BOOSTED_GAIN=1 |
|
|
|
-D P_LORA_TX_LED=LED_GREEN |
|
|
|
|
|
|
|
@ -107,8 +107,8 @@ |
|
|
|
#define SX126X_DIO1 _PINNUM(1, 8) |
|
|
|
#define SX126X_BUSY _PINNUM(0, 14) |
|
|
|
#define SX126X_RESET _PINNUM(0, 7) |
|
|
|
#define SX126X_RF_VC1 _PINNUM(0, 27) |
|
|
|
#define SX126X_RF_VC2 _PINNUM(0, 33) |
|
|
|
#define SX126X_RXEN _PINNUM(1, 1) |
|
|
|
#define SX126X_TXEN _PINNUM(0, 27) |
|
|
|
|
|
|
|
#define P_LORA_DIO_1 SX126X_DIO1 |
|
|
|
#define P_LORA_NSS LORA_CS |
|
|
|
|