Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
stm32f4: Fixes erase_mass command return error.
The final erase_mass command check is looking for the EOP (End of OPeration) bit to be set. This bit is only set when the EOP interrupts (EOPIE = 1) are enabled. We are not enabling those on the target so this bit will never get set. As we are monitoring the BSY flag to make sure the erase_mass operation is still ongoing and finished it is enough if we just check the error flags.
- Loading branch information