fix memory
This commit is contained in:
@@ -1,5 +0,0 @@
|
|||||||
# Name, Type, SubType, Offset, Size, Flags
|
|
||||||
nvs, data, nvs, 0x9000, 0x5000,
|
|
||||||
otadata, data, ota, 0xe000, 0x2000,
|
|
||||||
app0, app, ota_0, 0x10000, 0x300000,
|
|
||||||
spiffs, data, spiffs, 0x310000,0xF0000,
|
|
||||||
|
@@ -323,14 +323,13 @@ lib_deps =
|
|||||||
[LilyGo_T3_sx1276]
|
[LilyGo_T3_sx1276]
|
||||||
extends = esp32_base
|
extends = esp32_base
|
||||||
board = ttgo-lora32-v1 ; TTGO/LilyGo T3 V1 ESP32 with SX1276
|
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_unflags = -Os
|
||||||
build_type = release ; Set build type to release
|
build_type = release ; Set build type to release
|
||||||
|
board_build.partitions = min_spiffs.csv ; get around 4mb flash limit
|
||||||
build_flags =
|
build_flags =
|
||||||
${esp32_base.build_flags}
|
${esp32_base.build_flags}
|
||||||
-Os -ffunction-sections -fdata-sections ; Optimize for size
|
-Os -ffunction-sections -fdata-sections ; Optimize for size
|
||||||
-D LILYGO_T3
|
-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_0=26 ; SX1276 DIO0 interrupt pin
|
||||||
-D P_LORA_DIO_1=33 ; SX1276 DIO1 interrupt pin
|
-D P_LORA_DIO_1=33 ; SX1276 DIO1 interrupt pin
|
||||||
-D P_LORA_NSS=18 ; Chip select - SS pin
|
-D P_LORA_NSS=18 ; Chip select - SS pin
|
||||||
@@ -377,8 +376,11 @@ build_flags =
|
|||||||
-D ADVERT_LAT=-37.0
|
-D ADVERT_LAT=-37.0
|
||||||
-D ADVERT_LON=145.0
|
-D ADVERT_LON=145.0
|
||||||
-D ADMIN_PASSWORD="\"password\""
|
-D ADMIN_PASSWORD="\"password\""
|
||||||
; -D MESH_PACKET_LOGGING=1
|
-D MESH_PACKET_LOGGING=1
|
||||||
; -D MESH_DEBUG=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]
|
[env:LilyGo_T3_sx1276_terminal_chat]
|
||||||
extends = LilyGo_T3_sx1276
|
extends = LilyGo_T3_sx1276
|
||||||
|
|||||||
Reference in New Issue
Block a user