Go to file
chuck todd 7141e3e29d micros() returning inconsistend values when call from different tasks (#1165)
The cycle count that micros() is using to report timing is a PER Task value.  When micros() or delayMicroseconds() is called from different Tasks, the lastCycleCount value may have no relationship to the current Task specific cycleCount. If the current cycleCount is less than the saved lastCycleCount a rollover condition is assumed. This erroneous conditions results in incorrect delays and reported microseconds.  This fix creates thread local storage so that each Task will have accurate microsecond reporting and delays.  The reported microseconds are not real time, they are microseconds of the current Task execution.
2018-03-04 21:17:34 +01:00
cores/esp32 micros() returning inconsistend values when call from different tasks (#1165) 2018-03-04 21:17:34 +01:00
docs Changed Python version in Debian/Ubuntu install instructions (#1043) 2018-03-04 20:23:08 +01:00
libraries fix event reason logging > 176 (#1132) 2018-03-04 21:05:54 +01:00
package Updated to download mkspiffs 0.2.2 (#1159) 2018-03-04 21:11:40 +01:00
tools Fix coding stype as per PEP8 (#1105) 2018-03-04 21:01:17 +01:00
variants Add Pico Kit board configuration 2018-02-27 10:14:58 +01:00
.gitignore Ignore .DS_Store 2017-11-23 13:58:36 +01:00
.gitmodules Update IDF to de750e9 and add BLE (#723) 2017-10-13 22:07:41 +03:00
.travis.yml Minor fixes for PlatformIO (#881) 2017-11-26 19:35:21 +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 fix upload.maximum_size as current partition size 0x140000 for esp32vn-iot-uno & heltec boards (#1052) 2018-03-04 20:29:49 +01:00
component.mk Fix support for some arduino libraries which don't put source files under a src directory (#605) 2017-09-03 19:18:20 +03:00
Kconfig Implement ESP_LOGx override option 2017-10-14 00:06:55 +03:00
Makefile.projbuild Bump arduino version for IDF builds 2017-10-09 09:38:55 +03: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 enable exceptions in build flags 2018-01-19 12:48:45 +02:00
programmers.txt initial import 2016-10-06 07:09:44 -06:00
README.md Update README.md with install instructions for openSUSE (#585) 2017-09-26 17:49:18 +08: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