#ifndef __FLASH_H_ #define __FLASH_H_ #if USE_SPI_FLASH void flash_write_byte(uint8 byte,uint32 addr); void flash_write_buf(uint8 *buf,uint32 num,uint32 addr); void flash_read_buf(uint8 *buf,uint32 len,uint32 addr); void flash_erase_sector(uint32 start_address,uint32 num); #endif #endif