velxio/frontend/src/store
David Montero Crespo 189ba355a9 feat(boards): a board can ship the code it opens with
The editor seeded a freshly placed board from its FAMILY: the Arduino
LED_BUILTIN blink, the Pico Pin(25) MicroPython blink, or the Raspberry
Pi RPi.GPIO script. None of those run on a board that has no such LED,
no RPi.GPIO and its own vendor library, so the first Run failed on a
board the user had not touched yet.

ProBoardDef gains defaultFiles (per language mode, plus 'python' for the
QEMU-Linux guests) and defaultLibraries; addBoard and setBoardLanguageMode
prefer the board's own seed over the family default, and the seeded
libraries land in the board's compile manifest.

Also fix the MicroPython family fallback: it recognised an ESP32 by
'esp32' appearing in the group id, so an overlay ESP32 whose kind carries
no such substring (m5stack-core, cardputer-adv) was seeded the Pico's
Pin(25) blink - a dead pin on both. It now consults the board's declared
esp32Family too.
2026-08-18 15:02:13 +02:00
..
serialBatcher.ts
…
useCompileLogsStore.ts
…
useEditorStore.ts feat(boards): a board can ship the code it opens with 2026-08-18 15:02:13 +02:00
useElectricalStore.ts
…
useMessageDialogStore.ts
…
useOscilloscopeStore.ts
…
useProjectStore.ts feat(metrics): compiles and runs remember which gallery example they came from 2026-08-09 22:34:26 +02:00
useSimulatorStore.ts feat(boards): a board can ship the code it opens with 2026-08-18 15:02:13 +02:00
useVfsStore.ts
…