Add support for Lilygo T3S3 V1.2 SX1276 board (#142)

This commit is contained in:
Konrad Iturbe
2025-03-13 11:50:31 +01:00
committed by GitHub
parent 9a26372dc1
commit e02cdefadd
3 changed files with 59 additions and 3 deletions

View File

@@ -13,6 +13,8 @@
"files.insertFinalNewline": true,
"files.autoSave": "onFocusChange",
"files.associations": {
"cstdint": "cpp"
"cstdint": "cpp",
"system_error": "cpp",
"*.tpp": "cpp"
},
}

View File

@@ -372,9 +372,9 @@ Message *RadioComms::receive(uint16_t timeout_ms)
{
uint8_t msg[MAX_MSG];
#ifdef USING_LR1121
#if defined(USING_LR1121) || defined(USING_SX1276)
Message *message = NULL;
#warning Radio Comms not fully supported for LR1121
#warning Radio Comms not fully supported for LR1121 or SX1276
#else
// because of this, receive is single-threaded, single-device
_received = false;

View File

@@ -562,6 +562,60 @@ build_flags =
-DARDUINO_LILYGO_T3_V1_6
-DARDUINO_USB_MODE=1
[env:lilygo-T3S3-v1-2-sx1276-full-spectrum]
platform = espressif32
board = t3_s3_v1_x
framework = arduino
upload_speed = 921600
monitor_speed = 115200
board_build.f_cpu = 240000000
board_build.filesystem = littlefs
lib_deps =
ropg/Heltec_ESP32_LoRa_v3@^0.9.1
RadioLib
U8g2
XPowersLib
build_flags =
-DLILYGO
-DT3_S3_V1_2_SX1276
-DARDUINO_LILYGO_T3S3_SX1276
-DESP32
-DUSING_SX1276
-DARDUINO_ARCH_ESP32
-DSAMPLES_RSSI=5
-DARDUINO_USB_CDC_ON_BOOT=1
-DARDUINO_LILYGO_T3_S3_V1_X
-DARDUINO_USB_MODE=1
; 127 MHz-1020Mhz:
; https://www.semtech.com/products/wireless-rf/lora-connect/sx1276
-DFREQ_BEGIN=127
-DFREQ_END=1020
[env:lilygo-T3S3-v1-2-sx1276]
platform = espressif32
board = t3_s3_v1_x
framework = arduino
upload_speed = 921600
monitor_speed = 115200
board_build.f_cpu = 240000000
board_build.filesystem = littlefs
lib_deps =
ropg/Heltec_ESP32_LoRa_v3@^0.9.1
RadioLib
U8g2
XPowersLib
build_flags =
-DLILYGO
-DT3_S3_V1_2_SX1276
-DARDUINO_LILYGO_T3S3_SX1276
-DESP32
-DUSING_SX1276
-DARDUINO_ARCH_ESP32
-DSAMPLES_RSSI=5
-DARDUINO_USB_CDC_ON_BOOT=1
-DARDUINO_LILYGO_T3_S3_V1_X
-DARDUINO_USB_MODE=1
;; More old lylygo/titygo boeads defenitions you can find here:
;; https://github.com/PTR-projects/PTR_GroundStation_firmware/blob/main/platformio.ini
;; https://github.com/Xinyuan-LilyGO/LilyGo-LoRa-Series/blob/master/platformio.ini