mirror of https://github.com/ARMmbed/mbed-os.git
Fix on chip flash minimal programmable unit size
- sector size is 0x800 bytes - writeable unit size is 0x8 bytes - flash start address is 0x0 - total ADuCM3029 on chip flash size is 0x40000 bytes - total ADuCM4050 on chip flash size is 0x7F000 bytespull/6367/head
parent
5523d53f83
commit
b26b682902
|
|
@ -76,7 +76,7 @@ static const sector_info_t sectors_info[] = {
|
|||
};
|
||||
|
||||
static const flash_target_config_t flash_target_config = {
|
||||
.page_size = 0x800,
|
||||
.page_size = 0x8, // minimal programmable unit size
|
||||
.flash_start = 0x0,
|
||||
.flash_size = 0x00040000,
|
||||
.sectors = sectors_info,
|
||||
|
|
|
|||
|
|
@ -74,7 +74,7 @@ static const sector_info_t sectors_info[] = {
|
|||
};
|
||||
|
||||
static const flash_target_config_t flash_target_config = {
|
||||
.page_size = 0x800,
|
||||
.page_size = 0x8, // minimal programmable unit size
|
||||
.flash_start = 0x0,
|
||||
.flash_size = 0x0007F000,
|
||||
.sectors = sectors_info,
|
||||
|
|
|
|||
Loading…
Reference in New Issue