Consolidate some EEPROM Driver configuration (#22321)
This commit is contained in:
@ -24,11 +24,9 @@
|
||||
|
||||
// FRAM configuration
|
||||
#ifndef EXTERNAL_EEPROM_SPI_SLAVE_SELECT_PIN
|
||||
# define EEPROM_SPI_MB85RS64V
|
||||
# define EXTERNAL_EEPROM_SPI_SLAVE_SELECT_PIN PAL_LINE(GPIOA, 0)
|
||||
# define EXTERNAL_EEPROM_SPI_CLOCK_DIVISOR 8 // 96MHz / 8 = 12MHz; max supported by MB85R64 is 20MHz
|
||||
# define EXTERNAL_EEPROM_BYTE_COUNT 8192
|
||||
# define EXTERNAL_EEPROM_PAGE_SIZE 64 // does not matter for FRAM, just sets the RAM buffer size in STM32F chip
|
||||
# define DYNAMIC_KEYMAP_EEPROM_MAX_ADDR 8191
|
||||
#endif
|
||||
|
||||
// External flash configuration
|
||||
|
Reference in New Issue
Block a user