Jason2866 ea236e28e5
Fix incorrect Flash Size in Esp32c3 (#5279)
original PR #5278 from @s-hadinger, which is not accepted because of failure of CLAassistant

`ESP.getFlashChipSize()` always returns `0` on Esp32c3 due to a change in the Flash layout. It looks like to Espressif documentation was not updated accordingly.

https://docs.espressif.com/projects/esp-idf/en/latest/esp32c3/api-reference/storage/spi_flash.html#spi-flash-size

- Esp32 and Esp32s3 have the flash information update by esptool.py
and decribed here
- https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-reference/storage/spi_flash.html
Esp32c3 has no image information at 0x0000 and contrary to the docu
this information is at offset 0x0000
2021-06-11 13:46:14 +03:00
..
2021-03-11 12:11:53 +02:00
2016-10-06 07:09:44 -06:00
2016-10-06 07:09:44 -06:00
2021-03-11 12:11:53 +02:00
2021-03-11 12:11:53 +02:00
2021-03-11 12:11:53 +02:00
2021-03-11 12:11:53 +02:00
2021-03-11 12:11:53 +02:00
2021-03-11 12:11:53 +02:00
2021-04-15 14:32:03 +03:00
2021-03-11 12:11:53 +02:00
2021-03-11 12:11:53 +02:00
2021-03-11 12:11:53 +02:00
2021-03-11 12:11:53 +02:00
2021-04-15 12:46:53 +03:00
2016-12-12 01:32:55 +02:00
2016-12-12 01:32:55 +02:00
2021-03-11 12:11:53 +02:00
2021-03-11 12:11:53 +02:00
2016-10-06 07:09:44 -06:00
2021-04-14 18:10:05 +03:00
2020-11-08 04:55:59 +02:00
2021-01-11 11:43:10 +02:00
2016-10-06 07:09:44 -06:00
2018-06-27 09:01:06 +02:00
2016-10-06 07:09:44 -06:00
2019-05-11 11:16:05 +03:00
2021-05-31 16:32:51 +03:00
2016-10-06 07:09:45 -06:00
2017-01-20 21:49:17 +02:00
2020-11-02 22:11:26 +02:00
2021-05-18 14:01:20 +03:00