Skip to content

Commit 9c2c1dc

Browse files
committed
Fixed STM32F407VE sectors_info type.
1 parent e15cb79 commit 9c2c1dc

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

source/family/st/stm32f407ve/flash_blob.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,10 +53,10 @@ static const uint32_t flash_size = 0x00080000;
5353
* The last pair in the list will have sectors starting at that address and ending
5454
* at address flash_start + flash_size.
5555
*/
56-
static const uint32_t sectors_info[] = {
57-
0x08000000, 0x00004000,
58-
0x08010000, 0x00010000,
59-
0x08020000, 0x00020000,
56+
static const sector_info_t sectors_info[] = {
57+
{ 0x08000000, 0x00004000 },
58+
{ 0x08010000, 0x00010000 },
59+
{ 0x08020000, 0x00020000 },
6060
};
6161

6262
static const program_target_t flash = {

0 commit comments

Comments
 (0)