for the ESP32 DevKitC v4, the pio board configuration should be like this:
[env:esp32dev]
platform = espressif32
board = esp32dev
framework = arduino
board_upload.flash_size = 4MB
build_flags =
-DBOARD_HAS_PSRAM
-mfix-esp32-psram-cache-issue
for the ESP32 DevKitC v4, the pio board configuration should be like this:
[env:esp32dev]
platform = espressif32
board = esp32dev
framework = arduino
board_upload.flash_size = 4MB
build_flags =
-DBOARD_HAS_PSRAM
-mfix-esp32-psram-cache-issue