Go to file
per1234 c830511f01 EEPROM library: Move #include of Arduino.h to header file (#1641)
EEPROM.h uses data types which are declared through Arduino.h but that file does not contain an #include directive for Arduino.h. This does not cause any problems when the EEPROM library is #included from a .ino file because the Arduino IDE automatically adds an #include directive for Arduino.h but this is not the case for .cpp files. If a .cpp file has an #include directive for EEPROM.h that does not follow an #include directive for Arduino.h then compilation fails:

E:\arduino\hardware\espressif\esp32\libraries\EEPROM/EEPROM.h:91:5: error: 'float_t' does not name a type

     float_t readFloat(int address);

     ^

E:\arduino\hardware\espressif\esp32\libraries\EEPROM/EEPROM.h:92:5: error: 'double_t' does not name a type

     double_t readDouble(int address);

     ^

E:\arduino\hardware\espressif\esp32\libraries\EEPROM/EEPROM.h:95:5: error: 'String' does not name a type

     String readString(int address);

     ^

E:\arduino\hardware\espressif\esp32\libraries\EEPROM/EEPROM.h:110:36: error: 'float_t' has not been declared

     size_t writeFloat(int address, float_t value);

                                    ^

E:\arduino\hardware\espressif\esp32\libraries\EEPROM/EEPROM.h:111:37: error: 'double_t' has not been declared

     size_t writeDouble(int address, double_t value);

                                     ^

E:\arduino\hardware\espressif\esp32\libraries\EEPROM/EEPROM.h:114:37: error: 'String' has not been declared

     size_t writeString(int address, String value);
2018-07-16 20:44:36 +02:00
cores/esp32 Spurious Interrupts Temporary fix 20180711 (#1625) 2018-07-12 15:18:26 +02:00
docs Added OTAWebUpdater Doc (#1583) 2018-07-03 20:43:18 +02:00
libraries EEPROM library: Move #include of Arduino.h to header file (#1641) 2018-07-16 20:44:36 +02:00
package Change esptool version notation 2018-07-03 14:50:14 +02:00
tools * update 'version' in platform.txt (#1619) 2018-07-10 11:26:19 +02:00
variants Add ALKS board variant (#1643) 2018-07-16 20:43:35 +02:00
.gitignore Convert the few remaining cr/lf files to use lf for eol. (#1316) 2018-04-16 16:34:39 +02:00
.gitmodules Add submodule of Azure IoT library (#1448) 2018-05-31 14:52:02 +02:00
.travis.yml Update IDF to aaf1239 (#1539) 2018-06-27 09:01:06 +02:00
appveyor.yml Initial version of build script for @PlatformIO; CI integration for Linux, macOS and Windows (#153) 2017-01-28 14:19:56 +02:00
boards.txt Add ALKS board variant (#1643) 2018-07-16 20:43:35 +02:00
CMakeLists.txt Fix io16 io17 and PSRAM support (#1564) 2018-06-30 23:06:50 +02:00
component.mk Print to debug the IP address obtained by DHCP 2018-07-05 16:04:07 +02:00
Kconfig.projbuild Additional partition scheme min_spiffs (#1302) 2018-04-14 09:45:08 +02:00
Makefile.projbuild Enable PSRAM builds when used as IDF component 2018-07-15 10:20:01 +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 Wrover Support and Option to enable SPIRAM 2018-07-03 23:03:50 +02:00
programmers.txt initial import 2016-10-06 07:09:44 -06:00
README.md Added OTAWebUpdater Doc (#1583) 2018-07-03 20:43:18 +02:00

Arduino core for ESP32 WiFi chip

Build Status

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

Contents

Development Status

Most of the framework is implemented. Most noticable is the missing analogWrite. While analogWrite is on it's way, there are a few other options that you can use:

  • 16 channels LEDC which is PWM
  • 8 channels SigmaDelta which uses SigmaDelta modulation
  • 2 channels DAC which gives real analog output

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're sure no one else had the issue, follow the ISSUE_TEMPLATE while reporting any issue.

ESP32Dev Board PINMAP

Pin Functions

Hint

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