2021-04-07 23:14:45 +02:00
|
|
|
#ifndef _FLASH_WRITER_H_
|
|
|
|
#define _FLASH_WRITER_H_
|
|
|
|
|
|
|
|
#include <stdint.h>
|
|
|
|
|
|
|
|
void flash_writer_enable_access(void);
|
|
|
|
|
|
|
|
void flash_writer_perform_mass_erase(void);
|
|
|
|
|
|
|
|
uint32_t flash_writer_get_flash_size(void);
|
|
|
|
|
|
|
|
uint32_t flash_writer_get_base_address(void);
|
|
|
|
|
2021-04-08 21:23:25 +02:00
|
|
|
int flash_writer_write_to_memory(void *dest, const void *src, uint32_t size);
|
2021-04-07 23:14:45 +02:00
|
|
|
|
|
|
|
#endif /* _FLASH_WRITER_H_ */
|