QMK/lib/chibios-contrib/testhal/KINETIS/TEENSY_LC/EEPROM_EMU
2020-03-23 10:48:11 +01:00
..
chconf.h initial upload 2020-03-23 10:48:11 +01:00
eeprom.c initial upload 2020-03-23 10:48:11 +01:00
eeprom.h initial upload 2020-03-23 10:48:11 +01:00
halconf_community.h initial upload 2020-03-23 10:48:11 +01:00
halconf.h initial upload 2020-03-23 10:48:11 +01:00
main.c initial upload 2020-03-23 10:48:11 +01:00
Makefile initial upload 2020-03-23 10:48:11 +01:00
mcuconf.h initial upload 2020-03-23 10:48:11 +01:00
MKL26Z64.ld initial upload 2020-03-23 10:48:11 +01:00
README.md initial upload 2020-03-23 10:48:11 +01:00

Teensy LC EEPROM emulation example

This example emulates 128 bytes of EEPROM, using 2K of flash. Some wear-levelling is done (see comments in eeprom.c).

Credits

Most of the actual EEPROM code is from PJRC/Teensyduino.