stm32f3: flash: support basic write/erase operations

Originally filed as https://github.com/libopencm3/libopencm3/pull/627
This commit is contained in:
Karl Palsson
2018-07-25 23:37:12 +00:00
parent 3293913be2
commit b8ede60d9d
2 changed files with 48 additions and 1 deletions

View File

@@ -99,6 +99,9 @@ BEGIN_DECLS
void flash_clear_pgerr_flag(void);
void flash_clear_wrprterr_flag(void);
void flash_program_half_word(uint32_t address, uint16_t data);
void flash_erase_page(uint32_t page_address);
void flash_erase_all_pages(void);
END_DECLS