Skip to content

Commit 5789ed2

Browse files
authored
Merge branch 'espressif:master' into master
2 parents 4e7c48b + b859bdf commit 5789ed2

File tree

1,477 files changed

+100508
-14759
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,477 files changed

+100508
-14759
lines changed

.codespellrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[codespell]
22
# Source: https://github.com/arduino/tooling-project-assets/blob/main/workflow-templates/assets/spell-check/.codespellrc
33
# In the event of a false positive, add the problematic word, in all lowercase, to a comma-separated list here:
4-
ignore-words-list = ba,licence,ot,dout,als,exten
4+
ignore-words-list = ba,licence,ot,dout,als,exten,emac
55
skip = ./.git,./.licenses,__pycache__,.clang-format,.codespellrc,.editorconfig,.flake8,.prettierignore,.yamllint.yml,.gitignore,boards.txt,platform.txt,programmers.txt
66
builtin = clear,informal,en-GB_to_en-US
77
check-filenames =

.flake8

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@
55
doctests = True
66
# W503 and W504 are mutually exclusive. PEP 8 recommends line break before.
77
ignore = W503,E203
8-
max-complexity = 20
8+
max-complexity = 30
99
max-line-length = 120
1010
select = E,W,F,C,N

.github/CODEOWNERS

Lines changed: 83 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,83 @@
1+
# CODEOWNERS for ESP32 Arduino Core
2+
3+
# This file is used to specify the code owners for the ESP32 Arduino Core.
4+
# Read more about CODEOWNERS:
5+
# https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-code-owners
6+
# Note that order matters. The last matching pattern will be used.
7+
8+
# The default owners are the active developers of the ESP32 Arduino Core.
9+
# Refrain from using @espressif/arduino-esp32 to avoid spamming non-developers with review requests.
10+
* @espressif/arduino-devs
11+
12+
# CI
13+
/.github/ @lucasssvaz @me-no-dev @P-R-O-C-H-Y
14+
/.github/codeql/ @lucasssvaz
15+
/.gitlab/ @lucasssvaz
16+
/tests/ @lucasssvaz @P-R-O-C-H-Y
17+
18+
# Tools
19+
/tools/ @me-no-dev
20+
/tools/pre-commit/ @lucasssvaz
21+
/tools/add_lib.sh @P-R-O-C-H-Y
22+
23+
# Pre-commit
24+
/.* @lucasssvaz # Files in root directory that start with a dot.
25+
26+
# Git Files
27+
/.gitignore @espressif/arduino-devs
28+
/.gitmodules @espressif/arduino-devs
29+
30+
# Documentation
31+
/docs/ @pedrominatel
32+
/.github/ISSUE_TEMPLATE/ @pedrominatel
33+
/.github/PULL_REQUEST_TEMPLATE.md @pedrominatel
34+
/.readthedocs.yaml @pedrominatel
35+
/*.md @pedrominatel
36+
37+
# Boards
38+
/variants/ @P-R-O-C-H-Y
39+
/boards.txt @P-R-O-C-H-Y
40+
41+
# Arduino as Component
42+
/idf_component_examples/ @SuGlider
43+
/idf_component.yml @SuGlider @me-no-dev
44+
/CMakeLists.txt @SuGlider @me-no-dev
45+
/Kconfig.projbuild @SuGlider @me-no-dev
46+
47+
# Build System
48+
/package.json @me-no-dev
49+
/platform.txt @me-no-dev
50+
/programmers.txt @me-no-dev
51+
/package/ @me-no-dev
52+
53+
# Libraries
54+
/libraries/ArduinoOTA/ @me-no-dev
55+
/libraries/AsyncUDP/ @me-no-dev
56+
/libraries/BLE/ @lucasssvaz @SuGlider
57+
/libraries/ESP_HostedOTA/ @me-no-dev
58+
/libraries/ESP_I2S/ @me-no-dev
59+
/libraries/ESP_NOW/ @P-R-O-C-H-Y @lucasssvaz
60+
/libraries/ESP_SR/ @me-no-dev
61+
/libraries/ESPmDNS/ @me-no-dev
62+
/libraries/Ethernet/ @me-no-dev
63+
/libraries/Hash/ @lucasssvaz
64+
/libraries/Matter/ @SuGlider
65+
/libraries/NetBIOS/ @me-no-dev
66+
/libraries/Network/ @me-no-dev
67+
/libraries/OpenThread/ @SuGlider
68+
/libraries/PPP/ @me-no-dev
69+
/libraries/SPI/ @me-no-dev
70+
/libraries/Update/ @me-no-dev
71+
/libraries/USB/ @SuGlider @me-no-dev
72+
/libraries/WiFi/ @me-no-dev
73+
/libraries/WiFiProv/ @me-no-dev
74+
/libraries/Wire/ @me-no-dev
75+
/libraries/Zigbee/ @P-R-O-C-H-Y
76+
77+
# CI YAML
78+
# Keep this after other libraries and tests to avoid being overridden.
79+
**/ci.yml @lucasssvaz
80+
81+
# The CODEOWNERS file should be owned by the developers of the ESP32 Arduino Core.
82+
# Leave this entry as the last one to avoid being overridden.
83+
/.github/CODEOWNERS @espressif/arduino-devs

.github/ISSUE_TEMPLATE/Feature-request.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ body:
55
- type: markdown
66
attributes:
77
value: |
8+
* Please note that we can only process feature requests reported in English to ensure effective communication and support. Feature requests written in other languages will be closed, with a request to rewrite them in English.
89
* We welcome any ideas or feature requests! It is helpful if you can explain exactly why the feature would be useful.
910
* There are usually some outstanding feature requests in the [existing issues list](https://github.com/espressif/arduino-esp32/issues?q=is%3Aopen+is%3Aissue+label%3A%22Type%3A+Feature+request%22), feel free to add comments to them.
1011
* If you would like to contribute, please read the [contributions guide](https://docs.espressif.com/projects/arduino-esp32/en/latest/contributing.html).

.github/ISSUE_TEMPLATE/Issue-report.yml

Lines changed: 37 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ body:
55
- type: markdown
66
attributes:
77
value: |
8-
* Before reporting a new issue please check and search in [List of existing issues](https://github.com/espressif/arduino-esp32/issues?q=is%3Aissue)
8+
* Please note that we can only process issues reported in English to ensure effective communication and support. Issues written in other languages will be closed, with a request to rewrite them in English.
9+
* Before reporting a new issue please check and search in [List of existing issues](https://github.com/espressif/arduino-esp32/issues?q=is%3Aissue)
910
* Please check [Online Documentation](https://docs.espressif.com/projects/arduino-esp32/en/latest/index.html)
1011
* Take a look on [Troubleshooting guide](https://docs.espressif.com/projects/arduino-esp32/en/latest/troubleshooting.html)
1112
* If still experiencing the issue, please provide as many details as possible below about your hardware, computer setup and code.
@@ -24,7 +25,7 @@ body:
2425
description: What development board or other hardware is the chip attached to?
2526
placeholder: ex. DevKitC, plain module on breadboard, etc. If your hardware is custom or unusual, please attach a photo.
2627
validations:
27-
required: true
28+
required: true
2829
- type: textarea
2930
id: other-hw
3031
attributes:
@@ -39,35 +40,39 @@ body:
3940
label: Version
4041
description: What version of Arduino ESP32 are you running? If possible, consider updating to the latest version.
4142
options:
43+
- Please select a version from the list below
4244
- latest master (checkout manually)
43-
- latest development Release Candidate (RC-X)
45+
- v3.3.4
46+
- v3.3.3
47+
- v3.3.2
48+
- v3.3.1
49+
- v3.3.0
50+
- v3.2.1
51+
- v3.2.0
52+
- v3.1.3
53+
- v3.1.2
54+
- v3.1.1
55+
- v3.1.0
56+
- v3.0.7
4457
- v3.0.6
4558
- v3.0.5
4659
- v3.0.4
4760
- v3.0.3
4861
- v3.0.2
4962
- v3.0.1
5063
- v3.0.0
51-
- v2.0.17
52-
- v2.0.16
53-
- v2.0.15
54-
- v2.0.14
55-
- v2.0.13
56-
- v2.0.12
57-
- v2.0.11
58-
- v2.0.10
59-
- v2.0.9
60-
- v2.0.8
61-
- v2.0.7
62-
- v2.0.6
63-
- v2.0.5
64-
- v2.0.4
65-
- v2.0.3
66-
- v2.0.2
67-
- v2.0.1
68-
- v2.0.0
69-
- v1.0.6
70-
- other
64+
- Older versions
65+
validations:
66+
required: true
67+
- type: dropdown
68+
id: type
69+
attributes:
70+
label: Type
71+
description: How would you define the type of the issue? Please select from the types below.
72+
options:
73+
- "Task"
74+
- "Bug"
75+
- "Question"
7176
validations:
7277
required: true
7378
- type: input
@@ -77,7 +82,7 @@ body:
7782
description: What IDE are you using?
7883
placeholder: eg. Arduino IDE, VSCode, Sloeber...
7984
validations:
80-
required: true
85+
required: true
8186
- type: input
8287
id: os
8388
attributes:
@@ -95,13 +100,13 @@ body:
95100
validations:
96101
required: true
97102
- type: dropdown
98-
id: PSRAM
103+
id: PSRAM
99104
attributes:
100105
label: PSRAM enabled
101106
description: Is PSRAM enabled?
102107
options:
103-
- 'yes'
104-
- 'no'
108+
- "yes"
109+
- "no"
105110
validations:
106111
required: true
107112
- type: input
@@ -116,8 +121,8 @@ body:
116121
id: Description
117122
attributes:
118123
label: Description
119-
description: Please describe your problem here and expected behaviour
120-
placeholder: ex. Can't connect/weird behaviour/wrong function/missing parameter..
124+
description: Please describe your problem here and expected behavior
125+
placeholder: ex. Can't connect/weird behavior/wrong function/missing parameter..
121126
validations:
122127
required: true
123128
- type: textarea
@@ -128,7 +133,7 @@ body:
128133
placeholder: ex. Related part of the code to replicate the issue
129134
render: cpp
130135
validations:
131-
required: true
136+
required: true
132137
- type: textarea
133138
id: Debug
134139
attributes:
@@ -137,11 +142,11 @@ body:
137142
placeholder: Enable Core debug level - Debug on tools menu of Arduino IDE, then put the serial output here.
138143
render: plain
139144
validations:
140-
required: true
145+
required: true
141146
- type: textarea
142147
id: other-remarks
143148
attributes:
144-
label: Other Steps to Reproduce
149+
label: Other Steps to Reproduce
145150
description: Is there any other information you can think of which will help us reproduce this problem? Any additional info can be added as well.
146151
placeholder: ex. I also tried on other OS, HW...it works correctly on that setup.
147152
- type: checkboxes

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
blank_issues_enabled: false
22
contact_links:
3-
- name: Arduino ESP32 Gitter Channel
4-
url: https://gitter.im/espressif/arduino-esp32
5-
about: Community channel for questions and help
6-
- name: ESP32 Forum - Arduino
7-
url: https://esp32.com/viewforum.php?f=19
8-
about: Official Forum for questions
3+
- name: Arduino Core for Espressif Discord Server
4+
url: https://discord.gg/8xY6e9crwv
5+
about: Community Discord server for questions and help

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
## Description of Change
1414
Please describe your proposed Pull Request and it's impact.
1515

16-
## Tests scenarios
16+
## Test Scenarios
1717
Please describe on what Hardware and Software combinations you have tested this Pull Request and how.
1818

1919
(*eg. I have tested my Pull Request on Arduino-esp32 core v2.0.2 with ESP32 and ESP32-S2 Board with this scenario*)

.github/codeql/codeql-config.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: "CodeQL config"
2+
3+
packs:
4+
- trailofbits/cpp-queries
5+
- githubsecuritylab/codeql-cpp-queries
6+
- githubsecuritylab/codeql-python-queries
7+
8+
queries:
9+
- uses: security-extended
10+
- uses: security-and-quality
11+
12+
query-filters:
13+
- exclude:
14+
query path:
15+
- /^experimental\/.*/
16+
- exclude:
17+
tags contain:
18+
- experimental
19+
- exclude:
20+
problem.severity:
21+
- recommendation
22+
- exclude:
23+
id: tob/cpp/use-of-legacy-algorithm # We use legacy algorithms in many places for integrity checks
24+
- exclude:
25+
id: cpp/dead-code-goto # Too many false positives in no-build mode
26+
27+
paths-ignore:
28+
- tests/**

.github/pytools/Sign-File.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ function FindSignTool {
1919
if (Test-Path -Path $SignTool -PathType Leaf) {
2020
return $SignTool
2121
}
22-
$sdkVers = "10.0.22000.0", "10.0.20348.0", "10.0.19041.0", "10.0.17763.0"
22+
$sdkVers = "10.0.22000.0", "10.0.20348.0", "10.0.19041.0", "10.0.17763.0", "10.0.14393.0", "10.0.15063.0", "10.0.16299.0", "10.0.17134.0", "10.0.26100.0"
2323
Foreach ($ver in $sdkVers)
2424
{
2525
$SignTool = "${env:ProgramFiles(x86)}\Windows Kits\10\bin\${ver}\x64\signtool.exe"

.github/scripts/check-cmakelists.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#!/bin/bash
2+
23
#
34
# This script is used in the CI workflow. It checks all non-examples source files in libraries/ and cores/ are listed in
45
# CMakeLists.txt for the cmake-based IDF component
@@ -12,10 +13,10 @@ set -e
1213
git submodule update --init --recursive
1314

1415
# find all source files in repo
15-
REPO_SRCS=`find cores/esp32/ libraries/ -name 'examples' -prune -o -name '*.c' -print -o -name '*.cpp' -print | sort`
16+
REPO_SRCS=$(find cores/esp32/ libraries/ -name 'examples' -prune -o -name '*.c' -print -o -name '*.cpp' -print | sort)
1617

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

2021
if ! diff -u0 --label "Repo Files" --label "srcs" <(echo "$REPO_SRCS") <(echo "$CMAKE_SRCS"); then
2122
echo "Source files in repo (-) and source files in CMakeLists.txt (+) don't match"

0 commit comments

Comments
 (0)