Skip to content

Commit 4515d1d

Browse files
[pre-commit.ci lite] apply automatic fixes
1 parent c291df9 commit 4515d1d

File tree

916 files changed

+327720
-324486
lines changed

Some content is hidden

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

916 files changed

+327720
-324486
lines changed

Diff for: .github/ISSUE_TEMPLATE/Issue-report.yml

+6-6
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ 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+
* Before reporting a new issue please check and search in [List of existing issues](https://github.com/espressif/arduino-esp32/issues?q=is%3Aissue)
99
* Please check [Online Documentation](https://docs.espressif.com/projects/arduino-esp32/en/latest/index.html)
1010
* Take a look on [Troubleshooting guide](https://docs.espressif.com/projects/arduino-esp32/en/latest/troubleshooting.html)
1111
* If still experiencing the issue, please provide as many details as possible below about your hardware, computer setup and code.
@@ -50,7 +50,7 @@ body:
5050
- v2.0.8
5151
- v2.0.7
5252
- v2.0.6
53-
- v2.0.5
53+
- v2.0.5
5454
- v2.0.4
5555
- v2.0.3
5656
- v2.0.2
@@ -85,13 +85,13 @@ body:
8585
validations:
8686
required: true
8787
- type: dropdown
88-
id: PSRAM
88+
id: PSRAM
8989
attributes:
9090
label: PSRAM enabled
9191
description: Is PSRAM enabled?
9292
options:
9393
- 'yes'
94-
- 'no'
94+
- 'no'
9595
validations:
9696
required: true
9797
- type: input
@@ -127,11 +127,11 @@ body:
127127
placeholder: Enable Core debug level - Debug on tools menu of Arduino IDE, then put the serial output here.
128128
render: plain
129129
validations:
130-
required: true
130+
required: true
131131
- type: textarea
132132
id: other-remarks
133133
attributes:
134-
label: Other Steps to Reproduce
134+
label: Other Steps to Reproduce
135135
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.
136136
placeholder: ex. I also tried on other OS, HW...it works correctly on that setup.
137137
- type: checkboxes

Diff for: .github/ISSUE_TEMPLATE/config.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ contact_links:
55
about: Community channel for questions and help
66
- name: ESP32 Forum - Arduino
77
url: https://esp32.com/viewforum.php?f=19
8-
about: Official Forum for questions
8+
about: Official Forum for questions

Diff for: .github/scripts/find_new_boards.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ do
3434
addition_line=$( echo "${params_array[c+1]}" | cut -d'+' -f2 | cut -d',' -f1 )
3535
addition_count=$( echo "${params_array[c+1]}" | cut -d'+' -f2 | cut -d',' -f2 | cut -d' ' -f1 )
3636
addition_end=$(($addition_line+$addition_count))
37-
37+
3838
addition_line=$(($addition_line + 3))
3939
addition_end=$(($addition_end - $deletion_count))
4040

@@ -87,4 +87,4 @@ then
8787
echo "FQBNS=${json_matrix}" >> $GITHUB_ENV
8888
else
8989
echo "FQBNS=" >> $GITHUB_ENV
90-
fi
90+
fi

Diff for: .github/scripts/install-arduino-cli.sh

-1
Original file line numberDiff line numberDiff line change
@@ -43,4 +43,3 @@ if [ ! -d "$ARDUINO_IDE_PATH" ] || [ ! -f "$ARDUINO_IDE_PATH/arduino-cli" ]; the
4343
mkdir -p "$ARDUINO_IDE_PATH"
4444
curl -fsSL https://raw.githubusercontent.com/arduino/arduino-cli/master/install.sh | BINDIR="$ARDUINO_IDE_PATH" sh
4545
fi
46-

Diff for: .github/scripts/install-arduino-ide.sh

-1
Original file line numberDiff line numberDiff line change
@@ -77,4 +77,3 @@ if [ ! -d "$ARDUINO_IDE_PATH" ]; then
7777
echo "Arduino IDE Installed in '$ARDUINO_IDE_PATH'"
7878
echo ""
7979
fi
80-

Diff for: .github/scripts/merge_packages.py

+5-5
Original file line numberDiff line numberDiff line change
@@ -34,16 +34,16 @@ def pkgVersionNormalized(versionString):
3434

3535
verStr = str(versionString)
3636
verParts = re.split('\.|-rc', verStr, flags=re.IGNORECASE)
37-
37+
3838
if len(verParts) == 3:
3939
if (sys.version_info > (3, 0)): # Python 3
4040
verStr = str(versionString) + '-rc' + str(sys.maxsize)
4141
else: # Python 2
4242
verStr = str(versionString) + '-rc' + str(sys.maxint)
43-
43+
4444
elif len(verParts) != 4:
4545
print("pkgVersionNormalized WARNING: unexpected version format: {0})".format(verStr), file=sys.stderr)
46-
46+
4747
return verStr
4848

4949

@@ -53,7 +53,7 @@ def main(args):
5353
return 1
5454

5555
tools = {}
56-
platforms = {}
56+
platforms = {}
5757
pkg1 = load_package(args[1])
5858
tools = merge_objects(tools, pkg1['tools']);
5959
platforms = merge_objects(platforms, pkg1['platforms']);
@@ -73,7 +73,7 @@ def main(args):
7373
for version in platforms[name]:
7474
print("Adding platform {0}-{1}".format(name, version), file=sys.stderr)
7575
pkg1['platforms'].append(platforms[name][version])
76-
76+
7777
pkg1['platforms'] = sorted(pkg1['platforms'], key=lambda k: LooseVersion(pkgVersionNormalized(k['version'])), reverse=True)
7878

7979
json.dump({'packages':[pkg1]}, sys.stdout, indent=2)

Diff for: .github/scripts/sketch_utils.sh

+2-3
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ function build_sketch(){ # build_sketch <ide_path> <user_path> <path-to-ino> [ex
131131
echo "Skipping $sketchname for target $target"
132132
exit 0
133133
fi
134-
134+
135135
ARDUINO_CACHE_DIR="$HOME/.arduino/cache.tmp"
136136
if [ -n "$ARDUINO_BUILD_DIR" ]; then
137137
build_dir="$ARDUINO_BUILD_DIR"
@@ -164,7 +164,7 @@ function build_sketch(){ # build_sketch <ide_path> <user_path> <path-to-ino> [ex
164164
--build-cache-path "$ARDUINO_CACHE_DIR" \
165165
--build-path "$build_dir" \
166166
$xtra_opts "${sketchdir}"
167-
167+
168168
exit_status=$?
169169
if [ $exit_status -ne 0 ]; then
170170
echo ""ERROR: Compilation failed with error code $exit_status""
@@ -388,4 +388,3 @@ case "$cmd" in
388388
echo "$USAGE"
389389
exit 2
390390
esac
391-

Diff for: .github/scripts/tests_build.sh

-1
Original file line numberDiff line numberDiff line change
@@ -61,4 +61,3 @@ else
6161
fi
6262

6363
${BUILD_CMD} ${args} $*
64-

Diff for: .github/workflows/allboards.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
ref: ${{ github.event.client_payload.branch }}
2121

2222
- name: Get boards fqbns
23-
run:
23+
run:
2424
bash .github/scripts/find_all_boards.sh
2525

2626
setup-chunks:
@@ -43,7 +43,7 @@ jobs:
4343

4444
- id: set-test-chunks
4545
name: Set Chunks
46-
run:
46+
run:
4747
echo "test-chunks<<EOF" >> $GITHUB_OUTPUT
4848

4949
echo "$( jq -nc '${{ needs.find-boards.outputs.fqbns }} | [_nwise( ${{ needs.find-boards.outputs.board-count }}/15 | ceil)]')" >> $GITHUB_OUTPUT
@@ -61,7 +61,7 @@ jobs:
6161
6262
strategy:
6363
fail-fast: false
64-
matrix:
64+
matrix:
6565
chunk: ${{ fromJSON(needs.setup-chunks.outputs['test-chunks']) }}
6666

6767
steps:
@@ -73,7 +73,7 @@ jobs:
7373
- name: Echo FQBNS to file
7474
run:
7575
echo "$FQBN" > fqbns.json
76-
env:
76+
env:
7777
FQBN: ${{ toJSON(matrix.chunk) }}
7878

7979
- name: Compile sketch

Diff for: .github/workflows/boards.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
uses: dcarbone/[email protected]
2525

2626
- name: Get board name
27-
run:
27+
run:
2828
bash .github/scripts/find_new_boards.sh ${{ github.repository }} ${{github.event.number}}
2929

3030
test-boards:

Diff for: .github/workflows/dangerjs.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,4 @@ jobs:
1919
- name: DangerJS pull request linter
2020
uses: espressif/shared-github-dangerjs@v1
2121
env:
22-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
22+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Diff for: .github/workflows/lib.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -63,4 +63,4 @@
6363
"~/Arduino/libraries/WS2812FX/examples/ws2812fx_spi/ws2812fx_spi.ino"
6464
]
6565
}
66-
]
66+
]

Diff for: .github/workflows/lib.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77

88
# Schedule weekly builds on every Sunday at 4 am
99
schedule:
10-
- cron: '0 4 * * SUN'
10+
- cron: '0 4 * * SUN'
1111

1212
env:
1313
# It's convenient to set variables for values used multiple times in the workflow
@@ -86,7 +86,7 @@ jobs:
8686
runs-on: ubuntu-latest
8787
steps:
8888
# Check out repository
89-
- name: Checkout repository
89+
- name: Checkout repository
9090
uses: actions/checkout@v3
9191
with:
9292
token: ${{ env.GITHUB_TOKEN }}
@@ -120,7 +120,7 @@ jobs:
120120
git add ${{ env.RESULT_LIBRARY_TEST_FILE }}
121121
git commit -m "Generated External Libraries Test Results"
122122
git push origin HEAD:gh-pages
123-
123+
124124
event_file:
125125
name: "Event File"
126126
if: |
@@ -132,4 +132,4 @@ jobs:
132132
uses: actions/upload-artifact@v2
133133
with:
134134
name: Event File
135-
path: ${{github.event_path}}
135+
path: ${{github.event_path}}

Diff for: .github/workflows/publishlib.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
gh api $url > "$name.zip"
3333
unzip -d "$name" "$name.zip"
3434
done
35-
35+
3636
- name: Report results
3737
uses: P-R-O-C-H-Y/report-size-deltas@main
3838
with:

Diff for: .gitignore

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ tools/openocd-esp32
2121

2222
# Ignore build folder
2323
/build
24-
24+
2525
# Ignore files built by Visual Studio/Visual Micro
2626
[Dd]ebug/
2727
[Rr]elease/

Diff for: Kconfig.projbuild

-1
Original file line numberDiff line numberDiff line change
@@ -409,4 +409,3 @@ config ARDUINO_SELECTIVE_Wire
409409

410410

411411
endmenu
412-

Diff for: LICENSE.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Version 2.1, February 1999
44

55
Copyright (C) 1991, 1999 Free Software Foundation, Inc.
66
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
7-
7+
88
Everyone is permitted to copy and distribute verbatim copies
99
of this license document, but changing it is not allowed.
1010

@@ -500,4 +500,4 @@ if necessary. Here is a sample; alter the names:
500500
signature of Ty Coon, 1 April 1990
501501
Ty Coon, President of Vice
502502

503-
That's all there is to it!
503+
That's all there is to it!

Diff for: boards.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -15227,7 +15227,7 @@ esp32s3-devkitlipo.menu.EraseFlash.none=Disabled
1522715227
esp32s3-devkitlipo.menu.EraseFlash.none.upload.erase_cmd=
1522815228
esp32s3-devkitlipo.menu.EraseFlash.all=Enabled
1522915229
esp32s3-devkitlipo.menu.EraseFlash.all.upload.erase_cmd=-e
15230-
15230+
1523115231
##############################################################
1523215232

1523315233
esp32c3-devkitlipo.name=OLIMEX ESP32-C3-DevKit-Lipo
@@ -32821,4 +32821,4 @@ makergo_c3_supermini.menu.EraseFlash.none.upload.erase_cmd=
3282132821
makergo_c3_supermini.menu.EraseFlash.all=Enabled
3282232822
makergo_c3_supermini.menu.EraseFlash.all.upload.erase_cmd=-e
3282332823

32824-
##############################################################
32824+
##############################################################

0 commit comments

Comments
 (0)