/** ****************************************************************************** * @file eeprom_emul_conf.h * @author MCD Application Team * @brief EEPROM emulation configuration file. * This file should be copied to the application folder and renamed * to eeprom_emul_conf.h. ****************************************************************************** * @attention * *

© Copyright (c) 2020 STMicroelectronics. * All rights reserved.

* * This software component is licensed by ST under BSD 3-Clause license, * the "License"; You may not use this file except in compliance with the * License. You may obtain a copy of the License at: * opensource.org/licenses/BSD-3-Clause * ****************************************************************************** */ /** @addtogroup EEPROM_Emulation * @{ */ /* Define to prevent recursive inclusion -------------------------------------*/ #ifndef __EEPROM_EMUL_CONF_H #define __EEPROM_EMUL_CONF_H /* Configuration of eeprom emulation in flash, can be custom */ #define START_PAGE_ADDRESS 0x800E000U /*!< Start address of the 1st page in flash, for EEPROM emulation */ #define CYCLES_NUMBER 1U /*!< Number of 10Kcycles requested, minimum 1 for 10Kcycles (default), for instance 10 to reach 100Kcycles. This factor will increase pages number */ #define GUARD_PAGES_NUMBER 2U /*!< Number of guard pages avoiding frequent transfers (must be multiple of 2): 0,2,4.. */ #define NB_OF_VARIABLES 1000U /*!< Number of variables to handle in eeprom */ #endif /* __EEPROM_EMUL_CONF_H */ /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/