Немного изменил Hydra, чтобы нормально работали модули 400m33s и 900m33s

This commit is contained in:
2026-08-20 08:52:56 +03:00
parent 0c6d630db4
commit cc6fbe8aca
2 changed files with 10 additions and 1 deletions
+1
View File
@@ -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
+9 -1
View File
@@ -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