mirror of
https://github.com/im-tomu/foboot.git
synced 2024-09-20 02:40:09 +00:00
84d4b40897
Signed-off-by: Sean Cross <sean@xobs.io>
9 lines
283 B
C
9 lines
283 B
C
#ifndef __SPIFLASH_H
|
|
#define __SPIFLASH_H
|
|
|
|
void write_to_flash_page(unsigned int addr, const unsigned char *c, unsigned int len);
|
|
void erase_flash_sector(unsigned int addr);
|
|
void write_to_flash(unsigned int addr, const unsigned char *c, unsigned int len);
|
|
|
|
#endif /* __SPIFLASH_H */
|