File tree Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -65,7 +65,8 @@ static const sector_info_t sectors_info[] = {
65
65
};
66
66
67
67
static const flash_target_config_t flash_target_config = {
68
- .page_size = 0x800 , // 2 KB
68
+ .page_size = 4 , // 4 bytes
69
+ // Here page_size is program unit, which is different than FMC definition.
69
70
.flash_start = 0x0 ,
70
71
.flash_size = 0x40000 , // 256 KB
71
72
.sectors = sectors_info ,
Original file line number Diff line number Diff line change @@ -69,7 +69,8 @@ static const sector_info_t sectors_info[] = {
69
69
};
70
70
71
71
static const flash_target_config_t flash_target_config = {
72
- .page_size = 0x200 , // 512 bytes
72
+ .page_size = 4 , // 4 bytes
73
+ // Here page_size is program unit, which is different than FMC definition.
73
74
.flash_start = 0x0 ,
74
75
.flash_size = 0x80000 , // 512 KB
75
76
.sectors = sectors_info ,
Original file line number Diff line number Diff line change @@ -67,7 +67,8 @@ static const sector_info_t sectors_info[] = {
67
67
};
68
68
69
69
static const flash_target_config_t flash_target_config = {
70
- .page_size = 0x800 , // 2 KB
70
+ .page_size = 4 , // 4 bytes
71
+ // Here page_size is program unit, which is different than FMC definition.
71
72
.flash_start = 0x0 ,
72
73
.flash_size = 0x80000 , // 512 KB
73
74
.sectors = sectors_info ,
You can’t perform that action at this time.
0 commit comments