sparkfun / Arduino_Apollo3

Arduino core to support the Apollo3 microcontroller from Ambiq Micro
83 stars 39 forks source link

progmem equivalent #385

Closed jerabaul29 closed 2 years ago

jerabaul29 commented 3 years ago

What is the recommended way to store data in a "PROGMEM equivalent" way? I saw some posts on the forum about using the "EEPROM" library but I wonder if this would be a bit unpractical (as no typing etc). Is there a way to simply add a keyword to a declaration so as to make a large array of static, constant data live natively in flash without any impact on the RAM?

Wenn0101 commented 2 years ago

Since this was posted, there are some updated EEPROM examples that could hopefully get someone going. Let me know if you still need help with this. closing.