2016-12-10 17:28:24 +01:00
# Arduino core for ESP32 WiFi chip
2016-10-06 13:36:15 +02:00
2017-01-28 13:15:42 +01:00
[![Build Status ](https://travis-ci.org/espressif/arduino-esp32.svg?branch=master )](https://travis-ci.org/espressif/arduino-esp32)
2017-08-17 15:14:01 +02:00
### Need help or have a question? Join the chat at [![https://gitter.im/espressif/arduino-esp32](https://badges.gitter.im/espressif/arduino-esp32.svg)](https://gitter.im/espressif/arduino-esp32?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
2016-12-13 11:12:44 +01:00
2017-08-17 15:14:01 +02:00
## Contents
2016-12-10 17:28:24 +01:00
- [Development Status ](#development-status )
2017-08-17 15:14:01 +02:00
- [Installation Instructions ](#installation-instructions )
- [Decoding Exceptions ](#decoding-exceptions )
- [Issue/Bug report template ](#issuebug-report-template )
2017-01-28 13:19:56 +01:00
- [ESP32Dev Board PINMAP ](#esp32dev-board-pinmap )
2016-12-10 17:28:24 +01:00
## Development Status
2016-12-30 02:00:57 +01:00
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:
2017-08-17 15:14:01 +02:00
- 16 channels [LEDC ](cores/esp32/esp32-hal-ledc.h ) which is PWM
- 8 channels [SigmaDelta ](cores/esp32/esp32-hal-sigmadelta.h ) which uses SigmaDelta modulation
- 2 channels [DAC ](cores/esp32/esp32-hal-dac.h ) which gives real analog output
2016-10-07 10:32:35 +02:00
2017-01-05 16:59:20 +01:00
## Installation Instructions
2018-07-26 08:10:46 +02:00
#### [Latest release ![Release Version](https://img.shields.io/github/release/espressif/arduino-esp32/all.svg?style=plastic) ![Release Date](https://img.shields.io/github/release-date/espressif/arduino-esp32.svg?style=plastic)](https://github.com/espressif/arduino-esp32/releases/latest/)
- Using Arduino IDE Boards Manager (preferred)
+ [Instructions for Boards Manager ](docs/arduino-ide/boards_manager.md )
- Using Arduino IDE with the development repository
2017-08-17 15:14:01 +02:00
+ [Instructions for Windows ](docs/arduino-ide/windows.md )
+ [Instructions for Mac ](docs/arduino-ide/mac.md )
+ [Instructions for Debian/Ubuntu Linux ](docs/arduino-ide/debian_ubuntu.md )
+ [Instructions for Fedora ](docs/arduino-ide/fedora.md )
2017-09-26 11:49:18 +02:00
+ [Instructions for openSUSE ](docs/arduino-ide/opensuse.md )
2017-08-17 15:14:01 +02:00
- [Using PlatformIO ](docs/platformio.md )
- [Building with make ](docs/make.md )
- [Using as ESP-IDF component ](docs/esp-idf_component.md )
2018-07-03 20:43:18 +02:00
- [Using OTAWebUpdater ](docs/OTAWebUpdate/OTAWebUpdate.md )
2017-06-02 18:21:54 +02:00
2017-01-05 16:59:20 +01:00
#### Decoding exceptions
You can use [EspExceptionDecoder ](https://github.com/me-no-dev/EspExceptionDecoder ) to get meaningful call trace.
2017-08-17 15:14:01 +02:00
#### 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 ](https://github.com/espressif/arduino-esp32/issues?utf8=%E2%9C%93&q=is%3Aissue%20label%3A%22for%20reference%22%20 ).
2017-01-28 17:11:17 +01:00
2017-08-17 15:14:01 +02:00
Finally, if you're sure no one else had the issue, follow the [ISSUE_TEMPLATE ](docs/ISSUE_TEMPLATE.md ) while reporting any issue.
2017-01-28 17:11:17 +01:00
2016-12-08 23:34:28 +01:00
2016-12-10 17:28:24 +01:00
## ESP32Dev Board PINMAP
2017-08-17 15:14:01 +02:00
![Pin Functions ](docs/esp32_pinmap.png )
2017-02-05 13:48:13 +01:00
## Hint
Sometimes to program ESP32 via serial you must keep GPIO0 LOW during the programming process