From 113d8c7f03eff74296af3a93a5d3fc0e950c7626 Mon Sep 17 00:00:00 2001 From: manuvelayudhan <36821019+manuvelayudhan@users.noreply.github.com> Date: Tue, 27 Feb 2018 13:25:51 +0530 Subject: [PATCH] Updated stlink_load_device_params() to include EEPROM parameters also. --- src/common.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/common.c b/src/common.c index b9b738203..e7f257321 100644 --- a/src/common.c +++ b/src/common.c @@ -675,6 +675,9 @@ int stlink_load_device_params(stlink_t *sl) { sl->sram_size = params->sram_size; sl->sys_base = params->bootrom_base; sl->sys_size = params->bootrom_size; + sl->eeprom_base = params->eeprom_base; + sl->eeprom_size = params->eeprom_size; + sl->eeprom_pgsz = params->eeprom_pagesize; //medium and low devices have the same chipid. ram size depends on flash size. //STM32F100xx datasheet Doc ID 16455 Table 2