zephyr: nucleo_f401re: use flash defines from DTS

Signed-off-by: Marti Bolivar <marti.bolivar@linaro.org>
This commit is contained in:
Marti Bolivar 2017-07-14 11:19:33 -04:00 committed by David Brown
parent 99b5b2cb56
commit 9203b1b9ed
1 changed files with 0 additions and 6 deletions

View File

@ -21,12 +21,6 @@
#define FLASH_DRIVER_NAME CONFIG_SOC_FLASH_STM32_DEV_NAME
#define FLASH_ALIGN 1
#define FLASH_AREA_IMAGE_0_OFFSET 0x20000
#define FLASH_AREA_IMAGE_0_SIZE 0x20000
#define FLASH_AREA_IMAGE_1_OFFSET 0x40000
#define FLASH_AREA_IMAGE_1_SIZE 0x20000
#define FLASH_AREA_IMAGE_SCRATCH_OFFSET 0x60000
#define FLASH_AREA_IMAGE_SCRATCH_SIZE 0x20000
/* Though sectors have variable size on this part, we've chosen
* three sectors with uniform size here. */