Go to file
chuck todd 7a332864ab I2C ReSTART returns Success (#2141)
* Don't Return I2C_ERROR_CONTINUE on ReSTART

ReSTART operations on the ESP32 have to be handled differently than on AVR chips, so ReSTART operations(`Wire.endTransmission(false), Wire.requestFrom(id,size,false);` are queued until a STOP is send (`Wire.endTransmission(TRUE), Wire.endTransmission(), Wire.requestFrom(id,size), Wire.requestFrom(id,size,TRUE)). To indicate the queuing I had used `I2C_ERROR_CONTINUE`, this caused compatibility issues with the existing Arduino I2C Code base. So, back to Lying to the public(for their own good of course) about success!  This update just returns `I2C_ERROR_OK` on ReSTART commands.

* add comments

add comments

* Change Return error for ReSTART operation to I2C_ERROR_OK

This change restores compatibility with pre-existing Arduino Libraries.  The ReSTART queuing operations are hidden behind the scenes.  Wire.endTransmission(id,len,FALSE); will know return I2C_ERROR_OK instead of I2C_ERROR_CONTINUE, Wire.lastError() will return the true condition of I2C_ERROR_CONTINUE.
2018-12-03 16:16:43 +01:00
cores/esp32 Clean warnings when all warning enabled (#2112) 2018-11-29 11:34:55 +01:00
docs layout fix (#1845) 2018-09-17 21:20:57 +02:00
libraries I2C ReSTART returns Success (#2141) 2018-12-03 16:16:43 +01:00
package Update IDF to 3.2-3276a13 and esptool.py to 2.5.0 (#1878) 2018-09-21 08:39:36 +02:00
tools Update IDF to afe4c76 and BLE lib (#2130) 2018-11-30 17:21:06 +01:00
variants bugfix lopy/pins_arduino.h (#2135) 2018-12-02 18:15:25 +01: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 * remove git clone --depth parameter (#2124) 2018-11-28 13:15:49 +01: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 adding D-duino-32 board/pins (#2030) 2018-11-19 19:29:57 +01:00
CMakeLists.txt Update IDF to afe4c76 and BLE lib (#2130) 2018-11-30 17:21:06 +01: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 Update IDF to a0468b2 (#2108) 2018-11-26 23:22:11 +01: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