Skip to content

Commit 21ba611

Browse files
Alex WoldenAlex Wolden
authored andcommitted
fix memory
1 parent 1f25575 commit 21ba611

File tree

2 files changed

+6
-9
lines changed

2 files changed

+6
-9
lines changed

default_4MB.csv

Lines changed: 0 additions & 5 deletions
This file was deleted.

platformio.ini

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -323,14 +323,13 @@ lib_deps =
323323
[LilyGo_T3_sx1276]
324324
extends = esp32_base
325325
board = ttgo-lora32-v1 ; TTGO/LilyGo T3 V1 ESP32 with SX1276
326-
board_build.partitions = default_4MB.csv ; Use the 4MB partition to allocate more space for firmware
327326
build_unflags = -Os
328327
build_type = release ; Set build type to release
328+
board_build.partitions = min_spiffs.csv ; get around 4mb flash limit
329329
build_flags =
330330
${esp32_base.build_flags}
331331
-Os -ffunction-sections -fdata-sections ; Optimize for size
332332
-D LILYGO_T3
333-
-D HELTEC_LORA_V2 ; Needed for CustomSX1276 support
334333
-D P_LORA_DIO_0=26 ; SX1276 DIO0 interrupt pin
335334
-D P_LORA_DIO_1=33 ; SX1276 DIO1 interrupt pin
336335
-D P_LORA_NSS=18 ; Chip select - SS pin
@@ -377,8 +376,11 @@ build_flags =
377376
-D ADVERT_LAT=-37.0
378377
-D ADVERT_LON=145.0
379378
-D ADMIN_PASSWORD="\"password\""
380-
; -D MESH_PACKET_LOGGING=1
381-
; -D MESH_DEBUG=1
379+
-D MESH_PACKET_LOGGING=1
380+
-D MESH_DEBUG=1
381+
-D CORE_DEBUG_LEVEL=3
382+
-D SPI_MAX_DMA_LEN=1024
383+
-D BLE_TASK_SIZE=4096
382384

383385
[env:LilyGo_T3_sx1276_terminal_chat]
384386
extends = LilyGo_T3_sx1276

0 commit comments

Comments
 (0)