Refs #1563. Improved STM32H7 flash driver to support more variants.

git-svn-id: https://svn.code.sf.net/p/openblt/code/trunk@981 5dc33758-31d5-4daf-9ae8-b24bf3d40d73
This commit is contained in:
Frank Voorburg 2022-08-19 11:28:45 +00:00
parent 69ed56536c
commit 2bf4bb9279
1 changed files with 1 additions and 1 deletions

View File

@ -707,7 +707,7 @@ static blt_bool FlashWriteBlock(tFlashBlockInfo *block)
blt_addr prog_addr;
blt_int8u volatile * prog_data;
blt_int32u word_cnt;
blt_int8u const word_size = 32U;
blt_int8u const word_size = FLASH_NB_32BITWORD_IN_FLASHWORD * 4U;
blt_int8u byte_idx;
/* check that the address is actually within flash */