Skip to content
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

Hardware, ESP32 Memory Size, What Do We Need #142

Open
ForrestErickson opened this issue Jan 23, 2025 · 2 comments
Open

Hardware, ESP32 Memory Size, What Do We Need #142

ForrestErickson opened this issue Jan 23, 2025 · 2 comments
Assignees
Labels
documentation Improvements or additions to documentation

Comments

@ForrestErickson
Copy link
Collaborator

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

We want to build Krake with ESP32 and have to choose between -N4, -N8 and -N16 memory size.
We do not know the size of what our development kits memory, so we do not know what to order from JLCPCB

The datasheet for the N4 says it is not approved for new design.

How much memory do we need?

Describe the solution you'd like
A clear and concise description of what you want to happen.
We want to know what to use.

@ForrestErickson ForrestErickson added the documentation Improvements or additions to documentation label Jan 23, 2025
@ForrestErickson
Copy link
Collaborator Author

ForrestErickson commented Jan 23, 2025

An Ai found a sketch which returns the memory size.

void setup() {
    Serial.begin(115200);
    while (!Serial);

    // Print flash size
    Serial.println("Flash Size:");
    Serial.println(ESP.getFlashChipSize() / (1024 * 1024));
}

void loop() {
    // Do nothing
}

Lee compiled and loaded and got:

13:04:57.439 -> Flash Size:
13:04:57.490 -> 4

The micro controllers Lee has return 4 (Meg)
The micro controllers Nagham has return 4 (Meg)

Nagham compiled and loaded and got:
Image

@RobertLRead
Copy link
Contributor

RobertLRead commented Jan 23, 2025 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

3 participants