EleksTubeHAX icon indicating copy to clipboard operation
EleksTubeHAX copied to clipboard

What to do for ESP32-S2 Wroom?

Open zsoltmar opened this issue 3 years ago • 4 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!

zsoltmar avatar Oct 08 '21 21:10 zsoltmar

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

SmittyHalibut avatar Oct 08 '21 21:10 SmittyHalibut

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; ^~~~

zsoltmar avatar Oct 19 '21 22:10 zsoltmar

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.

SmittyHalibut avatar Jan 29 '22 17:01 SmittyHalibut

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.

aly-fly avatar Feb 24 '22 17:02 aly-fly

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.

SmittyHalibut avatar Jan 09 '23 21:01 SmittyHalibut