Немного изменил Hydra, чтобы нормально работали модули 400m33s и 900m33s
This commit is contained in:
@@ -12,5 +12,6 @@ extends = esp32_base
|
||||
board = esp32doit-devkit-v1
|
||||
build_flags =
|
||||
${esp32_base.build_flags}
|
||||
-D EBYTE_E22
|
||||
-D DIY_V1
|
||||
-I variants/esp32/diy/hydra
|
||||
|
||||
@@ -43,4 +43,12 @@
|
||||
#define LORA_TXEN SX126X_TXEN // Compatibility with variant file configuration structure
|
||||
#define LORA_RXEN SX126X_RXEN // Compatibility with variant file configuration structure
|
||||
#define LORA_RESET SX126X_RESET // Compatibility with variant file configuration structure
|
||||
#define LORA_DIO2 SX126X_BUSY // Compatibility with variant file configuration structure
|
||||
#define LORA_DIO2 SX126X_BUSY // Compatibility with variant file configuration structure
|
||||
|
||||
|
||||
#ifdef EBYTE_E22
|
||||
// Internally the TTGO module hooks the SX126x-DIO2 in to control the TX/RX switch
|
||||
// (which is the default for the sx1262interface code)
|
||||
#define SX126X_DIO3_TCXO_VOLTAGE 1.8
|
||||
#define TCXO_OPTIONAL // make it so that the firmware can try both TCXO and XTAL
|
||||
#endif
|
||||
Reference in New Issue
Block a user