Help with support for ESP32-S3 Dev Module

You’ll be facing multiple issues.

The first being, that the variant for “Waveshare ESP32S3 Touch LCD 128” was only added in Arduino-ESP32 3.x, while PlatformIO operates on Arduino-ESP32 2.0.16. So, you would have to do a framework update, too. See

for that.

This should also be reflected in the choice for variant in your board file.

Next, the settings

The settings in the arduino object are handled by the Arduino-ESP32 builder script.

Specifically, the memory_type being used here

Selects one of these memory configuration folders according to <flash_mode_<psram_type>.

grafik

You should use the same value that the boards.txt selects for the board.

Thus that would be dio_qspi.The board is capable of qio_qspi as well, reading the list of supported flash modes. QIO would yield faster flash access.

The “partitions” setting is the default partition scheme. That can be changed by the user later anyways. The boards.txt again gives the default value as literally

Which references the default.csv partition table. So the value should be default.csv, given the new partiiton tables of the Arduino-ESP32 3.x core.

Hardware-IDs are pairs of USB VID and PID which are unique to your dev board. It’s used to automatically select the right serial port for, e.g., uploading and monitoring. The boards.txt again tells you the values for it.

This is an array so there can me multiple of them. But an array of length 1 is fine, too.