Skip to content

Commit 6d1f10f

Browse files
committed
chore: publish YACP firmware
0 parents  commit 6d1f10f

5,673 files changed

Lines changed: 1288556 additions & 0 deletions

File tree

Some content is hidden

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

.clang-format

Lines changed: 331 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,331 @@
1+
Language: Cpp
2+
AccessModifierOffset: -1
3+
AlignAfterOpenBracket: Align
4+
AlignArrayOfStructures: None
5+
AlignConsecutiveAssignments:
6+
Enabled: false
7+
AcrossEmptyLines: false
8+
AcrossComments: false
9+
AlignCompound: false
10+
AlignFunctionDeclarations: false
11+
AlignFunctionPointers: false
12+
PadOperators: true
13+
AlignConsecutiveBitFields:
14+
Enabled: false
15+
AcrossEmptyLines: false
16+
AcrossComments: false
17+
AlignCompound: false
18+
AlignFunctionDeclarations: false
19+
AlignFunctionPointers: false
20+
PadOperators: false
21+
AlignConsecutiveDeclarations:
22+
Enabled: false
23+
AcrossEmptyLines: false
24+
AcrossComments: false
25+
AlignCompound: false
26+
AlignFunctionDeclarations: true
27+
AlignFunctionPointers: false
28+
PadOperators: false
29+
AlignConsecutiveMacros:
30+
Enabled: false
31+
AcrossEmptyLines: false
32+
AcrossComments: false
33+
AlignCompound: false
34+
AlignFunctionDeclarations: false
35+
AlignFunctionPointers: false
36+
PadOperators: false
37+
AlignConsecutiveShortCaseStatements:
38+
Enabled: false
39+
AcrossEmptyLines: false
40+
AcrossComments: false
41+
AlignCaseArrows: false
42+
AlignCaseColons: false
43+
AlignConsecutiveTableGenBreakingDAGArgColons:
44+
Enabled: false
45+
AcrossEmptyLines: false
46+
AcrossComments: false
47+
AlignCompound: false
48+
AlignFunctionDeclarations: false
49+
AlignFunctionPointers: false
50+
PadOperators: false
51+
AlignConsecutiveTableGenCondOperatorColons:
52+
Enabled: false
53+
AcrossEmptyLines: false
54+
AcrossComments: false
55+
AlignCompound: false
56+
AlignFunctionDeclarations: false
57+
AlignFunctionPointers: false
58+
PadOperators: false
59+
AlignConsecutiveTableGenDefinitionColons:
60+
Enabled: false
61+
AcrossEmptyLines: false
62+
AcrossComments: false
63+
AlignCompound: false
64+
AlignFunctionDeclarations: false
65+
AlignFunctionPointers: false
66+
PadOperators: false
67+
AlignEscapedNewlines: Left
68+
AlignOperands: Align
69+
AlignTrailingComments:
70+
Kind: Always
71+
OverEmptyLines: 0
72+
AllowAllArgumentsOnNextLine: true
73+
AllowAllParametersOfDeclarationOnNextLine: true
74+
AllowBreakBeforeNoexceptSpecifier: Never
75+
AllowShortBlocksOnASingleLine: Never
76+
AllowShortCaseExpressionOnASingleLine: true
77+
AllowShortCaseLabelsOnASingleLine: false
78+
AllowShortCompoundRequirementOnASingleLine: true
79+
AllowShortEnumsOnASingleLine: true
80+
AllowShortFunctionsOnASingleLine: All
81+
AllowShortIfStatementsOnASingleLine: WithoutElse
82+
AllowShortLambdasOnASingleLine: All
83+
AllowShortLoopsOnASingleLine: true
84+
AllowShortNamespacesOnASingleLine: false
85+
AlwaysBreakAfterDefinitionReturnType: None
86+
AlwaysBreakBeforeMultilineStrings: true
87+
AttributeMacros:
88+
- __capability
89+
- absl_nonnull
90+
- absl_nullable
91+
- absl_nullability_unknown
92+
BinPackArguments: true
93+
BinPackLongBracedList: true
94+
BinPackParameters: BinPack
95+
BitFieldColonSpacing: Both
96+
BracedInitializerIndentWidth: -1
97+
BraceWrapping:
98+
AfterCaseLabel: false
99+
AfterClass: false
100+
AfterControlStatement: Never
101+
AfterEnum: false
102+
AfterExternBlock: false
103+
AfterFunction: false
104+
AfterNamespace: false
105+
AfterObjCDeclaration: false
106+
AfterStruct: false
107+
AfterUnion: false
108+
BeforeCatch: false
109+
BeforeElse: false
110+
BeforeLambdaBody: false
111+
BeforeWhile: false
112+
IndentBraces: false
113+
SplitEmptyFunction: true
114+
SplitEmptyRecord: true
115+
SplitEmptyNamespace: true
116+
BreakAdjacentStringLiterals: true
117+
BreakAfterAttributes: Leave
118+
BreakAfterJavaFieldAnnotations: false
119+
BreakAfterReturnType: None
120+
BreakArrays: true
121+
BreakBeforeBinaryOperators: None
122+
BreakBeforeConceptDeclarations: Always
123+
BreakBeforeBraces: Attach
124+
BreakBeforeInlineASMColon: OnlyMultiline
125+
BreakBeforeTemplateCloser: false
126+
BreakBeforeTernaryOperators: true
127+
BreakBinaryOperations: Never
128+
BreakConstructorInitializers: BeforeColon
129+
BreakFunctionDefinitionParameters: false
130+
BreakInheritanceList: BeforeColon
131+
BreakStringLiterals: true
132+
BreakTemplateDeclarations: Yes
133+
ColumnLimit: 120
134+
CommentPragmas: '^ IWYU pragma:'
135+
CompactNamespaces: false
136+
ConstructorInitializerIndentWidth: 4
137+
ContinuationIndentWidth: 4
138+
Cpp11BracedListStyle: true
139+
DerivePointerAlignment: false
140+
DisableFormat: false
141+
EmptyLineAfterAccessModifier: Never
142+
EmptyLineBeforeAccessModifier: LogicalBlock
143+
EnumTrailingComma: Leave
144+
ExperimentalAutoDetectBinPacking: false
145+
FixNamespaceComments: true
146+
ForEachMacros:
147+
- foreach
148+
- Q_FOREACH
149+
- BOOST_FOREACH
150+
IfMacros:
151+
- KJ_IF_MAYBE
152+
IncludeBlocks: Regroup
153+
IncludeCategories:
154+
- Regex: '^<ext/.*\.h>'
155+
Priority: 2
156+
SortPriority: 0
157+
CaseSensitive: false
158+
- Regex: '^<.*\.h>'
159+
Priority: 1
160+
SortPriority: 0
161+
CaseSensitive: false
162+
- Regex: '^<.*'
163+
Priority: 2
164+
SortPriority: 0
165+
CaseSensitive: false
166+
- Regex: '.*'
167+
Priority: 3
168+
SortPriority: 0
169+
CaseSensitive: false
170+
IncludeIsMainRegex: '([-_](test|unittest))?$'
171+
IncludeIsMainSourceRegex: ''
172+
IndentAccessModifiers: false
173+
IndentCaseBlocks: false
174+
IndentCaseLabels: true
175+
IndentExportBlock: true
176+
IndentExternBlock: AfterExternBlock
177+
IndentGotoLabels: true
178+
IndentPPDirectives: None
179+
IndentRequiresClause: true
180+
IndentWidth: 2
181+
IndentWrappedFunctionNames: false
182+
InsertBraces: false
183+
InsertNewlineAtEOF: false
184+
InsertTrailingCommas: None
185+
IntegerLiteralSeparator:
186+
Binary: 0
187+
BinaryMinDigits: 0
188+
Decimal: 0
189+
DecimalMinDigits: 0
190+
Hex: 0
191+
HexMinDigits: 0
192+
JavaScriptQuotes: Leave
193+
JavaScriptWrapImports: true
194+
KeepEmptyLines:
195+
AtEndOfFile: false
196+
AtStartOfBlock: false
197+
AtStartOfFile: true
198+
KeepFormFeed: false
199+
LambdaBodyIndentation: Signature
200+
LineEnding: DeriveLF
201+
MacroBlockBegin: ''
202+
MacroBlockEnd: ''
203+
MainIncludeChar: Quote
204+
MaxEmptyLinesToKeep: 1
205+
NamespaceIndentation: None
206+
ObjCBinPackProtocolList: Never
207+
ObjCBlockIndentWidth: 2
208+
ObjCBreakBeforeNestedBlockParam: true
209+
ObjCSpaceAfterProperty: false
210+
ObjCSpaceBeforeProtocolList: true
211+
OneLineFormatOffRegex: ''
212+
PackConstructorInitializers: NextLine
213+
PenaltyBreakAssignment: 2
214+
PenaltyBreakBeforeFirstCallParameter: 1
215+
PenaltyBreakBeforeMemberAccess: 150
216+
PenaltyBreakComment: 300
217+
PenaltyBreakFirstLessLess: 120
218+
PenaltyBreakOpenParenthesis: 0
219+
PenaltyBreakScopeResolution: 500
220+
PenaltyBreakString: 1000
221+
PenaltyBreakTemplateDeclaration: 10
222+
PenaltyExcessCharacter: 1000000
223+
PenaltyIndentedWhitespace: 0
224+
PenaltyReturnTypeOnItsOwnLine: 200
225+
PointerAlignment: Left
226+
PPIndentWidth: -1
227+
QualifierAlignment: Leave
228+
RawStringFormats:
229+
- Language: Cpp
230+
Delimiters:
231+
- cc
232+
- CC
233+
- cpp
234+
- Cpp
235+
- CPP
236+
- 'c++'
237+
- 'C++'
238+
CanonicalDelimiter: ''
239+
BasedOnStyle: google
240+
- Language: TextProto
241+
Delimiters:
242+
- pb
243+
- PB
244+
- proto
245+
- PROTO
246+
EnclosingFunctions:
247+
- EqualsProto
248+
- EquivToProto
249+
- PARSE_PARTIAL_TEXT_PROTO
250+
- PARSE_TEST_PROTO
251+
- PARSE_TEXT_PROTO
252+
- ParseTextOrDie
253+
- ParseTextProtoOrDie
254+
- ParseTestProto
255+
- ParsePartialTestProto
256+
CanonicalDelimiter: pb
257+
BasedOnStyle: google
258+
ReferenceAlignment: Pointer
259+
ReflowComments: Always
260+
RemoveBracesLLVM: false
261+
RemoveEmptyLinesInUnwrappedLines: false
262+
RemoveParentheses: Leave
263+
RemoveSemicolon: false
264+
RequiresClausePosition: OwnLine
265+
RequiresExpressionIndentation: OuterScope
266+
SeparateDefinitionBlocks: Leave
267+
ShortNamespaceLines: 1
268+
SkipMacroDefinitionBody: false
269+
SortIncludes:
270+
Enabled: true
271+
IgnoreCase: false
272+
SortJavaStaticImport: Before
273+
SortUsingDeclarations: LexicographicNumeric
274+
SpaceAfterCStyleCast: false
275+
SpaceAfterLogicalNot: false
276+
SpaceAfterOperatorKeyword: false
277+
SpaceAfterTemplateKeyword: true
278+
SpaceAroundPointerQualifiers: Default
279+
SpaceBeforeAssignmentOperators: true
280+
SpaceBeforeCaseColon: false
281+
SpaceBeforeCpp11BracedList: false
282+
SpaceBeforeCtorInitializerColon: true
283+
SpaceBeforeInheritanceColon: true
284+
SpaceBeforeJsonColon: false
285+
SpaceBeforeParens: ControlStatements
286+
SpaceBeforeParensOptions:
287+
AfterControlStatements: true
288+
AfterForeachMacros: true
289+
AfterFunctionDefinitionName: false
290+
AfterFunctionDeclarationName: false
291+
AfterIfMacros: true
292+
AfterNot: false
293+
AfterOverloadedOperator: false
294+
AfterPlacementOperator: true
295+
AfterRequiresInClause: false
296+
AfterRequiresInExpression: false
297+
BeforeNonEmptyParentheses: false
298+
SpaceBeforeRangeBasedForLoopColon: true
299+
SpaceBeforeSquareBrackets: false
300+
SpaceInEmptyBlock: false
301+
SpacesBeforeTrailingComments: 2
302+
SpacesInAngles: Never
303+
SpacesInContainerLiterals: true
304+
SpacesInLineCommentPrefix:
305+
Minimum: 1
306+
Maximum: -1
307+
SpacesInParens: Never
308+
SpacesInParensOptions:
309+
ExceptDoubleParentheses: false
310+
InCStyleCasts: false
311+
InConditionalStatements: false
312+
InEmptyParentheses: false
313+
Other: false
314+
SpacesInSquareBrackets: false
315+
Standard: Auto
316+
StatementAttributeLikeMacros:
317+
- Q_EMIT
318+
StatementMacros:
319+
- Q_UNUSED
320+
- QT_REQUIRE_VERSION
321+
TableGenBreakInsideDAGArg: DontBreak
322+
TabWidth: 8
323+
UseTab: Never
324+
VerilogBreakBetweenInstancePorts: true
325+
WhitespaceSensitiveMacros:
326+
- BOOST_PP_STRINGIZE
327+
- CF_SWIFT_NAME
328+
- NS_SWIFT_NAME
329+
- PP_STRINGIZE
330+
- STRINGIZE
331+
WrapNamespaceBodyWithEmptyLines: Leave

.clangd

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
CompileFlags:
2+
Add: [-std=c++2a]

.claude/skills/README.md

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# CrossPoint Reader: Claude Code skills
2+
3+
Project skills for Claude Code. Claude auto-discovers them and loads one when the
4+
task matches its `description`; you do not invoke them by hand. They encode how
5+
this project wants C/C++ written: the judgment calls and self-review gates that
6+
keep the firmware small, stable, and reviewable.
7+
8+
These are written for capable agents, not beginners. They are principle- and
9+
decision-focused on purpose. They deliberately avoid line-number citations,
10+
which drift; they anchor on durable names (APIs, types, macros, files).
11+
12+
This is separate from `.skills/SKILL.md`, the GitHub coding-agent guide that
13+
mirrors CLAUDE.md. CLAUDE.md stays the always-loaded rule set; these skills are
14+
the applied decision procedures that load on demand and add the judgment layer
15+
CLAUDE.md does not carry.
16+
17+
| Skill | Loads when you are... |
18+
|---|---|
19+
| `heap-discipline` | allocating memory: new/malloc/vector/string, buffers, caches |
20+
| `control-flow-clarity` | writing branching logic, state flags, modes, if/else ladders |
21+
| `hal-and-abstractions` | touching storage, input, display, settings, i18n, rendering |
22+
| `scope-discipline` | adding a feature, activity, lib, setting, or dependency |
23+
| `refactor-for-review` | refactoring, cleaning up, or preparing a change for PR |
24+
25+
Each skill ends with a self-review checklist Claude runs against its own diff
26+
before handing it back. Reviewing a PR? Those checklists double as a fast rubric.
27+
28+
## Maintaining these
29+
30+
Edit the `SKILL.md` under each directory. Keep them tight. Do not restate
31+
CLAUDE.md; add the judgment CLAUDE.md cannot afford to carry. Trigger quality
32+
lives in the `description` field: it must name the situations that should pull
33+
the skill in, in the words a contributor's task would use.

0 commit comments

Comments
 (0)