Add payload codec test envs and enable serial debug

This commit is contained in:
2026-02-01 22:54:07 +01:00
parent e5c4e04ff9
commit 16c1b90b1e
2 changed files with 29 additions and 2 deletions

View File

@@ -73,8 +73,8 @@ constexpr uint8_t BATCH_QUEUE_DEPTH = 10;
constexpr BatchRetryPolicy BATCH_RETRY_POLICY = BatchRetryPolicy::Keep;
constexpr uint32_t WATCHDOG_TIMEOUT_SEC = 120;
constexpr bool ENABLE_HA_DISCOVERY = true;
constexpr bool SERIAL_DEBUG_MODE = false;
constexpr bool SERIAL_DEBUG_DUMP_JSON = false;
constexpr bool SERIAL_DEBUG_MODE = true;
constexpr bool SERIAL_DEBUG_DUMP_JSON = true;
constexpr bool LORA_SEND_BYPASS = false;
constexpr uint8_t NUM_SENDERS = 1;

View File

@@ -58,3 +58,30 @@ lib_deps =
build_flags =
-DENABLE_TEST_MODE
-DLORA_FREQUENCY_HZ=868E6
[env:lilygo-t3-v1-6-1-payload-test]
platform = https://github.com/pioarduino/platform-espressif32/releases/download/51.03.07/platform-espressif32.zip
board = ttgo-lora32-v1
framework = arduino
lib_deps =
sandeepmistry/LoRa@^0.8.0
bblanchon/ArduinoJson@^6.21.5
adafruit/Adafruit SSD1306@^2.5.9
adafruit/Adafruit GFX Library@^1.11.9
knolleary/PubSubClient@^2.8
build_flags =
-DPAYLOAD_CODEC_TEST
[env:lilygo-t3-v1-6-1-868-payload-test]
platform = https://github.com/pioarduino/platform-espressif32/releases/download/51.03.07/platform-espressif32.zip
board = ttgo-lora32-v1
framework = arduino
lib_deps =
sandeepmistry/LoRa@^0.8.0
bblanchon/ArduinoJson@^6.21.5
adafruit/Adafruit SSD1306@^2.5.9
adafruit/Adafruit GFX Library@^1.11.9
knolleary/PubSubClient@^2.8
build_flags =
-DPAYLOAD_CODEC_TEST
-DLORA_FREQUENCY_HZ=868E6