From a286584acd50ceb006b8fbdb41ce056542abc09b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nima=20Askari=20-----=20=D9=86=DB=8C=D9=85=D8=A7=20=D8=B9?= =?UTF-8?q?=D8=B3=DA=A9=D8=B1=DB=8C?= Date: Tue, 12 May 2020 08:42:35 +0430 Subject: [PATCH] Add files via upload --- ee.c | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/ee.c b/ee.c index 956e61c..4913ce1 100644 --- a/ee.c +++ b/ee.c @@ -7,7 +7,7 @@ #define SECTOR 1 #if defined(STM32F103xB) -#define _EE_SIZE 1024 +#define _EE_SIZE 1024 #define _EE_ADDR_INUSE (((uint32_t)0x08000000) | (_EE_SIZE * _EE_USE_FLASH_PAGE_OR_SECTOR)) #define _EE_FLASH_BANK FLASH_BANK_1 #define _EE_PAGE_OR_SECTOR PAGE @@ -17,7 +17,7 @@ #endif #if defined(STM32F103x8) -#define _EE_MAX_SIZE 1024 +#define _EE_MAX_SIZE 1024 #define _EE_ADDR_INUSE (((uint32_t)0x08000000) | (_EE_MAX_SIZE * _EE_USE_FLASH_PAGE_OR_SECTOR)) #define _EE_FLASH_BANK FLASH_BANK_1 #define _EE_PAGE_OR_SECTOR PAGE @@ -27,7 +27,7 @@ #endif #if defined(STM32F103xC) -#define _EE_SIZE 2048 +#define _EE_SIZE 2048 #define _EE_ADDR_INUSE (((uint32_t)0x08000000) | (_EE_SIZE * _EE_USE_FLASH_PAGE_OR_SECTOR)) #define _EE_FLASH_BANK FLASH_BANK_1 #define _EE_PAGE_OR_SECTOR PAGE @@ -37,7 +37,7 @@ #endif #if defined(STM32F103xD) -#define _EE_SIZE 2048 +#define _EE_SIZE 2048 #define _EE_ADDR_INUSE (((uint32_t)0x08000000) | (_EE_SIZE * _EE_USE_FLASH_PAGE_OR_SECTOR)) #define _EE_FLASH_BANK FLASH_BANK_1 #define _EE_PAGE_OR_SECTOR PAGE @@ -47,7 +47,7 @@ #endif #if defined(STM32F103xE) -#define _EE_SIZE 2048 +#define _EE_SIZE 2048 #define _EE_ADDR_INUSE (((uint32_t)0x08000000) | (_EE_SIZE * _EE_USE_FLASH_PAGE_OR_SECTOR)) #define _EE_FLASH_BANK FLASH_BANK_1 #define _EE_PAGE_OR_SECTOR PAGE @@ -57,7 +57,7 @@ #endif #if defined(STM32F030x4) || defined(STM32F042x4) || defined(STM32F070x4) -#define _EE_SIZE 1024 +#define _EE_SIZE 1024 #define _EE_ADDR_INUSE (((uint32_t)0x08000000) | (_EE_SIZE * _EE_USE_FLASH_PAGE_OR_SECTOR)) #define _EE_PAGE_OR_SECTOR PAGE #if (_EE_USE_FLASH_PAGE_OR_SECTOR > 15) @@ -66,7 +66,7 @@ #endif #if defined(STM32F030x6) || defined(STM32F042x6) || defined(STM32F070x6) -#define _EE_SIZE 1024 +#define _EE_SIZE 1024 #define _EE_ADDR_INUSE (((uint32_t)0x08000000) | (_EE_SIZE * _EE_USE_FLASH_PAGE_OR_SECTOR)) #define _EE_PAGE_OR_SECTOR PAGE #if (_EE_USE_FLASH_PAGE_OR_SECTOR > 31) @@ -75,7 +75,7 @@ #endif #if defined(STM32F030x8) || defined(STM32F042x8) -#define _EE_SIZE 1024 +#define _EE_SIZE 1024 #define _EE_ADDR_INUSE (((uint32_t)0x08000000) | (_EE_SIZE * _EE_USE_FLASH_PAGE_OR_SECTOR)) #define _EE_PAGE_OR_SECTOR PAGE #if (_EE_USE_FLASH_PAGE_OR_SECTOR > 63) @@ -84,7 +84,7 @@ #endif #if defined(STM32F070xB) -#define _EE_SIZE 2048 +#define _EE_SIZE 2048 #define _EE_ADDR_INUSE (((uint32_t)0x08000000) | (_EE_SIZE * _EE_USE_FLASH_PAGE_OR_SECTOR)) #define _EE_PAGE_OR_SECTOR PAGE #if (_EE_USE_FLASH_PAGE_OR_SECTOR > 63) @@ -93,7 +93,7 @@ #endif #if defined(STM32F070xC) -#define _EE_SIZE 2048 +#define _EE_SIZE 2048 #define _EE_ADDR_INUSE (((uint32_t)0x08000000) | (_EE_SIZE * _EE_USE_FLASH_PAGE_OR_SECTOR)) #define _EE_PAGE_OR_SECTOR PAGE #if (_EE_USE_FLASH_PAGE_OR_SECTOR > 127) @@ -103,7 +103,7 @@ #if defined(STM32F405xx) || defined(STM32F407xx) || defined(STM32F415xx) || defined(STM32F417xx) -#define _EE_SIZE (1024 * 128) +#define _EE_SIZE (1024 * 128) #define _EE_ADDR_INUSE (((uint32_t)0x08020000) | (_EE_SIZE*(_EE_USE_FLASH_PAGE_OR_SECTOR - 5))) #define _EE_FLASH_BANK FLASH_BANK_1 #define _EE_VOLTAGE_RANGE _EE_VOLTAGE