QMK/lib/chibios-contrib/testhal/KINETIS/TEENSY3_x/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
Makefile.3_0 initial upload 2020-03-23 10:48:11 +01:00
mcuconf.h initial upload 2020-03-23 10:48:11 +01:00
README.md initial upload 2020-03-23 10:48:11 +01:00

Teensy 3.0 EEPROM via FlexRAM example

FlexRAM, which is present on K20x MCUs, is configured to EEPROM mode, so it behaves like EEPROM. The maximum available size is 2K, but explicitly using a smaller chunk enables wear-levelling and increases write endurance.

Credits

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