mirror of
https://github.com/espressif/ESP8266_RTOS_SDK.git
synced 2025-10-24 20:51:49 +08:00
feat(console): Modify console for ESP8266
This commit is contained in:
@@ -776,3 +776,8 @@ uintptr_t spi_flash_cache2phys(const void *cached)
|
||||
|
||||
return segment * CACHE_2M_SIZE + (addr + addr_offset - CACHE_BASE_ADDR);
|
||||
}
|
||||
|
||||
size_t spi_flash_get_chip_size()
|
||||
{
|
||||
return flashchip.chip_size;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user