mirror of
https://github.com/espressif/ESP8266_RTOS_SDK.git
synced 2025-08-26 21:00:17 +08:00
feat(console): Modify console for ESP8266
This commit is contained in:
@ -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.
|
||||
*
|
||||
|
Reference in New Issue
Block a user