Skip to content

Commit f82a9a0

Browse files
Unify Automatedrzr
authored andcommitted
SWPROT-8953: Import UnifySDK ver_1.6.0 codebase for ZPC
This has been adjusted for zpc import: - Hot fix adjust space changes to align to tag - git-lfs: Remote LFS assets not used for zpc The squashed commit (git clone --depth=1) could not have been preserved because of failure to upload some object: remote: Resolving deltas: 100% (9897/9897), done. remote: fatal: did not receive expected object 8c3c67c057db0a6aa6ac986c38e9ec9fbdac707c error: remote unpack failed: index-pack failed Origin: https://github.com/SiliconLabs/UnifySDK/releases/tag/ver_1.6.0 Fowarded: #1 Signed-off-by: Philippe Coval <[email protected]>
1 parent 804aec5 commit f82a9a0

File tree

19,398 files changed

+6725550
-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.

19,398 files changed

+6725550
-0
lines changed

.cargo/config

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
[target.armv7-unknown-linux-gnueabihf]
2+
linker = "arm-linux-gnueabihf-g++"
3+
4+
[target.aarch64-unknown-linux-gnu]
5+
linker = "aarch64-linux-gnu-g++"
6+

.clang-format

Lines changed: 92 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,92 @@
1+
# Compatible with: clang-format version 10.0.0
2+
Language: Cpp
3+
AccessModifierOffset: 0
4+
AlignAfterOpenBracket: Align
5+
AlignConsecutiveAssignments: true
6+
AlignConsecutiveDeclarations: false
7+
AlignConsecutiveMacros: true
8+
AlignEscapedNewlines: Left
9+
AlignOperands: true
10+
AlignTrailingComments: true
11+
AllowAllArgumentsOnNextLine: false
12+
AllowAllConstructorInitializersOnNextLine: true
13+
AllowAllParametersOfDeclarationOnNextLine: true
14+
AllowShortBlocksOnASingleLine: false
15+
AllowShortCaseLabelsOnASingleLine: false
16+
AllowShortFunctionsOnASingleLine: Empty
17+
AllowShortIfStatementsOnASingleLine: Never
18+
AllowShortLambdasOnASingleLine: Inline
19+
AllowShortLoopsOnASingleLine: false
20+
AlwaysBreakAfterReturnType: None
21+
AlwaysBreakBeforeMultilineStrings: false
22+
AlwaysBreakTemplateDeclarations: No
23+
BinPackArguments: false
24+
BinPackParameters: false
25+
BreakBeforeBinaryOperators: All
26+
BreakBeforeBraces: Custom
27+
BraceWrapping:
28+
AfterCaseLabel: false
29+
AfterClass: true
30+
AfterControlStatement: Never
31+
AfterEnum: false
32+
AfterFunction: true
33+
AfterNamespace: true
34+
AfterStruct: false
35+
AfterUnion: false
36+
AfterExternBlock: false
37+
BeforeCatch: false
38+
BeforeElse: false
39+
IndentBraces: false
40+
SplitEmptyFunction: false
41+
SplitEmptyRecord: false
42+
SplitEmptyNamespace: false
43+
BreakBeforeTernaryOperators: true
44+
BreakConstructorInitializers: AfterColon
45+
BreakInheritanceList: AfterColon
46+
BreakStringLiterals: true
47+
ColumnLimit: 80
48+
# CommentPragmas: #Perhaps needed for Doxygen comments
49+
CompactNamespaces: false
50+
ConstructorInitializerAllOnOneLineOrOnePerLine: true
51+
ConstructorInitializerIndentWidth: 2
52+
ContinuationIndentWidth: 2
53+
Cpp11BracedListStyle: true
54+
DeriveLineEnding: false
55+
DerivePointerAlignment: false
56+
IncludeBlocks: Regroup
57+
# Future (11): IndentCaseBlocks: false
58+
IndentCaseLabels: true
59+
IndentGotoLabels: false
60+
IndentPPDirectives: None
61+
IndentWidth: 2
62+
IndentWrappedFunctionNames: true
63+
KeepEmptyLinesAtTheStartOfBlocks: false
64+
NamespaceIndentation: None
65+
PointerAlignment: Right
66+
ReflowComments: false
67+
SortIncludes: false
68+
SortUsingDeclarations: true
69+
SpaceAfterCStyleCast: false
70+
SpaceAfterLogicalNot: false
71+
SpaceAfterTemplateKeyword: false
72+
SpaceBeforeAssignmentOperators: true
73+
SpaceBeforeCpp11BracedList: true
74+
SpaceBeforeCtorInitializerColon: true
75+
SpaceBeforeInheritanceColon: true
76+
SpaceBeforeParens: ControlStatements
77+
SpaceBeforeRangeBasedForLoopColon: false
78+
SpaceBeforeSquareBrackets: false
79+
SpaceInEmptyBlock: false
80+
SpaceInEmptyParentheses: false
81+
SpacesBeforeTrailingComments: 2
82+
SpacesInAngles: false
83+
SpacesInCStyleCastParentheses: false
84+
SpacesInConditionalStatement: false
85+
SpacesInContainerLiterals: false
86+
SpacesInParentheses: false
87+
SpacesInSquareBrackets: false
88+
Standard: Cpp11
89+
TabWidth: 2
90+
UseCRLF: false
91+
UseTab: Never
92+

.clang-tidy

Lines changed: 116 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,116 @@
1+
---
2+
Checks: 'clang-diagnostic-*,clang-analyzer-*,-*,portability-*,readability-*,include-cleaner-*'
3+
WarningsAsErrors: ''
4+
HeaderFilterRegex: ''
5+
AnalyzeTemporaryDtors: false
6+
FormatStyle: none
7+
User: anesbens
8+
CheckOptions:
9+
- key: cert-dcl16-c.NewSuffixes
10+
value: 'L;LL;LU;LLU'
11+
- key: cert-oop54-cpp.WarnOnlyIfThisHasSuspiciousField
12+
value: '0'
13+
- key: cert-str34-c.DiagnoseSignedUnsignedCharComparisons
14+
value: '0'
15+
- key: cppcoreguidelines-explicit-virtual-functions.IgnoreDestructors
16+
value: '1'
17+
- key: cppcoreguidelines-non-private-member-variables-in-classes.IgnoreClassesWithAllMemberVariablesBeingPublic
18+
value: '1'
19+
- key: google-readability-braces-around-statements.ShortStatementLines
20+
value: '1'
21+
- key: google-readability-function-size.StatementThreshold
22+
value: '800'
23+
- key: google-readability-namespace-comments.ShortNamespaceLines
24+
value: '10'
25+
- key: google-readability-namespace-comments.SpacesBeforeComments
26+
value: '2'
27+
- key: llvm-else-after-return.WarnOnConditionVariables
28+
value: '0'
29+
- key: llvm-else-after-return.WarnOnUnfixable
30+
value: '0'
31+
- key: llvm-qualified-auto.AddConstToQualified
32+
value: '0'
33+
- key: modernize-loop-convert.MaxCopySize
34+
value: '16'
35+
- key: modernize-loop-convert.MinConfidence
36+
value: reasonable
37+
- key: modernize-loop-convert.NamingStyle
38+
value: CamelCase
39+
- key: modernize-pass-by-value.IncludeStyle
40+
value: llvm
41+
- key: modernize-replace-auto-ptr.IncludeStyle
42+
value: llvm
43+
- key: modernize-use-nullptr.NullMacros
44+
value: 'NULL'
45+
- key: portability-restrict-system-includes.Includes
46+
value: '*'
47+
- key: portability-simd-intrinsics.Std
48+
value: ''
49+
- key: portability-simd-intrinsics.Suggest
50+
value: '0'
51+
- key: readability-braces-around-statements.ShortStatementLines
52+
value: '0'
53+
- key: readability-else-after-return.WarnOnConditionVariables
54+
value: 'true'
55+
- key: readability-else-after-return.WarnOnUnfixable
56+
value: 'true'
57+
- key: readability-function-size.BranchThreshold
58+
value: '4294967295'
59+
- key: readability-function-size.LineThreshold
60+
value: '4294967295'
61+
- key: readability-function-size.NestingThreshold
62+
value: '4294967295'
63+
- key: readability-function-size.ParameterThreshold
64+
value: '4294967295'
65+
- key: readability-function-size.StatementThreshold
66+
value: '800'
67+
- key: readability-function-size.VariableThreshold
68+
value: '4294967295'
69+
- key: readability-identifier-naming.AggressiveDependentMemberLookup
70+
value: 'false'
71+
- key: readability-identifier-naming.IgnoreFailedSplit
72+
value: 'false'
73+
- key: readability-identifier-naming.IgnoreMainLikeFunctions
74+
value: 'false'
75+
- key: readability-implicit-bool-conversion.AllowIntegerConditions
76+
value: 'false'
77+
- key: readability-implicit-bool-conversion.AllowPointerConditions
78+
value: 'false'
79+
- key: readability-inconsistent-declaration-parameter-name.IgnoreMacros
80+
value: 'true'
81+
- key: readability-inconsistent-declaration-parameter-name.Strict
82+
value: 'false'
83+
- key: readability-magic-numbers.IgnoreAllFloatingPointValues
84+
value: 'false'
85+
- key: readability-magic-numbers.IgnoreBitFieldsWidths
86+
value: 'true'
87+
- key: readability-magic-numbers.IgnorePowersOf2IntegerValues
88+
value: 'false'
89+
- key: readability-magic-numbers.IgnoredFloatingPointValues
90+
value: '1.0;100.0;'
91+
- key: readability-magic-numbers.IgnoredIntegerValues
92+
value: '1;2;3;4;'
93+
- key: readability-qualified-auto.AddConstToQualified
94+
value: 'true'
95+
- key: readability-redundant-declaration.IgnoreMacros
96+
value: 'true'
97+
- key: readability-redundant-member-init.IgnoreBaseInCopyConstructors
98+
value: 'false'
99+
- key: readability-redundant-smartptr-get.IgnoreMacros
100+
value: 'true'
101+
- key: readability-redundant-string-init.StringNames
102+
value: '::std::basic_string'
103+
- key: readability-simplify-boolean-expr.ChainedConditionalAssignment
104+
value: 'false'
105+
- key: readability-simplify-boolean-expr.ChainedConditionalReturn
106+
value: 'false'
107+
- key: readability-simplify-subscript-expr.Types
108+
value: '::std::basic_string;::std::basic_string_view;::std::vector;::std::array'
109+
- key: readability-static-accessed-through-instance.NameSpecifierNestingThreshold
110+
value: '3'
111+
- key: readability-uppercase-literal-suffix.IgnoreMacros
112+
value: 'true'
113+
- key: readability-uppercase-literal-suffix.NewSuffixes
114+
value: ''
115+
...
116+

0 commit comments

Comments
 (0)