altos/telegps-v3.0: Use eeprom for config
authorKeith Packard <keithp@keithp.com>
Tue, 28 Mar 2023 04:52:27 +0000 (21:52 -0700)
committerKeith Packard <keithp@keithp.com>
Tue, 28 Mar 2023 14:56:05 +0000 (07:56 -0700)
Avoid wasting space in the SPI flash part for device config

Signed-off-by: Keith Packard <keithp@keithp.com>
src/telegps-v3.0/ao_pins.h

index 03989141244e3fe2945adca58385ba8360c192a2..592ec5c651708fbbdc76361307e38fa677dcc92f 100644 (file)
@@ -23,6 +23,8 @@
 
 #define IS_FLASH_LOADER                0
 
+#define LPC_EEPROM_BYTES       2048
+
 /* Crystal on the board */
 #define AO_LPC_CLKIN   12000000
 
@@ -43,6 +45,9 @@
 
 #define HAS_EEPROM             1
 #define USE_INTERNAL_FLASH     0
+#define USE_EEPROM_CONFIG      1
+#define USE_STORAGE_CONFIG     0
+#define LOG_ERASE_MARK         0
 #define HAS_USB                        1
 #define HAS_BEEP               0
 #define HAS_RADIO              1