a4d00827c7
Add FATFS LFN (heap, 255), LVGL stdio FS ('S' drive),
mbedTLS external+dynamic alloc, SPIRAM task stacks.
WiFi dynamic TX blocked by SPIRAM_TRY_ALLOCATE_WIFI_LWIP
Kconfig dep; static TX (TYPE=0) is correct for this board.
38 lines
1.5 KiB
Plaintext
38 lines
1.5 KiB
Plaintext
# Lisael Box — ESP32-S3-BOX-3 specific defaults.
|
|
# Applied automatically on top of sdkconfig.defaults when target == esp32s3.
|
|
|
|
# --- Flash: 16 MB on the BOX-3 ----------------------------------------------
|
|
CONFIG_ESPTOOLPY_FLASHSIZE_16MB=y
|
|
CONFIG_ESPTOOLPY_FLASHMODE_QIO=y
|
|
CONFIG_ESPTOOLPY_FLASHFREQ_80M=y
|
|
|
|
# --- PSRAM: 8 MB octal SPI on the BOX-3 -------------------------------------
|
|
# Required for the LVGL framebuffer(s) and ESP-ADF ring buffers.
|
|
CONFIG_SPIRAM=y
|
|
CONFIG_SPIRAM_MODE_OCT=y
|
|
CONFIG_SPIRAM_SPEED_80M=y
|
|
CONFIG_SPIRAM_FETCH_INSTRUCTIONS=y
|
|
CONFIG_SPIRAM_RODATA=y
|
|
# Let malloc() fall back to PSRAM for large allocations (LVGL buffers, decoders).
|
|
CONFIG_SPIRAM_USE_MALLOC=y
|
|
CONFIG_SPIRAM_MALLOC_ALWAYSINTERNAL=4096
|
|
CONFIG_SPIRAM_TRY_ALLOCATE_WIFI_LWIP=y
|
|
|
|
# --- CPU ---------------------------------------------------------------------
|
|
CONFIG_ESP_DEFAULT_CPU_FREQ_MHZ_240=y
|
|
|
|
# --- LVGL (esp_lvgl_port / lvgl 9) ------------------------------------------
|
|
# Use PSRAM for the LVGL draw buffers so the 320x240x16bpp framebuffer fits.
|
|
CONFIG_LV_MEM_CUSTOM=y
|
|
CONFIG_LV_ATTRIBUTE_FAST_MEM_USE_IRAM=y
|
|
|
|
# --- Main task ---------------------------------------------------------------
|
|
# app_main runs BSP + LVGL bring-up; give it a comfortable stack.
|
|
CONFIG_ESP_MAIN_TASK_STACK_SIZE=8192
|
|
|
|
# --- Audio: ESP-ADF decoders need a decent heap; keep DMA in internal RAM ---
|
|
CONFIG_ESP_SYSTEM_EVENT_TASK_STACK_SIZE=4096
|
|
|
|
# --- Autoriser les piles de tâches en PSRAM (gros buffers UI/routines) ---
|
|
CONFIG_SPIRAM_ALLOW_STACK_EXTERNAL_MEMORY=y
|