Go to file
chuck todd 9db207afbe Improve bus recovery (#1767)
If the esp32 is reset during a i2c read cycle the slave device may be in control of the SDA line.  

If the SDA line is held low, the esp32 cannot issue a START or STOP to recover the bus. 

The previous code did not correctly configure the SCL output pin, and it cycled SCL 9 times with SDA Low.  Since the slave device was in a READ cycle, it just continued outputting the bits of the current byte.  When the ACK/NAK bit space occurred, The low output value of SDA was interpreted as ACK so the slave device continued with the next byte.  It never terminated the READ cycle. 

This new code will correctly recover from an interrupted READ
2018-08-18 08:50:59 +02:00
cores/esp32 Improve bus recovery (#1767) 2018-08-18 08:50:59 +02:00
docs Update mac.md (#1760) 2018-08-18 08:50:14 +02:00
libraries Informations about WifiClientEnterprise.ino sketch (#1737) 2018-08-14 12:00:31 +02:00
package Change esptool version notation 2018-07-03 14:50:14 +02:00
tools Switch to isolated build flags per framework (#1748) 2018-08-14 12:01:07 +02:00
variants add LOLIN D32 & D32 PRO Board support (#1688) 2018-07-28 10:27:26 +03: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 LOLIN D32 & D32 PRO Board support (#1688) 2018-07-28 10:27:26 +03:00
CMakeLists.txt Fix io16 io17 and PSRAM support (#1564) 2018-06-30 23:06:50 +02:00
component.mk fix compilation errors in idf 2018-07-25 22:39:32 +02:00
Kconfig.projbuild Feature/selective compilation (#1671) 2018-07-25 13:02:37 +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 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 Cleanup on README and boards_manager (#1693) 2018-07-30 10:21:03 +03: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

Latest stable release Release Version Release Date

Latest development release Development Version Development Date

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