SmittyHalibut/EleksTubeHAX

What to do for ESP32-S2 Wroom?

zsoltmar opened this issue · 5 comments

My clock has the newer S2 Wroom chip and I might be missing something but it wouldn't compile for that board. Maybe I'm missing something? I tried uploading the compiled firmware, however on boot the serial output says that it's the wrong bootloader. Cheers!

What's the compilation error? I don't have that hardware so I can't tell you what would be wrong.

It's the TFT eSPI library. Apparently it's not yet supported. But I wonder then what the current firmware on the device is using...
In file included from /Users/zsolt/git/EleksTubeHAX/EleksTubeHAX/TFTs.h:9, from /Users/zsolt/git/EleksTubeHAX/EleksTubeHAX/TFTs.cpp:1: /Users/zsolt/Documents/Arduino/libraries/TFT_eSPI/TFT_eSPI.h:306:21: error: 'VSPI' was not declared in this scope uint8_t port = VSPI; ^~~~

That was 3mo ago. Have you tried updating your libraries and tried again? Ie: have they added support recently?

VSPI not being there sounds like a #include is missing.

Standard ESP32 has two SPI ports VSPI and HSPI. One is used for Flash, other for our TFT displays.
Did not dig further what -S2 chip has.

Resolving due to lack of response from OP @zsoltmar.

Several folks have added support for new hardware platforms, not sure if your platform is in there. Might be worth pulling down the recent code and seeing if it works now.