From 79600f2fbecfdcc8107041bdb831ad269f83d76a Mon Sep 17 00:00:00 2001 From: sjlongland Date: Sun, 27 Sep 2015 06:41:19 +0000 Subject: [PATCH] stm32f4_vrom: Correct sector size. The sectors are 16kB, not 64kB. (Yes, brain fart moment yesterday.) git-svn-id: https://svn.code.sf.net/p/freetel/code@2406 01035d8c-6547-0410-b346-abe4f91aad63 --- codec2-dev/stm32/src/stm32f4_vrom.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/codec2-dev/stm32/src/stm32f4_vrom.c b/codec2-dev/stm32/src/stm32f4_vrom.c index 987211f2..5b661265 100644 --- a/codec2-dev/stm32/src/stm32f4_vrom.c +++ b/codec2-dev/stm32/src/stm32f4_vrom.c @@ -34,7 +34,7 @@ #include "stm32f4xx_flash.h" #include "stm32f4xx_crc.h" -#define VROM_SECT_SZ (65536) /*!< Size of a flash sector */ +#define VROM_SECT_SZ (16384) /*!< Size of a flash sector */ #define VROM_SECT_CNT (3) /*!< Number of sectors */ #define VROM_BLOCK_SZ (256) /*!< Size of a flash block */ -- 2.25.1