mirror of
https://github.com/meshtastic/firmware.git
synced 2025-09-10 13:13:27 +00:00

Meshtastic no longer fits on the flash of the Picomputer. Since this is a handheld, portable device, it's unlikely that people are connecting to it via the webserver. So, disable the webserver and it fits again: ``` Checking size .pio/build/picomputer-s3-tft/firmware.elf Advanced Memory Usage is available via "PlatformIO Home > Project Inspect" RAM: [=== ] 32.4% (used 106056 bytes from 327680 bytes) Flash: [==========] 99.1% (used 3313913 bytes from 3342336 bytes) ``` Fixes: https://github.com/meshtastic/firmware/issues/7906
58 lines
1.3 KiB
INI
58 lines
1.3 KiB
INI
[env:picomputer-s3]
|
|
extends = esp32s3_base
|
|
board = bpi_picow_esp32_s3
|
|
board_check = true
|
|
board_build.partitions = default_8MB.csv
|
|
;OpenOCD flash method
|
|
;upload_protocol = esp-builtin
|
|
;Normal method
|
|
upload_protocol = esptool
|
|
|
|
build_flags =
|
|
${esp32s3_base.build_flags}
|
|
-DPICOMPUTER_S3
|
|
-I variants/esp32s3/picomputer-s3
|
|
|
|
lib_deps =
|
|
${esp32s3_base.lib_deps}
|
|
lovyan03/LovyanGFX@^1.2.0
|
|
|
|
build_src_filter =
|
|
${esp32s3_base.build_src_filter}
|
|
|
|
|
|
[env:picomputer-s3-tft]
|
|
extends = env:picomputer-s3
|
|
|
|
build_flags =
|
|
${env:picomputer-s3.build_flags}
|
|
-D MESHTASTIC_EXCLUDE_WEBSERVER=1
|
|
-D INPUTDRIVER_MATRIX_TYPE=1
|
|
-D USE_PIN_BUZZER=PIN_BUZZER
|
|
-D USE_SX127x
|
|
-D HAS_SCREEN=1
|
|
-D HAS_TFT=1
|
|
-D RAM_SIZE=1560
|
|
-D LV_LVGL_H_INCLUDE_SIMPLE
|
|
-D LV_CONF_INCLUDE_SIMPLE
|
|
-D LV_COMP_CONF_INCLUDE_SIMPLE
|
|
-D LV_USE_SYSMON=0
|
|
-D LV_USE_PROFILER=0
|
|
-D LV_USE_PERF_MONITOR=0
|
|
-D LV_USE_MEM_MONITOR=0
|
|
-D LV_USE_LOG=0
|
|
-D USE_LOG_DEBUG
|
|
-D LOG_DEBUG_INC=\"DebugConfiguration.h\"
|
|
-D LGFX_SCREEN_WIDTH=240
|
|
-D LGFX_SCREEN_HEIGHT=320
|
|
-D DISPLAY_SIZE=320x240 ; landscape mode
|
|
-D LGFX_DRIVER=LGFX_PICOMPUTER_S3
|
|
-D GFX_DRIVER_INC=\"graphics/LGFX/LGFX_PICOMPUTER_S3.h\"
|
|
-D VIEW_320x240
|
|
; -D USE_DOUBLE_BUFFER
|
|
-D USE_PACKET_API
|
|
|
|
lib_deps =
|
|
${env:picomputer-s3.lib_deps}
|
|
${device-ui_base.lib_deps}
|