velxio/backend/app
David Montero 3348e1fa48 fix(boards): a QEMU-Linux overlay board is not a Raspberry Pi
Two answers about the UNIHIKER M10 came from the family whose run path it
borrows rather than from the board itself.

The upgrade prompt told a free user that "Raspberry Pi emulation is a Pro
feature" about a DFRobot SBC: proBoardFeatureName named the family, so every
piFamily overlay board inherited the Pi's name. It now uses the board's own
label whenever the kind is registered; the OSS families keep theirs.

loadExample gated the guest-script branch on isPiBoardKind(), which reads a
registry the overlay only fills at mount. A direct /example/<id> link could
load before that: the branch was skipped and the editor opened on the board
group's Arduino blink default instead of the example's script.py. vfsFiles is
itself the declaration that this board's code is a guest script, so the
branch no longer consults the registry.

The server-side gate message names the two families instead of one board,
since the QEMU-Linux lane also carries boards that are not Raspberry Pis.

Test covers both, with the unregistered-kind race reproduced.
2026-08-25 19:22:29 +02:00
..
api feat(intellisense): answer from the local sketchbook, not only the cache 2026-08-25 00:06:10 +02:00
core feat(opencore): extract Pico W WiFi to a pluggable PIO peripheral seam 2026-06-15 08:33:28 +02:00
database
…
mcp
…
models
…
schemas
…
services fix(boards): a QEMU-Linux overlay board is not a Raspberry Pi 2026-08-25 19:22:29 +02:00
utils
…
__init__.py
…
main.py feat(micropython): install libraries from the micropython-lib index (#214) 2026-08-18 21:50:10 +02:00