From 83e9f70dd83d2f14f7297f1968724edc778589e5 Mon Sep 17 00:00:00 2001 From: Jens Hoffmann Date: Fri, 21 Feb 2014 15:12:16 +0100 Subject: [PATCH] Added STM32F401RE chip id. Nucleo F401RE board got 512K flash and 96K sram. This commit adds device definition for this controller. --- src/stlink-common.h | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/stlink-common.h b/src/stlink-common.h index 4005604..8430fc5 100644 --- a/src/stlink-common.h +++ b/src/stlink-common.h @@ -106,6 +106,7 @@ extern "C" { #define STM32_CHIPID_F4 0x413 #define STM32_CHIPID_F4_HD 0x419 #define STM32_CHIPID_F4_LP 0x423 +#define STM32_CHIPID_F4_DE 0x433 #define STM32_CHIPID_F1_HIGH 0x414 #define STM32_CHIPID_L1_MEDIUM 0x416 #define STM32_CHIPID_L1_MEDIUM_PLUS 0x427 @@ -204,6 +205,15 @@ static const chip_params_t devices[] = { .bootrom_base = 0x1fff0000, .bootrom_size = 0x7800 }, + { + .chip_id = STM32_CHIPID_F4_DE, + .description = "F4 device (Dynamic Efficency)", + .flash_size_reg = 0x1FFF7A22, + .flash_pagesize = 0x4000, + .sram_size = 0x18000, + .bootrom_base = 0x1fff0000, + .bootrom_size = 0x7800 + }, { .chip_id = STM32_CHIPID_F1_HIGH, .description = "F1 High-density device", -- 2.47.2