Board Support
This is the authoritative AI-facing exact-board reference and lookup entry point
for the repository's source-backed board inventory. It resolves a named target to one exact profile,
extracts capabilities and risks, and hands the result to downstream skills. It
does not replace board-selection, which owns choosing or replacing a board
from project requirements.
Read First
- Read the shared Arduino skill contract.
- Read the board inventory and the
AI reference schema.
- Read the matched Markdown profile and its fact-to-source map from
../../references/boards/.
- Load
../pin-assignment/SKILL.md only when the user also asks for a GPIO
allocation or declarations.
- Load
../embedded-project-loop/SKILL.md first when the request includes
wiring, flashing, powering, measurement, recovery, or multi-session work.
For a repository checkout, use the deterministic resolver before interpreting
the profile:
python3 ../../scripts/resolve_board_profile.py \
--query "<board name>" --purpose lookup
Use --purpose pin or --purpose electrical for those advice paths and pass
confirmed values with repeated --identity FIELD=VALUE options. A non-zero
resolver status is a stop condition, not permission to guess.
The index is a compact retrieval surface. The Markdown profile is the detailed
source-of-truth for facts, caveats, and gaps. Do not invent fields that are not
in the profile or its cited primary sources.
Ownership And Routing
- Named-board lookup, capability questions, profile retrieval, exact pin-risk
checks, source-confidence questions, and framework compatibility checks start
here.
- Board choice, replacement, trade-off comparison, and lifecycle selection from
requirements start at
board-selection; it may call this skill for facts.
- Combined firmware/electronics/power/networking/deployment work starts at
arduino-workflow-router; the router loads this skill when a named board must
be resolved.
- Pin allocation and raw declaration formatting belong to
pin-assignment.
Resolution Procedure
Capture the board name, exact revision, module suffix, MCU, framework/core,
toolchain, host, and requested proof stage. Mark missing values as unknown.
Normalize the user's board name against id, name, and aliases in the
index. Require exactly one match. A marketing family, clone, carrier, or
module with a different suffix is not an exact match.
Read the matched identity_contract. If its profile_type is
bounded-variant-family, confirm the requested variant and every field in
required_for_pin_advice or required_for_electrical_advice before giving
advice that depends on that boundary. Common facts may be reported only when
the profile marks them as shared; never silently choose a variant.
If identity is sufficient, read its Markdown profile and return the compact
identity, logic level, memory, buses, ADC/PWM/timer capabilities, reserved
or risky pins, framework/toolchain boundary, source confidence, and open gaps.
Keep MCU electrical limits separate from board regulator, connector, total
GPIO, radio peak, or external-load limits. Preserve unknown, gap, and
verify statements instead of filling them with family assumptions.
For a framework request, record the exact board package/core, version or
commit, FQBN/PlatformIO environment, library versions, and upload tool. A
profile's framework list is compatibility scope, not proof that a build ran.
For a pin request, pass this handoff to pin-assignment:
board_id: <index id>
profile: <references/boards/*.md>
resolution_status: <resolved | needs-disambiguation | unsupported | profile-gap>
exact_identity: <board revision and module, or unknown>
identity_contract: <profile_type, variant, and required fields>
framework_core: <framework/core/version or unknown>
logic_level: <value and source status>
reserved_or_risky_pins: <input-only, strapping, flash/PSRAM, USB, debug, bus, LED>
usable_capabilities: <ADC/PWM/UART/I2C/SPI/touch/PIO/etc.>
unresolved: <gaps that block a safe assignment>
pin-assignment must re-check the exact physical pins before emitting any
declaration. Keep logical IDs separate from physical GPIO numbers and
preserve the raw ordered constexpr int convention.
Resolution Envelope
Start the response with this compact record so another skill can consume the
lookup without parsing prose. Use needs-disambiguation when a bounded family
is matched but a required variant, revision, module, or framework field is
missing. Use profile-gap when the identity is sufficient but the requested
fact is not source-backed in the profile.
resolution_status: resolved | needs-disambiguation | unsupported | profile-gap
board_id: <index id or null>
profile: <references/boards/*.md or null>
matched_alias: <normalized user term or null>
identity:
profile_type: <exact-board | bounded-variant-family | null>
variant: <confirmed value or unknown>
revision: <confirmed value or unknown>
module_suffix: <confirmed value or unknown>
required_disambiguators: []
framework_core: <name/version or unknown>
evidence:
source_confidence: <index value or unknown>
checked: <YYYY-MM-DD or unknown>
physical_status: unverified
The envelope is a routing record, not a build, upload, hardware, system, or
deployment claim. unsupported means no indexed profile matched; profile-gap
means the profile matched but the requested fact is not source-backed.
Ambiguous And Unsupported Targets
- If multiple profiles match, stop and ask for the revision, module suffix,
board photo, product identifier, or framework target needed to disambiguate.
- If no profile matches, say
unsupported by the indexed board set, provide the
minimum primary sources needed for a new profile, and do not map pins from a
similar board. board-selection may compare it only after its identity and
sources are established.
- For clones and carriers, identify the reference profile as a comparison only
and label every unverified board-level assumption.
Output Contract
Return these sections, even for a short lookup:
- Assumptions: exact identity, unknowns, and clone/revision boundary.
- Required tools and versions: framework/core, board package, toolchain,
host, and library versions needed for the requested path.
- Implementation steps: ordered lookup, profile, and downstream handoff.
- Tests and evidence: source/profile checks and proof stage; mark physical,
build, upload, system, and deployment stages separately.
- Known limitations: unsupported fields, source gaps, and revision scope.
- Recovery and security notes: boot/USB/debug risks, rollback path, and
secret-handling requirements when the target is connected.
Anti-Rationalization
| Shortcut |
Required response |
| "It is an ESP32, so the pins are known." |
Resolve exact family, module, DevKit revision, and framework variant. |
| "The index says source-backed, so every value is verified." |
Read the profile's fact-to-source map and preserve explicit gaps. |
| "A similar board has the same header." |
Stop at the identity boundary; request a primary board source. |
| "The core supports the board, so it compiled." |
Report compatibility scope only; require fresh build evidence. |
| "The pin list looks safe." |
Re-check boot, flash/PSRAM, USB, bus, voltage, pull, and current constraints. |
| "The family profile matched, so I can choose its variant." |
Return needs-disambiguation and ask for the required variant or revision. |
| "The resolution envelope says resolved, so hardware is proven." |
Keep physical_status: unverified until the user supplies board-specific evidence. |
Verification Boundary
Source lookup and schema validation are documentation evidence. They do not
prove wiring, power, flashing, runtime behavior, system behavior, or field
deployment. If the next step requires a physical action, use the shared
physical-world gate and ask one concrete user question before continuing.
Use the shared Arduino skill contract
for assumptions, tools, implementation steps, evidence, limitations, and
recovery/security notes.
1---2name: board-support3description: Resolve a named Arduino, ESP32, RP2040, or other embedded board to a source-backed exact profile, including pin/peripheral capability, voltage/current, buses, framework/core/toolchain, and variant or revision risks. Use this whenever a user asks for a board reference, pinout, GPIO restrictions, board capability, board profile, or safe handoff before pin assignment. Do not use it to choose a board from requirements; use board-selection for that decision.4---5
6# Board Support
7
8This is the authoritative AI-facing exact-board reference and lookup entry point
9for the repository's source-backed board inventory. It resolves a named target to one exact profile,
10extracts capabilities and risks, and hands the result to downstream skills. It
11does not replace `board-selection`, which owns choosing or replacing a board
12from project requirements.
13
14## Read First
15
161. Read the [shared Arduino skill contract](../../docs/arduino-skill-contract.md).
172. Read the [board inventory](../../references/boards/index.json) and the
18 [AI reference schema](../../references/boards/ai-reference-schema.md).
193. Read the matched Markdown profile and its fact-to-source map from
20 `../../references/boards/`.
214. Load `../pin-assignment/SKILL.md` only when the user also asks for a GPIO
22 allocation or declarations.
235. Load `../embedded-project-loop/SKILL.md` first when the request includes
24 wiring, flashing, powering, measurement, recovery, or multi-session work.
25
26For a repository checkout, use the deterministic resolver before interpreting
27the profile:
28
29```bash
30python3 ../../scripts/resolve_board_profile.py \
31 --query "<board name>" --purpose lookup
32```
33
34Use `--purpose pin` or `--purpose electrical` for those advice paths and pass
35confirmed values with repeated `--identity FIELD=VALUE` options. A non-zero
36resolver status is a stop condition, not permission to guess.
37
38The index is a compact retrieval surface. The Markdown profile is the detailed
39source-of-truth for facts, caveats, and gaps. Do not invent fields that are not
40in the profile or its cited primary sources.
41
42## Ownership And Routing
43
44- Named-board lookup, capability questions, profile retrieval, exact pin-risk
45 checks, source-confidence questions, and framework compatibility checks start
46 here.
47- Board choice, replacement, trade-off comparison, and lifecycle selection from
48 requirements start at `board-selection`; it may call this skill for facts.
49- Combined firmware/electronics/power/networking/deployment work starts at
50 `arduino-workflow-router`; the router loads this skill when a named board must
51 be resolved.
52- Pin allocation and raw declaration formatting belong to `pin-assignment`.
53
54## Resolution Procedure
55
561. Capture the board name, exact revision, module suffix, MCU, framework/core,
57 toolchain, host, and requested proof stage. Mark missing values as unknown.
582. Normalize the user's board name against `id`, `name`, and `aliases` in the
59 index. Require exactly one match. A marketing family, clone, carrier, or
60 module with a different suffix is not an exact match.
613. Read the matched `identity_contract`. If its `profile_type` is
62 `bounded-variant-family`, confirm the requested `variant` and every field in
63 `required_for_pin_advice` or `required_for_electrical_advice` before giving
64 advice that depends on that boundary. Common facts may be reported only when
65 the profile marks them as shared; never silently choose a variant.
664. If identity is sufficient, read its Markdown profile and return the compact
67 identity, logic level, memory, buses, ADC/PWM/timer capabilities, reserved
68 or risky pins, framework/toolchain boundary, source confidence, and open gaps.
695. Keep MCU electrical limits separate from board regulator, connector, total
70 GPIO, radio peak, or external-load limits. Preserve `unknown`, `gap`, and
71 `verify` statements instead of filling them with family assumptions.
726. For a framework request, record the exact board package/core, version or
73 commit, FQBN/PlatformIO environment, library versions, and upload tool. A
74 profile's framework list is compatibility scope, not proof that a build ran.
757. For a pin request, pass this handoff to `pin-assignment`:
76
77 ```text
78 board_id: <index id>
79 profile: <references/boards/*.md>
80 resolution_status: <resolved | needs-disambiguation | unsupported | profile-gap>
81 exact_identity: <board revision and module, or unknown>
82 identity_contract: <profile_type, variant, and required fields>
83 framework_core: <framework/core/version or unknown>
84 logic_level: <value and source status>
85 reserved_or_risky_pins: <input-only, strapping, flash/PSRAM, USB, debug, bus, LED>
86 usable_capabilities: <ADC/PWM/UART/I2C/SPI/touch/PIO/etc.>
87 unresolved: <gaps that block a safe assignment>
88 ```
89
90 `pin-assignment` must re-check the exact physical pins before emitting any
91 declaration. Keep logical IDs separate from physical GPIO numbers and
92 preserve the raw ordered `constexpr int` convention.
93
94## Resolution Envelope
95
96Start the response with this compact record so another skill can consume the
97lookup without parsing prose. Use `needs-disambiguation` when a bounded family
98is matched but a required variant, revision, module, or framework field is
99missing. Use `profile-gap` when the identity is sufficient but the requested
100fact is not source-backed in the profile.
101
102```yaml
103resolution_status: resolved | needs-disambiguation | unsupported | profile-gap
104board_id: <index id or null>
105profile: <references/boards/*.md or null>
106matched_alias: <normalized user term or null>
107identity:
108 profile_type: <exact-board | bounded-variant-family | null>
109 variant: <confirmed value or unknown>
110 revision: <confirmed value or unknown>
111 module_suffix: <confirmed value or unknown>
112required_disambiguators: []
113framework_core: <name/version or unknown>
114evidence:
115 source_confidence: <index value or unknown>
116 checked: <YYYY-MM-DD or unknown>
117 physical_status: unverified
118```
119
120The envelope is a routing record, not a build, upload, hardware, system, or
121deployment claim. `unsupported` means no indexed profile matched; `profile-gap`
122means the profile matched but the requested fact is not source-backed.
123
124## Ambiguous And Unsupported Targets
125
126- If multiple profiles match, stop and ask for the revision, module suffix,
127 board photo, product identifier, or framework target needed to disambiguate.
128- If no profile matches, say `unsupported by the indexed board set`, provide the
129 minimum primary sources needed for a new profile, and do not map pins from a
130 similar board. `board-selection` may compare it only after its identity and
131 sources are established.
132- For clones and carriers, identify the reference profile as a comparison only
133 and label every unverified board-level assumption.
134
135## Output Contract
136
137Return these sections, even for a short lookup:
138
1391. **Assumptions**: exact identity, unknowns, and clone/revision boundary.
1402. **Required tools and versions**: framework/core, board package, toolchain,
141 host, and library versions needed for the requested path.
1423. **Implementation steps**: ordered lookup, profile, and downstream handoff.
1434. **Tests and evidence**: source/profile checks and proof stage; mark physical,
144 build, upload, system, and deployment stages separately.
1455. **Known limitations**: unsupported fields, source gaps, and revision scope.
1466. **Recovery and security notes**: boot/USB/debug risks, rollback path, and
147 secret-handling requirements when the target is connected.
148
149## Anti-Rationalization
150
151| Shortcut | Required response |
152|---|---|
153| "It is an ESP32, so the pins are known." | Resolve exact family, module, DevKit revision, and framework variant. |
154| "The index says source-backed, so every value is verified." | Read the profile's fact-to-source map and preserve explicit gaps. |
155| "A similar board has the same header." | Stop at the identity boundary; request a primary board source. |
156| "The core supports the board, so it compiled." | Report compatibility scope only; require fresh build evidence. |
157| "The pin list looks safe." | Re-check boot, flash/PSRAM, USB, bus, voltage, pull, and current constraints. |
158| "The family profile matched, so I can choose its variant." | Return `needs-disambiguation` and ask for the required variant or revision. |
159| "The resolution envelope says resolved, so hardware is proven." | Keep `physical_status: unverified` until the user supplies board-specific evidence. |
160
161## Verification Boundary
162
163Source lookup and schema validation are documentation evidence. They do not
164prove wiring, power, flashing, runtime behavior, system behavior, or field
165deployment. If the next step requires a physical action, use the shared
166physical-world gate and ask one concrete user question before continuing.
167
168Use the [shared Arduino skill contract](../../docs/arduino-skill-contract.md)
169for assumptions, tools, implementation steps, evidence, limitations, and
170recovery/security notes.