Problem with lvgl

8MB psram requires octal mode, you need to specify that in your config.

I got this working on the Xiao ESP32 S3.
I had to specify each detail of the board for the PSRAM to be recognised.
Not sure why some boards need this and some do not.
Here are the relevant parts of my config, this is partially copied ffrom sample projects online, I have not tested to see if all of it is actually needed.


esphome:
  name: $node_name
  friendly_name: $verbose_name
  comment: $comment
  platformio_options:
    board_build.arduino.memory_type: qio_opi
    board_build.flash_mode: qio
    build_flags:
      - "-DCONFIG_SPIRAM_CACHE_WORKAROUND"
      - "-mfix-esp32-psram-cache-issue"

esp32:
  board: esp32-s3-devkitc-1
  variant: esp32s3
  flash_size: 8MB
  framework:
    type: arduino

psram:
  mode: octal
  speed: 80MHz

I am able to use the version of the driver that can do partial updates and it seems to work.

BTW. The ESP32 S2 above died … USB stopped working, the second one I have had that did this … buyer beware :-/

Thanks

I started looking at which parts of the config I posted below were redundant.

To start, I commented out the platformio_options section and the S3’s PSRAM was no longer recognised.

I did not carry on :-/