summaryrefslogtreecommitdiff
path: root/platforms
diff options
context:
space:
mode:
authorJoel Challis <git@zvecr.com>2023-10-23 00:37:27 +0100
committerGitHub <noreply@github.com>2023-10-23 00:37:27 +0100
commitbf6f13a2b0a185e935b8554e41317ab471a4c0ec (patch)
tree23d1f65f68e4ae8c1b236ed8ac5daccfa8ead348 /platforms
parent79094d3f72709be3c55bd8f22cc0a7e98f4b6564 (diff)
Consolidate some EEPROM Driver configuration (#22321)
Diffstat (limited to 'platforms')
-rw-r--r--platforms/chibios/boards/BONSAI_C4/configs/config.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/platforms/chibios/boards/BONSAI_C4/configs/config.h b/platforms/chibios/boards/BONSAI_C4/configs/config.h
index 7539ebed41..193b028bde 100644
--- a/platforms/chibios/boards/BONSAI_C4/configs/config.h
+++ b/platforms/chibios/boards/BONSAI_C4/configs/config.h
@@ -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