-1

I have some of the elegoo esp32 chips But platform IO does not have anything with the same ram as its 512K and all the default boards are only up to 320.KB. What could I select for platormio.ini and is there a setting in the platformIO.ini I could override to up the ram? I looked at the platform io board site, and it is not obvious? I am hoping it has integrated debugging too.

The board on its underside does say ESP32 devkitV1 if that helps?

The elegoo esp32 details from amazon.

It has Wi-Fi and Bluetooth built-in. (Bluetooth connection distance: 10M) The ESP32 is dual-core, which means it has 2 processors. It runs 32-bit programs. The clock frequency can go up to 240MHz and it has 512 kB RAM. This particular board has 30 pins. The ESP32 board offers a rich set of peripheral interfaces, including UART, SPI, SDIO, I2C, LED PWM, Motor PWM, I2S, IR, pulse counter, GPIO, capacitive touch sensor, ADC, DAC, Two-Wire Automotive Interface (ISO-11898-1 compatible). Memory: 240MHz dual-core microprocessor 4MB (32Mbit) SPI flash memory On-chip Hall Sensor. USB Powered CP2102 USB serial interface chip for simple communications and programming. ELEGOO ESP-32S development board is well-suited for applications in the Internet of Things (IoT), smart home, and wearable device domains, thanks to its powerful processing capabilities, comprehensive wireless connectivity, power-efficient design, and versatile peripheral interfaces. Additionally, the open-source software support provided offers great convenience for developers. USB Powered CP2102 USB serial interface chip for simple communications and programming.

1 Answer 1

0

For ESP32, basically within the 510kB of DRAM, 320kB are sram reserved for static allocated and heap memory, the other 200kB is iram. Read memory types about DRAM for more details.

Please noted that unlike CPU (used in your PC) where program is loaded and run in the RAM, for MCU like ESP32, your sketch is directly run in the flash memory, even included those const or declared with PROGMEM data, and only none const variables (dynamic or static allocated) are loaded into ram, so 320kB is a lot of memory.

What is the reason you need more than 320kB?

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.