Commit 5340b0c
CurieEEPROM refactor
This PR refactors CurieEEPROM library, syncing it with AVR version.
Since EEPROM on Curie chip is based on OTP flash storage, the minimum write
size is 4 bytes. The current implementation brings some problems like
http://forum.arduino.cc/index.php?topic=421348.0 , and the examples are
quite broken.
The refactor also changes the name, from CurieEEPROM to EEPROM, so code for
AVR sketches compiles out of the box. The new library resolution engine
(from IDE 1.6.8 onward) handles this perfectly but we can stick to older name
if we need compatibility with older IDEs.1 parent 4c69f72 commit 5340b0c
File tree
19 files changed
+701
-540
lines changed- libraries
- CurieEEPROM
- examples
- eeprom_clear
- eeprom_read
- eeprom_write
- src
- EEPROM
- examples
- eeprom_clear
- eeprom_crc
- eeprom_get
- eeprom_iteration
- eeprom_put
- eeprom_read
- eeprom_update
- eeprom_write
- src
19 files changed
+701
-540
lines changedLines changed: 0 additions & 25 deletions
This file was deleted.
Lines changed: 0 additions & 40 deletions
This file was deleted.
Lines changed: 0 additions & 38 deletions
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
0 commit comments