Move EEPROM_SIZE from config_state.h to eeprom.h

This commit is contained in:
László Monda
2017-08-06 16:55:12 +02:00
parent f779f3ec6f
commit 48cd8f374a
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -5,10 +5,10 @@
#include <stdint.h> #include <stdint.h>
#include "fsl_common.h" #include "fsl_common.h"
#include "eeprom.h"
// Macros: // Macros:
#define EEPROM_SIZE (32*1024)
#define HARDWARE_CONFIG_SIZE 64 #define HARDWARE_CONFIG_SIZE 64
#define USER_CONFIG_SIZE (EEPROM_SIZE - HARDWARE_CONFIG_SIZE) #define USER_CONFIG_SIZE (EEPROM_SIZE - HARDWARE_CONFIG_SIZE)
+1
View File
@@ -3,6 +3,7 @@
// Macros: // Macros:
#define EEPROM_SIZE (32*1024)
#define EEPROM_ADDRESS_LENGTH 2 #define EEPROM_ADDRESS_LENGTH 2
#define EEPROM_PAGE_SIZE 64 #define EEPROM_PAGE_SIZE 64
#define EEPROM_BUFFER_SIZE (EEPROM_ADDRESS_LENGTH + EEPROM_PAGE_SIZE) #define EEPROM_BUFFER_SIZE (EEPROM_ADDRESS_LENGTH + EEPROM_PAGE_SIZE)