libopencm3/libopencm3 — pull request #147 by fnoble (2013-05-10 20:56:27+00:00)
Title: F2/F4 Flash cleanup

Moved flash code to common area as it is shared between F2 and F4.

Tweaked the flash_sector_erase function to take a numerical sector number rather than having to pass in an obscure value defined in the header.

Added higher level flash writing function.