-
Notifications
You must be signed in to change notification settings - Fork 7.6k
Better support for your official boards #2931
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
The ESP32-WROOM-32D only has 4MB flash per https://www.espressif.com/en/products/hardware/modules If you have a module that has 8MB then it is likely not from Espressif themselves and would fall under one of the handful of boards which offer 8MB flash (heltec_wifi_lora_32_V2, heltec_wireless_stick, wipy3, gpy) |
The module is this one: The variant with 8MB of flash is mentioned here: Best Regards |
That isn't a board but instead a chip that defaults to 4MB but has ordering options for 8MB or 16MB. Since it is not a board it shouldn't have a specific boards entry. Now, if you have a specific board/module that USES one of these chips it can be registered as a board if it doesn't already exist. |
You call that PCB with lots of components on it a chip? The Espressif page states: So I don't see why only the variants with 4 and 16MB are supported but not the variant with 8MB. |
The item you linked to is a chip, it is usually part of a board/module (https://www.espressif.com/en/products/hardware/esp32-devkitc/overview) There are a handful of variants that support the 8MB flash size but they are for specific boards. |
Okay, then I need to adapt my question to your teminology: Why is there no support for ESP32 chips on custom boards as it exists for ESP8266 and any other microcontroller supported by Arduino? |
Most likely there hasn't been a request to support 8MB chips until now. Submitted a PR to add 8MB as an option in the menu for flash size. Default will remain as 4MB though. |
Okay I understand. Thanks for the information. |
I just saw the boards.txt. I'm going to try it. Thanks again for this. |
Are you sure that this change is enough to support the 8MB variant? |
I now added the following lines to my boards.txt: esp32.menu.PartitionScheme.default=Default 8MB with spiffs esp32.menu.FlashSize.8M=8MB (64Mb) Also I noticed a bug in another board definition and replaced the line... with the line |
Updated PR with the addition of default_8MB, the default partition for the esp32 is still 4MB so you will need to pick the schema and flash size accordingly. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 14 days if no further activity occurs. Thank you for your contributions. |
This stale issue has been automatically closed. Thank you for your contributions. |
Hello
I'm trying to use the Arduino framework on an ESP32-WROOM-32D with 8MB of flash.
I'm wondering why this official board is not supported by this official Espressif Arduino core.
You have support for all kinds of weird boards which most users probably will never see in their life but your official boards, in my case the ESP32-WROOM-32D, are not even listed as supported.
Users like me try to use "ESP32 Dev Module", which seems to be a sloppy way for writing "ESP32 DevKitC V4", as workaround but this board definition doesn't have a variant with 8MB of flash.
What do you recommend as a workaround for the time being until you have added full support for your own boards?
Best Regards
Triangulix
The text was updated successfully, but these errors were encountered: