FLASH OPTR write routine implemented and tested.
Fixed wrong GPIO output values initialization.
This commit is contained in:
true
2023-10-21 04:43:58 -07:00
parent 13700b96ca
commit b581b87b86
6 changed files with 62 additions and 24 deletions

View File

@@ -871,7 +871,7 @@ ErrorStatus LL_FLASH_OBProgram(FLASH_OBProgramInitTypeDef *pOBInit)
FLASH->CR|=FLASH_CR_OPTSTRT;
/* set bit EOPIE */
// FLASH->CR|=FLASH_CR_EOPIE;
FLASH->CR|=FLASH_CR_EOPIE;
/* trigger program */
*((__IO uint32_t *)(0x40022080))=0xff;