Retire SquareLine: hand-coded gauge screen (oil quadrant dropped), LVGL lock, updates on change only; LVGL pool in PSRAM, millis tick, log off; 16 MB flash + OTA partitions; docs and wiki
This commit is contained in:
+10
-10
@@ -18,9 +18,8 @@ build_flags =
|
||||
-DLV_CONF_INCLUDE_SIMPLE
|
||||
-DLV_LVGL_H_INCLUDE_SIMPLE
|
||||
|
||||
; PSRAM support
|
||||
; PSRAM support (LVGL's pool lives there, see lv_conf.h)
|
||||
-DBOARD_HAS_PSRAM
|
||||
-mfix-esp32-psram-cache-issue
|
||||
|
||||
; FreeRTOS configuration
|
||||
-DARDUINO_RUNNING_CORE=1 ; LVGL runs on Core 1
|
||||
@@ -42,14 +41,12 @@ build_flags =
|
||||
; Include paths (order matters - local overrides come first!)
|
||||
-I include
|
||||
-I include/config
|
||||
-I include/display
|
||||
-I include/modules
|
||||
-I include/protocol
|
||||
-I include/ui
|
||||
-I src
|
||||
|
||||
; Source directories (include UI files from include/ui)
|
||||
build_src_filter = +<*> +<modules/*> +<../include/ui/*> +<../include/display/*>
|
||||
; Sources: modules + the font/icon assets (plain LVGL C arrays in src/assets)
|
||||
build_src_filter = +<*> +<modules/*> +<assets/*>
|
||||
|
||||
; Libraries
|
||||
lib_deps =
|
||||
@@ -63,13 +60,16 @@ monitor_filters =
|
||||
esp32_exception_decoder
|
||||
colorize
|
||||
|
||||
; Memory configuration
|
||||
; Memory configuration. The generic devkitc-1 profile assumes 8 MB flash; the
|
||||
; ESP32-S3-LCD-1.3 has 16 MB (Waveshare wiki + schematic), so declare it and use
|
||||
; the 16 MB table (two 6.5 MB OTA app slots) - future OTA needs it, and the NVS
|
||||
; partition stays at 0x9000 so the cached gauge config survives.
|
||||
board_build.flash_mode = qio
|
||||
board_build.psram_type = opi
|
||||
board_build.arduino.memory_type = qio_opi
|
||||
|
||||
; Partition table (optional - for larger apps)
|
||||
; board_build.partitions = default_16MB.csv
|
||||
board_upload.flash_size = 16MB
|
||||
board_upload.maximum_size = 16777216
|
||||
board_build.partitions = default_16MB.csv
|
||||
|
||||
; Advanced options
|
||||
build_unflags =
|
||||
|
||||
Reference in New Issue
Block a user