Bug: WT32-SCO psram can't be initialized with board = esp-wrover-kit

Just in case anyone else comes across this issue, psram can’t be initialized with board = esp-wrover-kit. Setting board = esp32dev fixes the issue.

I ran across the same problem, but solved it today in a different way:
For PSRAM to be usable the symbol BOARD_HAS_PSRAM must be defined. The board definition of esp-wrover-kit does not define it in its current form. So you may add this line your platformio.ini:
build_flags = -DBOARD_HAS_PSRAM
The better way to define this symbol would probably be an additional definition in the file .platformio/platforms/espressif32/boards/esp-wrover-kit.json:
{
“builds”: {

“extra_flags”: “-DBOARD_HAS_PSRAM”,

},

}
But then again this should rather be done by the platformio team, shouldn’t it?