Skip to content

Commit c9f6ce0

Browse files
authored
fix: truncated tx/rx buffer size in uart-hal (uint16_t -> uint32_t)
0 parents  commit c9f6ce0

File tree

1,632 files changed

+503466
-0
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,632 files changed

+503466
-0
lines changed

.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

.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 =

.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

.flake8

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
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+
# The code style defined in this file is the official standardized style to be used in all Arduino tooling projects and
4+
# should not be modified.
5+
6+
[flake8]
7+
doctests = True
8+
# W503 and W504 are mutually exclusive. PEP 8 recommends line break before.
9+
ignore = W503,E203
10+
max-complexity = 10
11+
max-line-length = 120
12+
select = E,W,F,C,N
+62
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
name: Feature request
2+
description: Suggest an idea for this project
3+
labels: ["Type: Feature request"]
4+
body:
5+
- type: markdown
6+
attributes:
7+
value: |
8+
* We welcome any ideas or feature requests! It is helpful if you can explain exactly why the feature would be useful.
9+
* 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.
10+
* If you would like to contribute, please read the [contributions guide](https://docs.espressif.com/projects/arduino-esp32/en/latest/contributing.html).
11+
- type: input
12+
id: Area
13+
attributes:
14+
label: Related area
15+
description: Please briefly explain the area of your Feature Request.
16+
placeholder: eg. Board support, specific Peripheral, BT, Wifi...
17+
validations:
18+
required: true
19+
- type: input
20+
id: HW
21+
attributes:
22+
label: Hardware specification
23+
description: Please provide if your proposal depends on specific Hardware.
24+
placeholder: eg. Support for ESP32 DevKitC, ESP32-C3 DevKitM...
25+
validations:
26+
required: true
27+
- type: textarea
28+
id: problem-related
29+
attributes:
30+
label: Is your feature request related to a problem?
31+
description: Please provide a clear and concise description of what the problem is. Add relevant issue link.
32+
placeholder: ex. I'm facing the issue/missing function...
33+
validations:
34+
required: true
35+
- type: textarea
36+
id: solution
37+
attributes:
38+
label: Describe the solution you'd like
39+
description: Please provide a clear and concise description of what you want to happen.
40+
placeholder: ex. When using this function...
41+
validations:
42+
required: true
43+
- type: textarea
44+
id: alternatives
45+
attributes:
46+
label: Describe alternatives you've considered
47+
description: Please provide a clear and concise description of any alternative solutions or features you've considered.
48+
placeholder: ex. Choosing other approach wouldn't work, because...
49+
- type: textarea
50+
id: context
51+
attributes:
52+
label: Additional context
53+
description: Please add any other context or screenshots about the feature request here.
54+
placeholder: ex. This would work only when ...
55+
- type: checkboxes
56+
id: confirmation
57+
attributes:
58+
label: I have checked existing list of Feature requests and the Contribution Guide
59+
description: You agree to check all the resources above before opening a new Feature request.
60+
options:
61+
- label: I confirm I have checked existing list of Feature requests and Contribution Guide.
62+
required: true

0 commit comments

Comments
 (0)