WIP code
FLASH OPTR write routine implemented and tested. Fixed wrong GPIO output values initialization.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user