feat(console): Modify console for ESP8266

This commit is contained in:
dongheng
2019-04-17 10:58:00 +08:00
parent b030b79d2e
commit e82ba45f03
12 changed files with 84 additions and 239 deletions

View File

@ -49,6 +49,15 @@ typedef enum {
typedef uint32_t spi_flash_mmap_handle_t;
#endif
/**
* @brief Get flash chip size, as set in binary image header
*
* @note This value does not necessarily match real flash size.
*
* @return size of flash chip, in bytes
*/
size_t spi_flash_get_chip_size();
/**
* @brief Erase the Flash sector.
*