No description
Find a file
David J. Fiddes dac493fb92 SPI: Fix discarded-qalifiers warning when compiling with all warnings (#3458)
* SPI: Fix discarded-qalifiers warning when compiling with all warnings

This fixes an error introduced with changeset b847f41 which
tightened the use of const for read-only data. The helper
funtion __transferBytes also requires the const qualifier on
outgoing data. Without this change a warning is displayed
when compiling with the Arduino IDE set to display "All"
compiler warnings.

Tests:
 - Build an ESP32 SPI sketch that uses static const data to send
   to an SPI device using the SPI.transferBytes() API

* SPI:Ensure all local functions are marked static

This audits all functions in the esp32-hal-xpi.c module and
ensures that any functions entirely local to the module are
marked as static.

Tests:
 - Build with Arduino set to show all warnings and ensure none
   are displayed

* SPI: Remove unused local __spiTranslate24 function

This removes the __spiTranslate24() function which is unused.
2019-11-11 17:44:49 +01:00
.github CI can be used on windows desktop with msys 2019-10-02 20:03:43 +03:00
cores/esp32 SPI: Fix discarded-qalifiers warning when compiling with all warnings (#3458) 2019-11-11 17:44:49 +01:00
docs Docs for lib builder (#3415) 2019-11-11 15:30:52 +01:00
libraries Fixed incorrect usage of xEventGroupWaitBits (#3446) 2019-11-11 17:34:01 +01:00
package Add ARM toolchain 2019-10-01 21:48:03 +03:00
tools Fix CI Builds for Linux (#3313) 2019-10-01 23:13:08 +03:00
variants Added board defintion for VintLabs boards (#3252) 2019-09-24 12:26:15 +03:00
.gitignore Expand gitignore to cover files created by Visual Micro (#2934) 2019-07-09 19:28:04 +03:00
.gitmodules Set ESP-IDF to 3.2 (#2662) 2019-04-12 15:43:53 +02:00
.travis.yml Use Github Actions for release (#3309) 2019-10-01 10:44:04 +03:00
boards.txt Add menu items Partition Scheme and Debug Level for node32s (#3455) 2019-11-11 15:47:26 +01:00
CMakeLists.txt Ignore Werror-maybe-uninitialized from Azure IoT Library (#2824) 2019-06-05 13:42:08 +02:00
component.mk Fix compilation errors when used as IDF component 2019-01-26 21:37:03 +01:00
Kconfig.projbuild Make a selective menuconfig option for FFat (#2966) 2019-07-09 19:14:53 +03:00
LICENSE.md Add LGPL 2.1 License 2019-04-16 03:08:50 +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 Allow sketches to have custom partitions (#3328) 2019-10-07 02:07:15 +03:00
programmers.txt initial import 2016-10-06 07:09:44 -06:00
README.md Update README.md (#3353) 2019-10-14 20:38:04 +03:00

Arduino core for the ESP32

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 Downloads

Latest development release Development Version Development Date Downloads

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

ESP32Dev Board PINMAP

Pin Functions

Tip

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