Help adding board for Waveshare ESP32-S3 with round 1.85 display?

Hi, all.

Does anyone have a easy(ish) guide to adding a new board to PlatformIO? I’m trying to do a project with https://www.waveshare.com/wiki/ESP32-S3-Touch-LCD-1.85 and am a bit overwhelmed with the number of options and which ones I actually need to care about.

I do find Help with support for ESP32-S3 Dev Module - #2 by maxgerhardt which seems like the right ballpark but the specs aren’t quite the same.

Any tips of straight-up help would be much appreciated! TY!!

You can use pioarduino/platform-espressif32 to get the latest Espressif32 Arduino 3.1.3 core.

It has directly support for the required board: waveshare_esp32s3_touch_lcs_128

platform = https://github.com/pioarduino/platform-espressif32/releases/download/53.03.13/platform-espressif32.zip
board = waveshare_esp32s3_touch_lcs_128
2 Likes

Nice! That looks very promising! TY!

The 1.28" version you linked to is a bit different than the 1.85" version I’ve got. They both use the same settings?

I didn’t notice before but in the screenshot the Flash Type is set QIO and PSRAM type to OPI. This platformio.ini should match your board: ESP32-S3-WROOM-(1/1U)-N16R8

For the partition table you have to add

board_build.partitions = esp_sr_16.csv
2 Likes

Got distracted but finally back to this… Seems to work great - TY again!!

I purchased the same board as ddurant. I changed my env: and board as (I think) suggested: ESP32-S3-WROOM-(1/1U)-N16R8 in platformio.ini. Gives an error. I only see the 1.28 board when creating a new project (not the 1.85). ddurant - would you be willing to send me a “shell” PIO project with the appropriate platformio.ini and anything else to get started? So far, I’ve managed to get a blank screen with every attempt….

This will just change the env in the current project (where the platformio.ini) resides. It does not affect other other or new projects. If you want these settings permanent and “selectable” when creating new projects, you have to create a board manifest.

Please see GitHub - sivar2311/platformio_boards: Collection of various PlatformIO board definitions
Also take a look at the Note at the end

Ah - now I see! Thanks. Trying to segue to VS code from ArdIDE. Progress. Thanks.