velxio/frontend/src
David Montero eb3b04efe3 spice: seed INPUT_PULLUP pins to their resting level on pull enable
Deterministic repro (emulation-gaps F4): after pinMode(2, INPUT_PULLUP)
with a correctly-wired button-to-GND, all 8 setup()-time digitalReads
and the first two loop() passes returned 0 — the input register only
got its level from the first SPICE solve (~400 ms). That window is what
fired phantom emergency-stop latches and auto-started state machines in
audited sessions (and an unwired INPUT_PULLUP pin on the qemu bridges
never got driven at all: no net in pinNetMap, connector skips it, guest
read 0 forever).

Fix: PinManager.onPullChange fires on pull transitions; AVRSimulator
seeds its port input to the resting level instantly (real silicon does
this in ns), and makePinPullHandler does the same for the qemu-bridge
boards via the shim's setPinState. Sourced nets are still overridden by
the very next solve, so the 'mis-wired button still works' regression
guarded by the June work cannot return.
2026-07-31 20:51:42 +02:00
..
__pro_stub__
__tests__ Merge branch 'feat/circuit-safety-p1' 2026-07-31 20:43:10 +02:00
assets
components feat(components): DS3231 RTC module + GPS NEO-6M NMEA talker 2026-07-31 20:38:06 +02:00
data feat(esp32): pure ESP-IDF language mode for the ESP32 family (#139) 2026-07-24 06:37:01 +02:00
desktop fix(editor): sync URL after New workspace + sever project identity on .vlx import 2026-07-18 08:24:06 +02:00
hooks fix(autosave): start late-installed impl for already-mounted hooks 2026-07-31 08:24:44 +02:00
i18n feat(simulator): map pushbuttons to keyboard keys 2026-07-18 04:02:01 +02:00
lib
pages feat(landing): hero shows the weather-station circuit gif running 2026-07-22 22:56:32 +02:00
services compile: thread initiated_by through CompileRequest and metrics extras 2026-07-31 20:22:29 +02:00
simulation spice: seed INPUT_PULLUP pins to their resting level on pull enable 2026-07-31 20:51:42 +02:00
store spice: seed INPUT_PULLUP pins to their resting level on pull enable 2026-07-31 20:51:42 +02:00
tokens
types feat(esp32): pure ESP-IDF language mode for the ESP32 family (#139) 2026-07-24 06:37:01 +02:00
utils feat(esp32): pure ESP-IDF language mode for the ESP32 family (#139) 2026-07-24 06:37:01 +02:00
velxio-elements feat(breadboard): Wokwi-style parts-on-breadboard — hole snapping + invisible seating wires 2026-07-18 08:47:25 +02:00
App.css
App.tsx feat(ui): global message dialog to replace window.alert() 2026-07-17 06:06:28 +02:00
elements-register.ts feat(components): DS3231 RTC module + GPS NEO-6M NMEA talker 2026-07-31 20:38:06 +02:00
entry-server.tsx
index.css
main.tsx feat(components): DS3231 RTC module + GPS NEO-6M NMEA talker 2026-07-31 20:38:06 +02:00
seoRoutes.ts
vite-env.d.ts