Skip to content

Commit 8edd529

Browse files
committed
Merge remote-tracking branch 'origin/master' into feature/get_py_verify
2 parents 1e85da1 + d164df8 commit 8edd529

File tree

1,376 files changed

+103719
-64337
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,376 files changed

+103719
-64337
lines changed

Diff for: .clang-format

+246
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,246 @@
1+
# Clang format version: 18.1.3
2+
---
3+
BasedOnStyle: LLVM
4+
AccessModifierOffset: -2
5+
AlignAfterOpenBracket: BlockIndent
6+
AlignArrayOfStructures: None
7+
AlignConsecutiveAssignments:
8+
Enabled: false
9+
AcrossEmptyLines: false
10+
AcrossComments: false
11+
AlignCompound: false
12+
AlignFunctionPointers: false
13+
PadOperators: true
14+
AlignConsecutiveBitFields:
15+
Enabled: true
16+
AcrossEmptyLines: false
17+
AcrossComments: false
18+
AlignCompound: false
19+
AlignFunctionPointers: false
20+
PadOperators: false
21+
AlignConsecutiveDeclarations:
22+
Enabled: false
23+
AcrossEmptyLines: false
24+
AcrossComments: false
25+
AlignCompound: false
26+
AlignFunctionPointers: false
27+
PadOperators: false
28+
AlignConsecutiveMacros:
29+
Enabled: true
30+
AcrossEmptyLines: false
31+
AcrossComments: false
32+
AlignCompound: false
33+
AlignFunctionPointers: false
34+
PadOperators: false
35+
AlignConsecutiveShortCaseStatements:
36+
Enabled: true
37+
AcrossEmptyLines: false
38+
AcrossComments: false
39+
AlignCaseColons: false
40+
AlignEscapedNewlines: Left
41+
AlignOperands: Align
42+
AlignTrailingComments:
43+
Kind: Always
44+
OverEmptyLines: 0
45+
AllowAllArgumentsOnNextLine: true
46+
AllowAllParametersOfDeclarationOnNextLine: true
47+
AllowBreakBeforeNoexceptSpecifier: Never
48+
AllowShortBlocksOnASingleLine: Empty
49+
AllowShortCaseLabelsOnASingleLine: true
50+
AllowShortCompoundRequirementOnASingleLine: true
51+
AllowShortEnumsOnASingleLine: false
52+
AllowShortFunctionsOnASingleLine: Empty
53+
AllowShortIfStatementsOnASingleLine: Never
54+
AllowShortLambdasOnASingleLine: Empty
55+
AllowShortLoopsOnASingleLine: true
56+
AlwaysBreakAfterDefinitionReturnType: None
57+
AlwaysBreakAfterReturnType: None
58+
AlwaysBreakBeforeMultilineStrings: false
59+
AlwaysBreakTemplateDeclarations: MultiLine
60+
AttributeMacros:
61+
- __capability
62+
BinPackArguments: true
63+
BinPackParameters: true
64+
BitFieldColonSpacing: Both
65+
BraceWrapping:
66+
AfterCaseLabel: true
67+
AfterClass: false
68+
AfterControlStatement: Never
69+
AfterEnum: false
70+
AfterFunction: false
71+
AfterNamespace: false
72+
AfterObjCDeclaration: false
73+
AfterStruct: false
74+
AfterUnion: false
75+
AfterExternBlock: false
76+
BeforeCatch: false
77+
BeforeElse: false
78+
BeforeLambdaBody: false
79+
BeforeWhile: false
80+
IndentBraces: false
81+
SplitEmptyFunction: false
82+
SplitEmptyRecord: true
83+
SplitEmptyNamespace: true
84+
BreakAdjacentStringLiterals: true
85+
BreakAfterAttributes: Always
86+
BreakAfterJavaFieldAnnotations: false
87+
BreakArrays: false
88+
BreakBeforeBinaryOperators: NonAssignment
89+
BreakBeforeBraces: Custom
90+
BreakBeforeConceptDeclarations: Always
91+
BreakBeforeInlineASMColon: OnlyMultiline
92+
BreakBeforeTernaryOperators: true
93+
BreakConstructorInitializers: BeforeColon
94+
BreakInheritanceList: BeforeColon
95+
BreakStringLiterals: true
96+
ColumnLimit: 160
97+
CommentPragmas: ""
98+
CompactNamespaces: false
99+
ConstructorInitializerIndentWidth: 2
100+
ContinuationIndentWidth: 2
101+
Cpp11BracedListStyle: true
102+
DerivePointerAlignment: false
103+
DisableFormat: false
104+
EmptyLineAfterAccessModifier: Never
105+
EmptyLineBeforeAccessModifier: LogicalBlock
106+
ExperimentalAutoDetectBinPacking: false
107+
FixNamespaceComments: true
108+
ForEachMacros:
109+
- foreach
110+
- Q_FOREACH
111+
- BOOST_FOREACH
112+
IfMacros:
113+
- KJ_IF_MAYBE
114+
IncludeBlocks: Preserve
115+
IncludeCategories:
116+
- Regex: ^"(llvm|llvm-c|clang|clang-c)/
117+
Priority: 2
118+
SortPriority: 0
119+
CaseSensitive: false
120+
- Regex: ^(<|"(gtest|gmock|isl|json)/)
121+
Priority: 3
122+
SortPriority: 0
123+
CaseSensitive: false
124+
- Regex: .*
125+
Priority: 1
126+
SortPriority: 0
127+
CaseSensitive: false
128+
IncludeIsMainRegex: ""
129+
IncludeIsMainSourceRegex: ""
130+
IndentAccessModifiers: false
131+
IndentCaseBlocks: false
132+
IndentCaseLabels: true
133+
IndentExternBlock: NoIndent
134+
IndentGotoLabels: false
135+
IndentPPDirectives: None
136+
IndentRequiresClause: false
137+
IndentWidth: 2
138+
IndentWrappedFunctionNames: true
139+
InsertBraces: true
140+
InsertNewlineAtEOF: true
141+
InsertTrailingCommas: None
142+
IntegerLiteralSeparator:
143+
Binary: 0
144+
BinaryMinDigits: 0
145+
Decimal: 0
146+
DecimalMinDigits: 0
147+
Hex: 0
148+
HexMinDigits: 0
149+
JavaScriptQuotes: Leave
150+
JavaScriptWrapImports: true
151+
KeepEmptyLinesAtEOF: false
152+
KeepEmptyLinesAtTheStartOfBlocks: true
153+
LambdaBodyIndentation: Signature
154+
Language: Cpp
155+
LineEnding: LF
156+
MacroBlockBegin: ""
157+
MacroBlockEnd: ""
158+
MaxEmptyLinesToKeep: 1
159+
NamespaceIndentation: None
160+
ObjCBinPackProtocolList: Auto
161+
ObjCBlockIndentWidth: 2
162+
ObjCBreakBeforeNestedBlockParam: true
163+
ObjCSpaceAfterProperty: false
164+
ObjCSpaceBeforeProtocolList: true
165+
PPIndentWidth: -1
166+
PackConstructorInitializers: BinPack
167+
PenaltyBreakAssignment: 2
168+
PenaltyBreakBeforeFirstCallParameter: 19
169+
PenaltyBreakComment: 300
170+
PenaltyBreakFirstLessLess: 120
171+
PenaltyBreakOpenParenthesis: 0
172+
PenaltyBreakScopeResolution: 500
173+
PenaltyBreakString: 1000
174+
PenaltyBreakTemplateDeclaration: 10
175+
PenaltyExcessCharacter: 1000000
176+
PenaltyIndentedWhitespace: 0
177+
PenaltyReturnTypeOnItsOwnLine: 60
178+
PointerAlignment: Right
179+
QualifierAlignment: Leave
180+
ReferenceAlignment: Pointer
181+
ReflowComments: false
182+
RemoveBracesLLVM: false
183+
RemoveParentheses: Leave
184+
RemoveSemicolon: false
185+
RequiresClausePosition: OwnLine
186+
RequiresExpressionIndentation: OuterScope
187+
SeparateDefinitionBlocks: Leave
188+
ShortNamespaceLines: 1
189+
SkipMacroDefinitionBody: false
190+
SortIncludes: Never
191+
SortJavaStaticImport: Before
192+
SortUsingDeclarations: LexicographicNumeric
193+
SpaceAfterCStyleCast: false
194+
SpaceAfterLogicalNot: false
195+
SpaceAfterTemplateKeyword: false
196+
SpaceAroundPointerQualifiers: Default
197+
SpaceBeforeAssignmentOperators: true
198+
SpaceBeforeCaseColon: false
199+
SpaceBeforeCpp11BracedList: false
200+
SpaceBeforeCtorInitializerColon: true
201+
SpaceBeforeInheritanceColon: true
202+
SpaceBeforeJsonColon: false
203+
SpaceBeforeParens: ControlStatements
204+
SpaceBeforeParensOptions:
205+
AfterControlStatements: true
206+
AfterForeachMacros: true
207+
AfterFunctionDeclarationName: false
208+
AfterFunctionDefinitionName: false
209+
AfterIfMacros: true
210+
AfterOverloadedOperator: true
211+
AfterPlacementOperator: true
212+
AfterRequiresInClause: false
213+
AfterRequiresInExpression: false
214+
BeforeNonEmptyParentheses: false
215+
SpaceBeforeRangeBasedForLoopColon: true
216+
SpaceBeforeSquareBrackets: false
217+
SpaceInEmptyBlock: false
218+
SpacesBeforeTrailingComments: 2
219+
SpacesInAngles: Never
220+
SpacesInContainerLiterals: false
221+
SpacesInLineCommentPrefix:
222+
Minimum: 1
223+
Maximum: -1
224+
SpacesInParens: Never
225+
SpacesInParensOptions:
226+
InConditionalStatements: false
227+
InCStyleCasts: false
228+
InEmptyParentheses: false
229+
Other: false
230+
SpacesInSquareBrackets: false
231+
Standard: Auto
232+
StatementAttributeLikeMacros:
233+
- Q_EMIT
234+
StatementMacros:
235+
- Q_UNUSED
236+
- QT_REQUIRE_VERSION
237+
TabWidth: 2
238+
UseTab: Never
239+
VerilogBreakBetweenInstancePorts: true
240+
WhitespaceSensitiveMacros:
241+
- BOOST_PP_STRINGIZE
242+
- CF_SWIFT_NAME
243+
- NS_SWIFT_NAME
244+
- PP_STRINGIZE
245+
- STRINGIZE
246+
BracedInitializerIndentWidth: 2

Diff for: .codespellrc

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
[codespell]
2+
# Source: https://github.com/arduino/tooling-project-assets/blob/main/workflow-templates/assets/spell-check/.codespellrc
3+
# 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,acount,totaly,pasttime
5+
skip = ./.git,./.licenses,__pycache__,.clang-format,.codespellrc,.editorconfig,.flake8,.prettierignore,.yamllint.yml,.gitignore,boards.txt,platform.txt,programmers.txt
6+
builtin = clear,informal,en-GB_to_en-US
7+
check-filenames =
8+
check-hidden =
9+
write-changes =

Diff for: .editorconfig

+60
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
# Source: https://github.com/arduino/tooling-project-assets/blob/main/workflow-templates/assets/general/.editorconfig
2+
# See: https://editorconfig.org/
3+
# The formatting style defined in this file is the official standardized style to be used in all Arduino Tooling
4+
# projects and should not be modified.
5+
# Note: indent style for each file type is defined even when it matches the universal config in order to make it clear
6+
# that this type has an official style.
7+
8+
[*]
9+
charset = utf-8
10+
end_of_line = lf
11+
indent_size = 2
12+
indent_style = space
13+
insert_final_newline = true
14+
trim_trailing_whitespace = true
15+
16+
[*.{adoc,asc,asciidoc}]
17+
indent_size = 2
18+
indent_style = space
19+
20+
[*.{bash,sh}]
21+
indent_size = 2
22+
indent_style = space
23+
24+
[*.{c,cc,cp,cpp,cxx,h,hh,hpp,hxx,ii,inl,ino,ixx,pde,tpl,tpp,txx}]
25+
indent_size = 2
26+
indent_style = space
27+
28+
[*.{go,mod}]
29+
indent_style = tab
30+
31+
[*.java]
32+
indent_size = 2
33+
indent_style = space
34+
35+
[*.{js,jsx,json,jsonc,json5,ts,tsx}]
36+
indent_size = 2
37+
indent_style = space
38+
39+
[*.{md,mdx,mkdn,mdown,markdown}]
40+
indent_size = unset
41+
indent_style = space
42+
43+
[*.proto]
44+
indent_size = 2
45+
indent_style = space
46+
47+
[*.py]
48+
indent_size = 4
49+
indent_style = space
50+
51+
[*.svg]
52+
indent_size = 2
53+
indent_style = space
54+
55+
[*.{yaml,yml}]
56+
indent_size = 2
57+
indent_style = space
58+
59+
[{.gitconfig,.gitmodules}]
60+
indent_style = tab

Diff for: .flake8

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# Source: https://github.com/arduino/tooling-project-assets/blob/main/workflow-templates/assets/check-python/.flake8
2+
# See: https://flake8.pycqa.org/en/latest/user/configuration.html
3+
4+
[flake8]
5+
doctests = True
6+
# W503 and W504 are mutually exclusive. PEP 8 recommends line break before.
7+
ignore = W503,E203
8+
max-complexity = 20
9+
max-line-length = 120
10+
select = E,W,F,C,N

Diff for: .github/PULL_REQUEST_TEMPLATE.md

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
2. [ ] Please provide related links (*eg. Issue which will be closed by this Pull Request*)
66
3. [ ] Please **update relevant Documentation** if applicable
77
4. [ ] Please check [Contributing guide](https://docs.espressif.com/projects/arduino-esp32/en/latest/contributing.html)
8+
5. [ ] Please **confirm option to "Allow edits and access to secrets by maintainers"** when opening a Pull Request
89

910
*This entire section above can be deleted if all items are checked.*
1011

Diff for: .github/scripts/find_all_boards.sh

+5
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@ boards_array=()
55

66
for line in `grep '.tarch=' boards.txt`; do
77
board_name=$(echo "$line" | cut -d '.' -f1 | cut -d '#' -f1)
8+
# skip esp32c2 as we dont build libs for it
9+
if [ "$board_name" == "esp32c2" ]; then
10+
echo "Skipping 'espressif:esp32:$board_name'"
11+
continue
12+
fi
813
boards_array+=("espressif:esp32:$board_name")
914
echo "Added 'espressif:esp32:$board_name' to array"
1015
done

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22

3-
OSBITS=`arch`
3+
OSBITS=`uname -m`
44
if [[ "$OSTYPE" == "linux"* ]]; then
55
export OS_IS_LINUX="1"
66
if [[ "$OSBITS" == "i686" ]]; then

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#OSTYPE: 'msys', ARCH: 'x86_64' => win32
55
#OSTYPE: 'darwin18', ARCH: 'i386' => macos
66

7-
OSBITS=`arch`
7+
OSBITS=`uname -m`
88
if [[ "$OSTYPE" == "linux"* ]]; then
99
export OS_IS_LINUX="1"
1010
ARCHIVE_FORMAT="tar.xz"

0 commit comments

Comments
 (0)