cancel
Showing results for 
Search instead for 
Did you mean: 

Are there any example projects for how to use HAL_FLASHEx_Erase_IT? I am using the STM32G484 and its LL driver elsewhere in the code.

DBroo.1
Associate III
1 REPLY 1
Diane POMABIA
ST Employee

Hi @Community member​ 

The list of our examples that use the function is available at the link: https://github.com/STMicroelectronics/STM32CubeG4/tree/master/Projects depending on the card used you have a FLASH folder.

However, we use it without the interrupt. You can adapt the FLASH_EraseProgram project by replacing the HAL_FLASHEx_Erase function with HAL_FLASHEx_Erase_IT and modifying the code and configuration to take into account the generation of the interrupt on the flash. 

Regards

Diane