Skip to content

Commit

Permalink
Updated stlink_load_device_params() to include EEPROM parameters also.
Browse files Browse the repository at this point in the history
  • Loading branch information
manuvelayudhan committed Feb 27, 2018
1 parent f975828 commit 113d8c7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/common.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 113d8c7

Please sign in to comment.