display-xip: rebuild core with XIP_FROM_PSRAM + LCD_RGB_ISR_IRAM_SAFE; drop unused IDF components

This commit is contained in:
2026-09-27 17:45:40 +02:00
parent 518358a2ab
commit f69d195e2a
2 changed files with 41 additions and 0 deletions
+6
View File
@@ -25,3 +25,9 @@ Thumbs.db
ESP32-S3-Touch-LCD-5-Demo/ ESP32-S3-Touch-LCD-5-Demo/
# Excel lock/temp files (created while a spreadsheet is open) # Excel lock/temp files (created while a spreadsheet is open)
~$* ~$*
# pioarduino custom_sdkconfig build artefacts (regenerated on every core rebuild)
.dummy/
managed_components/
sdkconfig.defaults
sdkconfig.waveshare_esp32_s3_lcd_5b
+35
View File
@@ -52,6 +52,41 @@ lib_deps =
; Also compile the LVGL port that lives under include/display ; Also compile the LVGL port that lives under include/display
build_src_filter = +<*> +<modules/*> +<../include/display/*> build_src_filter = +<*> +<modules/*> +<../include/display/*>
; ---- Display experiment (branch display-xip, wiki open-questions #13 step 3) ----
; Rebuilds the Arduino core with these sdkconfig changes (pioarduino custom_sdkconfig):
; - XIP_FROM_PSRAM: code + rodata execute from PSRAM, so flash writes (NVS, OTA)
; no longer stall everything that touches PSRAM (the LCD framebuffer refill).
; - LCD_RGB_ISR_IRAM_SAFE: the bounce-buffer refill interrupt keeps running while
; the flash cache is disabled.
; Components not used by this firmware, dropped from the core rebuild. RainMaker /
; Insights also try to embed a https_server.crt that only exists in their own
; projects, which broke the first custom_sdkconfig build (2026-09-27).
custom_component_remove =
espressif/esp_rainmaker
espressif/rmaker_common
espressif/esp_insights
espressif/esp_diag_data_store
espressif/esp_diagnostics
espressif/cbor
espressif/qrcode
espressif/network_provisioning
espressif/esp-zboss-lib
espressif/esp-zigbee-lib
espressif/esp_hosted
espressif/esp_wifi_remote
espressif/esp-sr
espressif/esp-dsp
espressif/esp-modbus
espressif/libsodium
chmorgan/esp-libhelix-mp3
espressif/esp32-camera
custom_sdkconfig =
CONFIG_SPIRAM_XIP_FROM_PSRAM=y
CONFIG_SPIRAM_FETCH_INSTRUCTIONS=y
CONFIG_SPIRAM_RODATA=y
CONFIG_LCD_RGB_ISR_IRAM_SAFE=y
build_flags = build_flags =
; C++ standard (required for ESP32_Display_Panel) ; C++ standard (required for ESP32_Display_Panel)
-std=gnu++17 -std=gnu++17