Go to file
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
.github IDF master c13afea63 (#5214) 2021-05-31 16:32:51 +03:00
cores/esp32 Fix incorrect Flash Size in Esp32c3 (#5279) 2021-06-11 13:46:14 +03:00
docs Added the README template for examples and libraries (#5228) 2021-06-09 21:12:29 +03:00
libraries Fix wrong password same SSID (#5124) 2021-06-10 13:19:58 +03:00
package Update esptool 2021-05-28 10:05:19 +03:00
tools IDF master 1d7068e4b (#5257) 2021-06-09 13:12:47 +03:00
variants Added support for Trueverit ESP32 Universal IoT Driver MK II (#5269) 2021-06-10 11:57:10 +03:00
.gitignore Initial Esp32c3 Support (#5060) 2021-04-14 18:10:05 +03:00
.gitmodules v2.0.0 Add support for ESP32S2 and update ESP-IDF to 4.4 (#4996) 2021-04-05 14:23:58 +03:00
.travis.yml Use Github Actions for release (#3309) 2019-10-01 10:44:04 +03:00
boards.txt Added support for Trueverit ESP32 Universal IoT Driver MK II (#5269) 2021-06-10 11:57:10 +03:00
CMakeLists.txt Fix compilation for use as IDF component (#5265) 2021-06-09 12:56:12 +03:00
component.mk Fix compilation errors when used as IDF component 2019-01-26 21:37:03 +01:00
CONTRIBUTING.rst Add files via upload - CONTRIBUTING.rst (#5138) 2021-05-18 13:54:25 +03:00
Kconfig.projbuild v2.0.0 Add support for ESP32S2 and update ESP-IDF to 4.4 (#4996) 2021-04-05 14:23:58 +03:00
LICENSE.md Add LGPL 2.1 License 2019-04-16 03:08:50 +02:00
Makefile.projbuild Remove duplicate ota_data flashing under IDF 2018-08-16 13:34:47 +02:00
package.json Initial version of build script for @PlatformIO; CI integration for Linux, macOS and Windows (#153) 2017-01-28 14:19:56 +02:00
platform.txt Add support for build_opt.h in the sketch folder to use additional global build options (#5237) 2021-06-10 13:18:03 +03:00
programmers.txt initial import 2016-10-06 07:09:44 -06:00
README.md Added new boads pinout images for ESP32, ESP32-S2 and ESP32-C3 (#5133) 2021-05-18 13:33:57 +03:00

Arduino core for the ESP32

Build Status

Need help or have a question? Join the chat at https://gitter.im/espressif/arduino-esp32

Contents

ESP32-S2 and ESP32-C3 Support

If you want to test ESP32-S2 and/or ESP32-C3 through the board manager, please use the development release link: https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_dev_index.json and install the latest 2.0.0 version.

Development Status

Latest Stable Release Release Version Release Date Downloads

Latest Development Release Release Version Release Date Downloads

Installation Instructions

Decoding exceptions

You can use EspExceptionDecoder to get meaningful call trace.

Issue/Bug report template

Before reporting an issue, make sure you've searched for similar one that was already created. Also make sure to go through all the issues labelled as for reference.

Finally, if you are sure no one else had the issue, follow the ISSUE_TEMPLATE while reporting any issue.

ESP32Dev Board PINMAP

Pin Functions

ESP32S2_Pinmap

ESP32C3_Pinmap

Tip

Sometimes to program ESP32 via serial you must keep GPIO0 LOW during the programming process