velxio/frontend/src/lib
David Montero Crespo f35805175c fix(spice): overlay boards were skipped before a single volt was injected
ADC_PIN_MAP and ADC_PIN_TO_GPIO are keyed by the BoardKind union. An overlay
board's kind is a runtime string that can never join that union, so
connectAnalogInputsToMcu hit `if (!adcPins) continue;` at all three sites for
every pro board: a divider, an LDR, an op-amp output wired to one solved
correctly in SPICE and then had nowhere to go. Parts that inject their own value
(a potentiometer, through partUtils) were unaffected, which is exactly what made
this easy to miss — analog looked like it worked.

A pro board now declares its pads through ProBoardDef.adcPins, and pad->GPIO
resolution consults its own pinToNumber first. Both fall back to the existing
tables untouched, so no OSS board changes behaviour.

The pad NAME matters, not the GPIO: on the Pimoroni Pico Plus 2 W the analog
pads are silked 26/27/28 and tied to GP40/41/42 through 1k, so the two disagree
by design.
2026-08-22 05:13:41 +02:00
..
apiBase.ts
…
componentCameraRegistry.ts feat(canvas): header camera toggles for component-owned webcams 2026-08-07 21:11:33 +02:00
editorCommands.ts feat(news): announce with a toast, open the modal only on request 2026-08-10 19:52:55 +02:00
instantEngine.ts feat(seams): instant-engine registry for QEMU-Linux boards 2026-07-29 04:20:07 +02:00
intellisenseRegistry.ts feat(editor): compile-diagnostics seam — publish raw build output for editor markers 2026-08-15 06:44:35 +02:00
newsEvents.ts feat(news): interaction seam for What's New (impression/open/link_click/video_play) 2026-08-11 18:37:23 +02:00
newsGate.ts feat(news): announcement opens as a modal before the starter dialog 2026-08-11 20:12:37 +02:00
newsSource.ts fix(news): pro builds wait for the overlay source before fetching 2026-08-11 20:40:46 +02:00
onlineOnlyBoards.ts feat(picker): ESP32-S3-EYE ad card replaces the ESP-EYE one 2026-08-20 17:18:42 +02:00
openDeviceGateway.ts fix(picow): drop the broken 'Open in tab' link from the device panel 2026-06-14 07:42:44 +02:00
proBoardGate.ts
…
proBoardRegistry.ts fix(spice): overlay boards were skipped before a single volt was injected 2026-08-22 05:13:41 +02:00
proHardwareSerial.ts feat(serial): hardware-serial seams for the pro Web Serial monitor 2026-08-11 21:23:56 +02:00
proRoutes.ts refactor(routes): OSS is the editor; marketing moves to the overlay 2026-07-30 17:50:14 +02:00
proSaveAction.ts
…
proSdCardGate.ts
…
proSession.ts
…
proWebFlash.ts flash: compile before flashing, stale-build warning, i18n dialog, entitlement seam (#207) 2026-08-18 20:21:57 +02:00