Adding board for WROVER32 16MB

Espressif has a 16MB WROVER32 module that allows for a larger on-board storage.
Is it possible right now to use PlatformIO for this?

https://www.mouser.com/ProductDetail/Espressif-Systems/ESP32-WROVER-16MB?qs=sGAEpiMZZMsRr7brxAGoXSSUPDSAjAiV5dbaZg%252bkepo1Q7WJ3BZuPg%3D%3D

Thanks!

1 Like

If you want it right now I guess your best bet is to add a new board target json file, a modified version platform-espressif32/esp-wrover-kit.json at develop · platformio/platform-espressif32 · GitHub which has flash_size and maximum_size adapter properly.

Do i do this by adding a new boardl JSON file?
Where Can I put that file for repeatability? (other than the boards folder?)

Do I reference it platformio.ini?

I am using a WROVER module with 16MB RAM and 8MB PSRAM. I am wondering how to make sure that this is enabled with platformio.ini

I have these settings right now:

[env:esp-wrover-kit]
platform = espressif32
framework = espidf
board = esp-wrover-kit
build_flags = -DCONFIG_WIFI_SSID=\"ESP_AP\" -DCONFIG_WIFI_PASSWORD=\"MYPASS\"
monitor_speed = 115200
monitor_port = COM4
monitor_rts = 0
monitor_dtr = 0

*UPDATE* I did a search and found where to put a custom board. As I expected, but overlooked it.
http://docs.platformio.org/en/latest/platforms/creating_board.html

I added a file named: esp-wrover16.json
I copied the contents of the wrover-kit.json and modified the suggested fields:

...
"name": "Espressif esp-wrover16",
...
"flash_size": "16MB",
"maximum_ram_size": 327680,
"maximum_size": 16777216,
....

and edited my platformio.ini file:
[env:esp-wrover16]
platform = espressif32
framework = espidf
board = esp-wrover16
build_flags = -DCONFIG_WIFI_SSID="ESP_AP" -DCONFIG_WIFI_PASSWORD="MYPASS"
monitor_speed = 115200
monitor_rts = 0
monitor_dtr = 0