Giter VIP home page Giter VIP logo

Comments (5)

valeros avatar valeros commented on July 23, 2024

We use the same size as the Arduino IDE https://github.com/espressif/arduino-esp32/blob/master/boards.txt#L356
As a workaround, you can adjust that value in your platformio.ini:

board_upload.maximum_ram_size = 524288

from platform-espressif32.

QuickJack avatar QuickJack commented on July 23, 2024

So Arduino IDE is using the wrong RAM size as well. What is the reason behind this decision?

from platform-espressif32.

valeros avatar valeros commented on July 23, 2024

What is the reason behind this decision?

Even though technically the SRAM size is 512kb (distributed between IRAM and DRAM), the maximum_ram_size field only represents DRAM size (320kb) used for non-constant static data.

from platform-espressif32.

QuickJack avatar QuickJack commented on July 23, 2024

Besides the esp32-c6-devkitm-1 there is a esp32-c6-devkitc-1. They have the following documentation pages which both link to the same datasheet for the ESP32-c6:

However, the template for the esp32-c6-devkitc-1 specifies 512k whereas the template for the esp32-c6-devkitm-1 specifies only 320k. Both boards seem to contain the same chip. Why is maximum_ram_size different for these two templates?

from platform-espressif32.

valeros avatar valeros commented on July 23, 2024

Thanks for pointing out, that's an oversight, fixed in d91a581

from platform-espressif32.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.