From f4bae74c26e7551be22d10c55b900a6e0098ba6c Mon Sep 17 00:00:00 2001 From: richonguzman Date: Fri, 21 Jun 2024 11:38:54 -0400 Subject: [PATCH] build fix --- .github/workflows/build.yml | 6 +- platformio.ini | 178 ++++++++++++++++++------------------ 2 files changed, 91 insertions(+), 93 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 7b58c983..3d31ce50 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -49,16 +49,14 @@ jobs: chip: esp32 - name: heltec_wireless_tracker chip: esp32s3 + - name: heltec_ht-ct62 + chip: esp32c3 - name: OE5HWN_MeshCom chip: esp32 - name: WEMOS-LOLIN32-OLED-DIY chip: esp32 - name: WEMOS-D1-R32-RA02 chip: esp32 - - name: ttgo-lora32-v21_915 - chip: esp32 - - name: heltec_ht-ct62 - chip: esp32c3 - name: esp32c3_DIY_1W_LoRa chip: esp32c3 - name: esp32c3_DIY_1W_LoRa_915 diff --git a/platformio.ini b/platformio.ini index 6702d1ed..6f91970d 100644 --- a/platformio.ini +++ b/platformio.ini @@ -50,7 +50,19 @@ build_flags = lib_deps = ${common.lib_deps} adafruit/Adafruit GFX Library @ 1.11.9 - adafruit/Adafruit SSD1306 @ 2.5.10 + adafruit/Adafruit SSD1306 @ 2.5.10 + +[env:ttgo-lora32-v21_915] +board = ttgo-lora32-v21 +build_flags = + -Werror -Wall + -DTTGO_T_LORA32_V2_1_915 + -DHAS_SX1276 + -DELEGANTOTA_USE_ASYNC_WEBSERVER=1 +lib_deps = + ${common.lib_deps} + adafruit/Adafruit GFX Library @ 1.11.9 + adafruit/Adafruit SSD1306 @ 2.5.10 [env:heltec-lora32-v2] board = ttgo-lora32-v21 @@ -101,25 +113,24 @@ build_flags = lib_deps = ${common.lib_deps} -[env:heltec_ht-ct62] -board = heltec_wireless_stick_lite -board_build.mcu = esp32c3 +[env:ESP32_DIY_LoRa] +board = esp32dev build_flags = -Werror -Wall - -DHELTEC_HTCT62 - -DHAS_SX1262 + -DESP32_DIY_LoRa + -DHAS_SX1278 -DELEGANTOTA_USE_ASYNC_WEBSERVER=1 lib_deps = ${common.lib_deps} adafruit/Adafruit GFX Library @ 1.11.9 adafruit/Adafruit SSD1306 @ 2.5.10 -[env:ESP32_DIY_LoRa] +[env:ESP32_DIY_LoRa_915] board = esp32dev build_flags = -Werror -Wall - -DESP32_DIY_LoRa - -DHAS_SX1278 + -DESP32_DIY_LoRa_915 + -DHAS_SX1276 -DELEGANTOTA_USE_ASYNC_WEBSERVER=1 lib_deps = ${common.lib_deps} @@ -139,6 +150,19 @@ lib_deps = adafruit/Adafruit GFX Library @ 1.11.9 adafruit/Adafruit SSD1306 @ 2.5.10 +[env:ESP32_DIY_1W_LoRa_915] +board = esp32dev +build_flags = + -Werror -Wall + -DESP32_DIY_1W_LoRa_915 + -DHAS_SX1262 + -DHAS_1W_LORA + -DELEGANTOTA_USE_ASYNC_WEBSERVER=1 +lib_deps = + ${common.lib_deps} + adafruit/Adafruit GFX Library @ 1.11.9 + adafruit/Adafruit SSD1306 @ 2.5.10 + [env:ttgo-t-beam-v1_2] board = ttgo-t-beam build_flags = @@ -153,6 +177,20 @@ lib_deps = adafruit/Adafruit SSD1306 @ 2.5.10 lewisxhe/XPowersLib @ 0.2.4 +[env:ttgo-t-beam-v1_2_915] +board = ttgo-t-beam +build_flags = + -Werror -Wall + -DTTGO_T_Beam_V1_2_915 + -DHAS_SX1276 + -DHAS_AXP2101 + -DELEGANTOTA_USE_ASYNC_WEBSERVER=1 +lib_deps = + ${common.lib_deps} + adafruit/Adafruit GFX Library @ 1.11.9 + adafruit/Adafruit SSD1306 @ 2.5.10 + lewisxhe/XPowersLib @ 0.2.4 + [env:ttgo-t-beam-v1] board = ttgo-t-beam build_flags = @@ -167,6 +205,20 @@ lib_deps = adafruit/Adafruit SSD1306 @ 2.5.10 lewisxhe/XPowersLib @ 0.2.4 +[env:ttgo-t-beam-v1_915] +board = ttgo-t-beam +build_flags = + -Werror -Wall + -DTTGO_T_Beam_V1_0_915 + -DHAS_SX1276 + -DHAS_AXP192 + -DELEGANTOTA_USE_ASYNC_WEBSERVER=1 +lib_deps = + ${common.lib_deps} + adafruit/Adafruit GFX Library @ 1.11.9 + adafruit/Adafruit SSD1306 @ 2.5.10 + lewisxhe/XPowersLib @ 0.2.4 + [env:ttgo-t-beam-v1_SX1268] board = ttgo-t-beam build_flags = @@ -210,6 +262,21 @@ lib_deps = vshymanskyy/TinyGSM @ 0.12.0 vshymanskyy/StreamDebugger @ 1.0.1 +[env:ESP32_DIY_LoRa_A7670_915] +board = esp32dev +build_flags = + -Werror -Wall + -DESP32_DIY_LoRa_A7670_915 + -DHAS_SX1276 + -DHAS_A7670 + -DELEGANTOTA_USE_ASYNC_WEBSERVER=1 +lib_deps = + ${common.lib_deps} + adafruit/Adafruit GFX Library @ 1.11.9 + adafruit/Adafruit SSD1306 @ 2.5.10 + vshymanskyy/TinyGSM @ 0.12.0 + vshymanskyy/StreamDebugger @ 1.0.1 + [env:heltec_wireless_tracker] board = esp32-s3-devkitc-1 board_build.mcu = esp32s3 @@ -247,6 +314,19 @@ lib_deps = ${common.lib_deps} bodmer/TFT_eSPI @ 2.5.43 +[env:heltec_ht-ct62] +board = heltec_wireless_stick_lite +board_build.mcu = esp32c3 +build_flags = + -Werror -Wall + -DHELTEC_HTCT62 + -DHAS_SX1262 + -DELEGANTOTA_USE_ASYNC_WEBSERVER=1 +lib_deps = + ${common.lib_deps} + adafruit/Adafruit GFX Library @ 1.11.9 + adafruit/Adafruit SSD1306 @ 2.5.10 + [env:OE5HWN_MeshCom] board = esp32dev build_flags = @@ -300,86 +380,6 @@ lib_deps = adafruit/Adafruit GFX Library @ 1.11.9 adafruit/Adafruit SSD1306 @ 2.5.10 -[env:ttgo-lora32-v21_915] -board = ttgo-lora32-v21 -build_flags = - -Werror -Wall - -DTTGO_T_LORA32_V2_1_915 - -DHAS_SX1276 - -DELEGANTOTA_USE_ASYNC_WEBSERVER=1 -lib_deps = - ${common.lib_deps} - adafruit/Adafruit GFX Library @ 1.11.9 - adafruit/Adafruit SSD1306 @ 2.5.10 - -[env:ESP32_DIY_LoRa_915] -board = esp32dev -build_flags = - -Werror -Wall - -DESP32_DIY_LoRa_915 - -DHAS_SX1276 - -DELEGANTOTA_USE_ASYNC_WEBSERVER=1 -lib_deps = - ${common.lib_deps} - adafruit/Adafruit GFX Library @ 1.11.9 - adafruit/Adafruit SSD1306 @ 2.5.10 - -[env:ttgo-t-beam-v1_2_915] -board = ttgo-t-beam -build_flags = - -Werror -Wall - -DTTGO_T_Beam_V1_2_915 - -DHAS_SX1276 - -DHAS_AXP2101 - -DELEGANTOTA_USE_ASYNC_WEBSERVER=1 -lib_deps = - ${common.lib_deps} - adafruit/Adafruit GFX Library @ 1.11.9 - adafruit/Adafruit SSD1306 @ 2.5.10 - lewisxhe/XPowersLib @ 0.2.4 - -[env:ttgo-t-beam-v1_915] -board = ttgo-t-beam -build_flags = - -Werror -Wall - -DTTGO_T_Beam_V1_0_915 - -DHAS_SX1276 - -DHAS_AXP192 - -DELEGANTOTA_USE_ASYNC_WEBSERVER=1 -lib_deps = - ${common.lib_deps} - adafruit/Adafruit GFX Library @ 1.11.9 - adafruit/Adafruit SSD1306 @ 2.5.10 - lewisxhe/XPowersLib @ 0.2.4 - -[env:ESP32_DIY_LoRa_A7670_915] -board = esp32dev -build_flags = - -Werror -Wall - -DESP32_DIY_LoRa_A7670_915 - -DHAS_SX1276 - -DHAS_A7670 - -DELEGANTOTA_USE_ASYNC_WEBSERVER=1 -lib_deps = - ${common.lib_deps} - adafruit/Adafruit GFX Library @ 1.11.9 - adafruit/Adafruit SSD1306 @ 2.5.10 - vshymanskyy/TinyGSM @ 0.12.0 - vshymanskyy/StreamDebugger @ 1.0.1 - -[env:ESP32_DIY_1W_LoRa_915] -board = esp32dev -build_flags = - -Werror -Wall - -DESP32_DIY_1W_LoRa_915 - -DHAS_SX1262 - -DHAS_1W_LORA - -DELEGANTOTA_USE_ASYNC_WEBSERVER=1 -lib_deps = - ${common.lib_deps} - adafruit/Adafruit GFX Library @ 1.11.9 - adafruit/Adafruit SSD1306 @ 2.5.10 - [env:esp32c3_DIY_1W_LoRa_915] board = esp32-c3-devkitm-1 board_build.mcu = esp32c3