Skip to content

Update 19112021 #12

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 103 commits into from
Nov 20, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
103 commits
Select commit Hold shift + click to select a range
6dfaf6c
Add dummy test for self hosted GitHub runners (#5521)
tomassebestik Sep 15, 2021
541cef9
[USB CDC] Fix data might not be transmitted until more is written (#5…
me-no-dev Sep 15, 2021
078671d
[HWCDC] Improve HW CDC Implementation (#5643)
me-no-dev Sep 15, 2021
7a35be3
Added blink example with Wokwi embedded simulation
pedrominatel Sep 20, 2021
e1cdbd7
Minor changes on the blink tutorial
pedrominatel Sep 20, 2021
9f827a6
Update README.MD - "Type: For reference" labels link (#5619)
VojtechBartoska Sep 21, 2021
8be2f7b
Changes according to the PR review
pedrominatel Sep 21, 2021
1f4dd7f
Merge branch 'master' into docs/integration_with_wokwi
pedrominatel Sep 21, 2021
317be68
Merge pull request #5685 from pedrominatel/docs/integration_with_wokwi
pedrominatel Sep 21, 2021
0f174aa
Update stale.yml
VojtechBartoska Sep 30, 2021
f3f6dad
TTGO T-OI PLUS RISC-V ESP32-C3 Development Board Added (#5576)
thambirm Oct 1, 2021
79d53bd
Update ESP.getChipModel() to support ESP32-S2 (#5598)
kintel Oct 1, 2021
e4acfbc
only use ksz8081 for idf versions later than 4.3 (this fixes compile …
liebman Oct 1, 2021
2f6f251
Fixes boards.txt entries for the atmegazero_esp32s2, and also the pla…
eddieespinal Oct 1, 2021
3f06a38
SD_MMC max_freq_khz is set to HIGHSPEED by default (#5631)
dizcza Oct 1, 2021
204f360
Append '/' to an URL with empty path in HTTPClient::begin (#5634)
long-long-float Oct 1, 2021
91bca6c
Fix compilation of HardwareSerial.cpp (#5677)
everslick Oct 1, 2021
108e467
Enable progress bar on ArduinoOTA upload (platform.txt) (#5657)
tbertels Oct 1, 2021
67583e8
Return size_t instead of uint8_t from BLECharacteristic::getLength().…
felixcollins Oct 1, 2021
93f1060
SDMMC frequency selection based on board type (#5688)
dukess Oct 1, 2021
36ff442
bugfix: off-by-one error (#5648)
kokke Oct 1, 2021
1688b7c
Fix analogWidth for ESP32S2 in esp32-hal-adc.c (#5711)
caternuson Oct 1, 2021
6de7f16
update adafruit boards for 2.0 (#5718)
hathach Oct 1, 2021
c5bb833
include pin_arduino.h for variant USB defines (#5719)
hathach Oct 1, 2021
f2a20e8
SD.open() new feature for creating all folders in path (#5721)
P-R-O-C-H-Y Oct 1, 2021
ce85cf0
added comment for user clarity (#5724)
akym Oct 1, 2021
f87107d
Implement Thread-Safe I2C based on ESP-IDF API (#5683)
me-no-dev Oct 1, 2021
381e88e
[UART] check if write data is valid
me-no-dev Oct 1, 2021
00214d5
IDF master 3e370c4296
me-no-dev Oct 1, 2021
bd54ee4
Remove git submodule update (#5696)
Michal-Szczepaniak Oct 1, 2021
861c608
Delete tools/sdk/esp32/include/coap directory
Jason2866 Oct 2, 2021
8016a5d
Delete tools/sdk/esp32c3/include/coap directory
Jason2866 Oct 2, 2021
f50cd1c
Delete tools/sdk/esp32s2/include/coap directory
Jason2866 Oct 2, 2021
285c2de
Merge branch 'master' of https://github.com/espressif/arduino-esp32 i…
Jason2866 Oct 2, 2021
d4afbe5
solve conflicts
Jason2866 Oct 2, 2021
e3855a1
Merge pull request #16 from tasmota/espressif-master
Jason2866 Oct 2, 2021
1706af4
Add the ability to get the peer certificate of an SSL connection; use…
dirkx Oct 8, 2021
5b20710
Fix: SD_MMC deinit (#5732)
P-R-O-C-H-Y Oct 9, 2021
f9f70d2
I2C Slave Implementation
me-no-dev Oct 9, 2021
335cedf
Update CMakeLists.txt
me-no-dev Oct 9, 2021
88789cd
Fix build error when compiling with verbose logging (#5747)
urish Oct 11, 2021
a75602d
Add support M5Stack Unit CAM (#5748)
otakuto Oct 11, 2021
7a7bd37
feat: Add the ability to get the peer certificate of an SSL connection
me-no-dev Oct 11, 2021
951c320
Merge branch 'master' into i2c-slave
me-no-dev Oct 11, 2021
b145e65
API Optimizations
me-no-dev Oct 11, 2021
49f525c
Added Python is missing on the troubleshooting section
pedrominatel Oct 12, 2021
2fb2ef5
Calculate properly Firmware MSC fat table sectors
me-no-dev Oct 13, 2021
34c81be
IDF master b86fe0c66c
me-no-dev Oct 13, 2021
1049be7
Merge branch 'master' into docs/troubleshooting_python_not_found
pedrominatel Oct 14, 2021
64c7f74
Merge pull request #5753 from pedrominatel/docs/troubleshooting_pytho…
pedrominatel Oct 14, 2021
2e53300
IDF master b86fe0c66c
me-no-dev Oct 14, 2021
ed53b6c
Merge pull request #5746 from espressif/i2c-slave
me-no-dev Oct 14, 2021
9c86ab1
Merge pull request #17 from espressif/master
Jason2866 Oct 14, 2021
cafa5f1
force Dynamic Buffer instead of Static ones
Jason2866 Oct 20, 2021
4413dbb
IDF master 4e03a9c34c (#5792)
me-no-dev Oct 21, 2021
32528ec
Remove debug if
Jason2866 Oct 21, 2021
951c8be
libraries/SPI/src/SPI.h: SPIClass: add method to get SS pin number (…
michlv Oct 21, 2021
67c9914
Allows spiram malloc with wifi dynamic buffers - better free heap (#5…
SuGlider Oct 21, 2021
3577e28
Resolve conflicts
Jason2866 Oct 22, 2021
a443b81
Merge pull request #21 from espressif/master
Jason2866 Oct 22, 2021
2673b88
removes deprecated esp_eth_set_default_handlers()
SuGlider Oct 23, 2021
96ad341
Merge pull request #5795 from SuGlider/esp_eth_clear_default_handlers
SuGlider Oct 23, 2021
a418058
log statement missing parameter #5778 (#5796)
SuGlider Oct 23, 2021
aabbed0
analogRead() now return value according to value set in analogReadRes…
P-R-O-C-H-Y Oct 24, 2021
f0db73b
Merge pull request #22 from espressif/master
Jason2866 Oct 24, 2021
f257d6f
IDF release/v4.4 2720d45e71 (#5801)
me-no-dev Oct 25, 2021
cb5a490
Correct CDC on boot custom menu for Deneyap Mini (#5767)
stonehippo Oct 25, 2021
02c3ec0
remove _user_defined_size from EEPROM (#5775)
hideakitai Oct 25, 2021
15bbd0a
Add ALPN support to WiFiClientSecure (#5633)
torntrousers Oct 25, 2021
6b86f97
Merge pull request #23 from espressif/master
Jason2866 Oct 25, 2021
caa8d07
yay for esp32-s2 mini module with PSRAM :) (#5811)
ladyada Oct 26, 2021
418ac74
IDF release/v4.4 6a7d83af19
me-no-dev Nov 4, 2021
10258b4
fix double promotions in rmtSetTick() (#5847)
FrankBoesing Nov 4, 2021
bb50046
Fix double promotion in Stream::parseFloat() (#5846)
FrankBoesing Nov 4, 2021
4aff6dd
Support additional authorization schemes (#5845)
Scott8440 Nov 4, 2021
79e0889
Allow use of log_x() in if (#5844)
FrankBoesing Nov 4, 2021
f410728
docs: Added supported peripherals list on libraries section (#5829)
pedrominatel Nov 4, 2021
3e851b5
[Docs] Added useStaticBuffers function description (#5820)
pedrominatel Nov 4, 2021
666cd3c
[Docs] Added I2C driver docs (#5770)
pedrominatel Nov 4, 2021
7d79518
Merge pull request #24 from espressif/master
Jason2866 Nov 4, 2021
a2d7c0d
[Examples] WiFi and Ethernet examples organization (#5830)
pedrominatel Nov 4, 2021
4b9dc61
Solving *"wifi:channel=0 is invalid"* when using FTM example code (#5…
bestaar Nov 4, 2021
5747bfa
Merge branch 'master' of https://github.com/espressif/arduino-esp32
VojtechBartoska Nov 4, 2021
80b8262
Update esp-idf_component.rst
VojtechBartoska Nov 4, 2021
83884a0
Fix SparkFun MicroMod compilation issues
me-no-dev Nov 4, 2021
cae60af
Merge pull request #25 from espressif/master
Jason2866 Nov 5, 2021
674cf81
[FEATURE] add -D ARDUINO_PARTITION_xxx build flag to platform.txt (#…
tobozo Nov 6, 2021
5e04eb4
Add precompiled (#5854)
tanakamasayuki Nov 8, 2021
b1497fb
[Docs] Peripheral list updated to include all supported SoCs (#5851)
pedrominatel Nov 8, 2021
16a9cf7
Add another Wire requestFrom function signature (#5768)
torntrousers Nov 8, 2021
da72bc9
eliminates error messages when using Ethernet Static IP (#5836)
SuGlider Nov 9, 2021
96c184d
Add basic analogWrite support based on LEDC (#5861)
me-no-dev Nov 9, 2021
c7080b0
ci: run CMake in script mode when finding source files
igrr Nov 3, 2021
ae7173d
cmake: error out of IDF version is outside of supported range
igrr Nov 3, 2021
14ece43
Update README.md
me-no-dev Nov 9, 2021
d218e58
Update package_esp32_index.template.json
me-no-dev Nov 9, 2021
b94b38c
Fix compiler.libraries.ldflags Option (#5866)
tanakamasayuki Nov 9, 2021
4337295
Merge pull request #26 from espressif/master
Jason2866 Nov 9, 2021
5de09a9
[Docs] Add link to supported soc list on README and ESP32-S3 datashee…
pedrominatel Nov 15, 2021
6f1f394
Update boards.txt (#5903)
zeynepdicle Nov 18, 2021
bd2be80
cbuf: allow inheritance (#5883)
FrankBoesing Nov 18, 2021
c9916c4
Fix I2C clock stretching issue with ESP32 (#5910)
me-no-dev Nov 19, 2021
b801c8c
Merge pull request #27 from espressif/master
Jason2866 Nov 19, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .github/scripts/check-cmakelists.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ git submodule update --init --recursive
REPO_SRCS=`find cores/esp32/ libraries/ -name 'examples' -prune -o -name '*.c' -print -o -name '*.cpp' -print | sort`

# find all source files named in CMakeLists.txt COMPONENT_SRCS
CMAKE_SRCS=`cmake --trace-expand -C CMakeLists.txt 2>&1 | grep set\(srcs | cut -d'(' -f3 | sed 's/ )//' | sed 's/srcs //' | tr ' ;' '\n' | sort`
CMAKE_SRCS=`cmake --trace-expand -P CMakeLists.txt 2>&1 | grep set\(srcs | cut -d'(' -f3 | sed 's/ )//' | sed 's/srcs //' | tr ' ;' '\n' | sort`

if ! diff -u0 --label "Repo Files" --label "srcs" <(echo "$REPO_SRCS") <(echo "$CMAKE_SRCS"); then
echo "Source files in repo (-) and source files in CMakeLists.txt (+) don't match"
Expand Down
87 changes: 26 additions & 61 deletions .github/stale.yml
Original file line number Diff line number Diff line change
@@ -1,61 +1,26 @@
# Configuration for probot-stale - https://github.com/probot/stale

# Number of days of inactivity before an Issue or Pull Request becomes stale
daysUntilStale: 60

# Number of days of inactivity before an Issue or Pull Request with the stale label is closed.
# Set to false to disable. If disabled, issues still need to be closed manually, but will remain marked as stale.
daysUntilClose: 14

# Only issues or pull requests with all of these labels are check if stale. Defaults to `[]` (disabled)
onlyLabels: []

# Issues or Pull Requests with these labels will never be considered stale. Set to `[]` to disable
exemptLabels:
- "Type: For reference"
- "Type: To be implemented"
- "Type: Feature request"

# Set to true to ignore issues in a project (defaults to false)
exemptProjects: false

# Set to true to ignore issues in a milestone (defaults to false)
exemptMilestones: false

# Set to true to ignore issues with an assignee (defaults to false)
exemptAssignees: false

# Label to use when marking as stale
staleLabel: "Status: Stale"

# Comment to post when marking as stale. Set to `false` to disable
markComment: >
[STALE_SET] This issue has been automatically marked as stale because it has not had
recent activity. It will be closed in 14 days if no further activity occurs. Thank you
for your contributions.

# Comment to post when removing the stale label.
unmarkComment: >
[STALE_CLR] This issue has been removed from the stale queue. Please ensure activity to keep it openin the future.

# Comment to post when closing a stale Issue or Pull Request.
closeComment: >
[STALE_DEL] This stale issue has been automatically closed. Thank you for your contributions.

# Limit the number of actions per hour, from 1-30. Default is 30
limitPerRun: 30

# Limit to only `issues` or `pulls`
only: issues

# Optionally, specify configuration settings that are specific to just 'issues' or 'pulls':
# pulls:
# daysUntilStale: 30
# markComment: >
# This pull request has been automatically marked as stale because it has not had
# recent activity. It will be closed if no further activity occurs. Thank you
# for your contributions.

# issues:
# exemptLabels:
# - confirmed
# This workflow firstly warns and then closes issues that have had no activity for a specified amount of time.
#
# You can adjust the behavior by modifying this file.
# For more information can be found here: https://github.com/actions/stale

name: Mark stale issues
on:
schedule:
- cron: '30 9 * * *'

jobs:
stale:

runs-on: ubuntu-latest
permissions:
issues: write

steps:
- uses: actions/stale@v3
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
stale-issue-message: 'This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 14 days if no further activity occurs. Thank you for your contributions.'
days-before-stale: 60
days-before-close: 14
exempt-issue-labels: 'Type: For reference,Type: To be implemented,Type: Feature request'
stale-issue-label: 'Status: Stale'
27 changes: 27 additions & 0 deletions .github/workflows/test_selfhosted_runner.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Test Github action on self hosted RPI runnes

on:
push:
branches:
- master
pull_request:

jobs:
build:
name: Dummy test - self hosted GHR
runs-on: self-hosted
steps:
- name: Check out repo
uses: actions/checkout@v2
- name: Test message 1
run: echo "This is test message"
- name: Test message 2
run: echo "This is test message2"
- name: List directory
run: ls
- name: Create copy of README
run: cp README.md README2.md
- name: Read README2
run: cat README2.md
- name: Delete README2
run: rm README2.md
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,4 @@ boards.sloeber.txt

# Ignore docs build (Sphinx)
docs/build
docs/source/_build
27 changes: 26 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,27 @@
# Check ESP-IDF version and error out if it is not in the supported range.
#
# Note for arduino-esp32 developers: to bypass the version check locally,
# set ARDUINO_SKIP_IDF_VERSION_CHECK environment variable to 1. For example:
# export ARDUINO_SKIP_IDF_VERSION_CHECK=1
# idf.py build

set(min_supported_idf_version "4.4.0")
set(max_supported_idf_version "4.4.99")
set(idf_version "${IDF_VERSION_MAJOR}.${IDF_VERSION_MINOR}.${IDF_VERSION_PATCH}")

if ("${idf_version}" AND NOT "$ENV{ARDUINO_SKIP_IDF_VERSION_CHECK}")
if (idf_version VERSION_LESS min_supported_idf_version)
message(FATAL_ERROR "Arduino-esp32 can be used with ESP-IDF versions "
"between ${min_supported_idf_version} and ${max_supported_idf_version}, "
"but an older version is detected: ${idf_version}.")
endif()
if (idf_version VERSION_GREATER max_supported_idf_version)
message(FATAL_ERROR "Arduino-esp32 can be used with ESP-IDF versions "
"between ${min_supported_idf_version} and ${max_supported_idf_version}, "
"but a newer version is detected: ${idf_version}.")
endif()
endif()

set(CORE_SRCS
cores/esp32/base64.cpp
cores/esp32/cbuf.cpp
Expand All @@ -7,6 +31,7 @@ set(CORE_SRCS
cores/esp32/esp32-hal-dac.c
cores/esp32/esp32-hal-gpio.c
cores/esp32/esp32-hal-i2c.c
cores/esp32/esp32-hal-i2c-slave.c
cores/esp32/esp32-hal-ledc.c
cores/esp32/esp32-hal-matrix.c
cores/esp32/esp32-hal-misc.c
Expand Down Expand Up @@ -54,6 +79,7 @@ set(LIBRARY_SRCS
libraries/DNSServer/src/DNSServer.cpp
libraries/EEPROM/src/EEPROM.cpp
libraries/ESPmDNS/src/ESPmDNS.cpp
libraries/Ethernet/src/ETH.cpp
libraries/FFat/src/FFat.cpp
libraries/FS/src/FS.cpp
libraries/FS/src/vfs_api.cpp
Expand Down Expand Up @@ -90,7 +116,6 @@ set(LIBRARY_SRCS
libraries/WebServer/src/detail/mimetable.cpp
libraries/WiFiClientSecure/src/ssl_client.cpp
libraries/WiFiClientSecure/src/WiFiClientSecure.cpp
libraries/WiFi/src/ETH.cpp
libraries/WiFi/src/WiFiAP.cpp
libraries/WiFi/src/WiFiClient.cpp
libraries/WiFi/src/WiFi.cpp
Expand Down
21 changes: 7 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,26 +1,15 @@
# Arduino core for the ESP32
# Arduino core for the ESP32, ESP32-S2 and ESP32-C3

[![Build Status](https://travis-ci.org/espressif/arduino-esp32.svg?branch=master)](https://travis-ci.org/espressif/arduino-esp32) ![](https://github.com/espressif/arduino-esp32/workflows/ESP32%20Arduino%20CI/badge.svg) [![Documentation Status](https://readthedocs.com/projects/espressif-arduino-esp32/badge/?version=latest)](https://docs.espressif.com/projects/arduino-esp32/en/latest/?badge=latest)
![Build Status](https://github.com/espressif/arduino-esp32/workflows/ESP32%20Arduino%20CI/badge.svg) [![Documentation Status](https://readthedocs.com/projects/espressif-arduino-esp32/badge/?version=latest)](https://docs.espressif.com/projects/arduino-esp32/en/latest/?badge=latest)

### 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)

## Contents

- [ESP32-S2 and ESP32-C3 Support](#esp32-s2-and-esp32-c3-support)
- [Development Status](#development-status)
- [Decoding Exceptions](#decoding-exceptions)
- [Issue/Bug report template](#issuebug-report-template)

### ESP32-S2 and ESP32-C3 Support

If you want to test ESP32-S2 and/or ESP32-C3 through the board manager, please use the development release link:

```
https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_dev_index.json
```

Now you can install the latest 2.0.0 version from the boards manager.

### Development Status

Latest Stable Release [![Release Version](https://img.shields.io/github/release/espressif/arduino-esp32.svg?style=plastic)](https://github.com/espressif/arduino-esp32/releases/latest/) [![Release Date](https://img.shields.io/github/release-date/espressif/arduino-esp32.svg?style=plastic)](https://github.com/espressif/arduino-esp32/releases/latest/) [![Downloads](https://img.shields.io/github/downloads/espressif/arduino-esp32/latest/total.svg?style=plastic)](https://github.com/espressif/arduino-esp32/releases/latest/)
Expand All @@ -38,12 +27,16 @@ You can use [Arduino-ESP32 Online Documentation](https://docs.espressif.com/proj
* [FAQ](https://docs.espressif.com/projects/arduino-esp32/en/latest/faq.html)
* [Troubleshooting](https://docs.espressif.com/projects/arduino-esp32/en/latest/troubleshooting.html)

### Supported Chips

Visit the [supported chips](https://docs.espressif.com/projects/arduino-esp32/en/latest/getting_started.html#supported-soc-s) documentation to see the list of current supported ESP32 SoCs.

### Decoding exceptions

You can use [EspExceptionDecoder](https://github.com/me-no-dev/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](https://github.com/espressif/arduino-esp32/issues?utf8=%E2%9C%93&q=is%3Aissue%20label%3A%22for%20reference%22%20).
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 [Type: For reference](https://github.com/espressif/arduino-esp32/issues?q=is%3Aissue+label%3A%22Type%3A+For+reference%22+).

Finally, if you are sure no one else had the issue, follow the [issue template](docs/ISSUE_TEMPLATE.md) while reporting any issue.

Expand Down
Loading