aboutsummaryrefslogtreecommitdiff
path: root/docs/eeprom_driver.md
diff options
context:
space:
mode:
authorNick Brassel <nick@tzarc.org>2020-03-12 12:59:55 +1100
committerGitHub <noreply@github.com>2020-03-12 12:59:55 +1100
commitf2f2afe13ba3ae1da8a546ad85eb9e69ddc70a8a (patch)
tree6c5b20825aa0c28be64eebce4c4a69ca638cd774 /docs/eeprom_driver.md
parent3a3ea03b6ef51698de39e545e9ca1d8e1d093e31 (diff)
downloadqmk_firmware-f2f2afe13ba3ae1da8a546ad85eb9e69ddc70a8a.tar.gz
qmk_firmware-f2f2afe13ba3ae1da8a546ad85eb9e69ddc70a8a.zip
Add support for STM32L0/L1 onboard EEPROM. (#8002)
* Add support for STM32L0/L1 onboard EEPROM. * Update docs/eeprom_driver.md Co-Authored-By: Joel Challis <git@zvecr.com> Co-authored-by: Joel Challis <git@zvecr.com>
Diffstat (limited to 'docs/eeprom_driver.md')
-rw-r--r--docs/eeprom_driver.md12
1 files changed, 7 insertions, 5 deletions
diff --git a/docs/eeprom_driver.md b/docs/eeprom_driver.md
index dd12d8ec7..5a91a7c2d 100644
--- a/docs/eeprom_driver.md
+++ b/docs/eeprom_driver.md
@@ -2,14 +2,16 @@
2 2
3The EEPROM driver can be swapped out depending on the needs of the keyboard, or whether extra hardware is present. 3The EEPROM driver can be swapped out depending on the needs of the keyboard, or whether extra hardware is present.
4 4
5Driver | Description 5Driver | Description
6--------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 6-----------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
7`EEPROM_DRIVER = vendor` | Uses the on-chip driver provided by the chip manufacturer. For AVR, this is provided by avr-libc. This is supported on ARM for a subset of chips -- STM32F3xx, STM32F1xx, and STM32F072xB will be emulated by writing to flash. Other chips will generally act as "transient" below. 7`EEPROM_DRIVER = vendor` (default) | Uses the on-chip driver provided by the chip manufacturer. For AVR, this is provided by avr-libc. This is supported on ARM for a subset of chips -- STM32F3xx, STM32F1xx, and STM32F072xB will be emulated by writing to flash. STM32L0xx and STM32L1xx will use the onboard dedicated true EEPROM. Other chips will generally act as "transient" below.
8`EEPROM_DRIVER = i2c` | Supports writing to I2C-based 24xx EEPROM chips. See the driver section below. 8`EEPROM_DRIVER = i2c` | Supports writing to I2C-based 24xx EEPROM chips. See the driver section below.
9`EEPROM_DRIVER = transient` | Fake EEPROM driver -- supports reading/writing to RAM, and will be discarded when power is lost. 9`EEPROM_DRIVER = transient` | Fake EEPROM driver -- supports reading/writing to RAM, and will be discarded when power is lost.
10 10
11## Vendor Driver Configuration 11## Vendor Driver Configuration
12 12
13!> Resetting EEPROM using an STM32L0/L1 device takes up to 1 second for every 1kB of internal EEPROM used.
14
13No configurable options are available. 15No configurable options are available.
14 16
15## I2C Driver Configuration 17## I2C Driver Configuration