How to use HAL_FLASH_Program_IT ?
How to use HAL_FLASH_Program_IT ?
I got HAL_FLASHEx_Erase() and HAL_FLASH_Program() working OK
But it is blocking code and want to avoid using it.
When I try HAL_FLASHEx_Erase_IT() the return value seems to say everything went OK,
but when I do HAL_FLASH_Program_IT() it return value suggest its busy and does not write anything.
Even if I put 100ms delays between erase and program, its still busy.
Seems like some interrupt not enabled - but not sure which interrupt needs
enabling as it escapes documentation time and time again in all the various
available documentation and forums.