• Skip to main content
  • Skip to primary sidebar

RNTLab.com

The Ultimate Shortcut to Learn Electronics and Programming with Open Source Hardware and Software

  • Courses
  • Forum
    • Forum
    • Ask Question
  • Shop
  • Account
  • Blog
  • Login

size of flash memory with Preferences.h instead of EEprom

Q&A Forum › Category: ESP32 › size of flash memory with Preferences.h instead of EEprom
0 Vote Up Vote Down
Alf Munich asked 4 years ago

I would like to use the Preferences.h to store settings for my project.
You made a pretty good description how to read and write but I didn’t find the size how many … data … I can store there.
EEprom: 512k
But with Preferences.h there are several options for the data types so I think the 512k must be calculated according the Data type but is there a additional Flag for the datatype and the position in the EEprom area to be added to the size of the datatype?
Is there  a formular to calculate the available EEprom space?
 

Question Tags: Flash Memory
1 Answers
0 Vote Up Vote Down
Sara Santos Staff answered 4 years ago

Hi.
I’m not sure. But I found an article stating: “By default, 20 KB of space is reserved for preferences”.
https://www.tutorialspoint.com/esp32_for_iot/esp32_for_iot_preferences.htm
Regards.
Sara

Primary Sidebar

Login to Ask or Answer Questions

This Forum is private and it’s only available for members enrolled in our Courses.

Login »

Latest Course Updates

  • [eBook Updated] Learn Raspberry Pi Pico/Pico W with MicroPython eBook – Version 1.2 May 26, 2025
  • [New Edition] Build ESP32-CAM Projects eBook – 2nd Edition April 16, 2025

You must be logged in to view this content.

Contact Support - Refunds - Privacy - Terms - MakerAdvisor.com - Member Login

Copyright © 2013-2025 · RandomNerdTutorials.com · All Rights Reserved

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.