stm32f3: flash: support basic write/erase operations
Originally filed as https://github.com/libopencm3/libopencm3/pull/627
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user