|
|
|
@ -323,14 +323,13 @@ lib_deps = |
|
|
|
[LilyGo_T3_sx1276] |
|
|
|
extends = esp32_base |
|
|
|
board = ttgo-lora32-v1 ; TTGO/LilyGo T3 V1 ESP32 with SX1276 |
|
|
|
board_build.partitions = default_4MB.csv ; Use the 4MB partition to allocate more space for firmware |
|
|
|
build_unflags = -Os |
|
|
|
build_type = release ; Set build type to release |
|
|
|
board_build.partitions = min_spiffs.csv ; get around 4mb flash limit |
|
|
|
build_flags = |
|
|
|
${esp32_base.build_flags} |
|
|
|
-Os -ffunction-sections -fdata-sections ; Optimize for size |
|
|
|
-D LILYGO_T3 |
|
|
|
-D HELTEC_LORA_V2 ; Needed for CustomSX1276 support |
|
|
|
-D P_LORA_DIO_0=26 ; SX1276 DIO0 interrupt pin |
|
|
|
-D P_LORA_DIO_1=33 ; SX1276 DIO1 interrupt pin |
|
|
|
-D P_LORA_NSS=18 ; Chip select - SS pin |
|
|
|
@ -377,8 +376,11 @@ build_flags = |
|
|
|
-D ADVERT_LAT=-37.0 |
|
|
|
-D ADVERT_LON=145.0 |
|
|
|
-D ADMIN_PASSWORD="\"password\"" |
|
|
|
; -D MESH_PACKET_LOGGING=1 |
|
|
|
; -D MESH_DEBUG=1 |
|
|
|
-D MESH_PACKET_LOGGING=1 |
|
|
|
-D MESH_DEBUG=1 |
|
|
|
-D CORE_DEBUG_LEVEL=3 |
|
|
|
-D SPI_MAX_DMA_LEN=1024 |
|
|
|
-D BLE_TASK_SIZE=4096 |
|
|
|
|
|
|
|
[env:LilyGo_T3_sx1276_terminal_chat] |
|
|
|
extends = LilyGo_T3_sx1276 |
|
|
|
|