Timeline for Saving byte array in PROGMEM instead of SRAM
Current License: CC BY-SA 3.0
7 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Sep 17, 2023 at 11:45 | comment | added | Peter Mortensen | Related: Can I write to flash memory using PROGMEM? and Writing objects to PROGMEM | |
| Jan 17, 2016 at 8:22 | comment | added | dlu | As it stands, this would make more sense as a comment. But if you can address the OP's issue – how to store the MAC address outside of SRAM then it would be a good answer. | |
| Jan 17, 2016 at 3:54 | comment | added | Nick Gammon♦ | Since the original question indicated the OP was having trouble accessing PROGMEM, s/he may also have problems with EEPROM. Could you perhaps expand your answer with a code snippet that illustrates how your suggestion would work? | |
| Jan 17, 2016 at 3:53 | answer | added | Nick Gammon♦ | timeline score: 2 | |
| Jan 16, 2016 at 17:34 | comment | added | IOB Toolkit Team | MAC addresses are usually configurable, so I'd rather store it in EEPROM. | |
| Jan 16, 2016 at 11:30 | comment | added | Mikael Patel | Try "const byte mac[] PROGMEM = { ... };" arduino.cc/en/Reference/PROGMEM | |
| Jan 16, 2016 at 10:25 | history | asked | Ido Daniel | CC BY-SA 3.0 |