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

@@ -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;
}