velxio/frontend/src/simulation
David Montero a1137f1929 fix(sim): re-solve SPICE on ESP32/STM32/Pi output pin edges
WebSocket-backed boards (ESP32, STM32, Raspberry Pi) reach the electrical
simulation only through PinManager.triggerPinChange, which updated the pin
state + notified listeners but never requested an electrical re-solve. AVR
and RP2040 already resolve at their own toggle sites. As a result an analog
part on an MCU-driven net (e.g. a resistor-less LED whose brightness comes
from the SPICE solve) stayed at its first solved value until unrelated
activity (such as serial output) forced a solve — so an ESP32 blink with no
Serial in loop() left the LED stuck on.

Request an electrical re-solve after an 'mcu'-sourced pin edge, in one place
(triggerPinChange), covering all WS boards. Gated to source==='mcu' so the
solver's own input feedback (triggerPinChange with the default 'external'
source) can't loop; requestElectricalResolve coalesces overlapping ticks so
a per-edge call is cheap.
2026-07-02 22:33:46 +02:00
..
customChips
…
digital
…
displays
…
parts feat(esp32): drive digital inputs from the solved circuit (real-wiring fidelity) 2026-06-24 22:52:52 +02:00
spice sim: drive RP2040 + STM32 digital inputs from the real circuit 2026-06-26 22:05:24 +02:00
verify feat(sim): P2 wiring ERC slice 2 — VCC-to-GND short + shorted-out parts 2026-06-18 03:32:17 +02:00
AVRSimulator.ts feat(avr): drive inputs from real circuit, modeling the internal pull-up 2026-06-26 20:18:41 +02:00
Esp32Bridge.ts feat(esp32): emulate internal pull-up/pull-down for GPIO inputs 2026-06-24 03:32:30 +02:00
Esp32C3Simulator.ts
…
Esp32MicroPythonLoader.ts
…
HD44780Decoder.ts
…
I2CBusManager.ts
…
Interconnect.ts
…
LogicFamilies.ts
…
MicroPythonLoader.ts feat(opencore): extract Pico W WiFi to a pluggable PIO peripheral seam 2026-06-15 08:33:28 +02:00
PinManager.ts fix(sim): re-solve SPICE on ESP32/STM32/Pi output pin edges 2026-07-02 22:33:46 +02:00
PinResolver.ts
…
PioPeripheral.ts feat(opencore): extract Pico W WiFi to a pluggable PIO peripheral seam 2026-06-15 08:33:28 +02:00
RP2040Simulator.ts sim: drive RP2040 + STM32 digital inputs from the real circuit 2026-06-26 22:05:24 +02:00
RaspberryPi3Bridge.ts feat(pi): gpiozero core + boot feedback, terminal and upload UX 2026-06-22 20:21:06 +02:00
RiscVCore.ts
…
RiscVSimulator.ts
…
SensorUpdateRegistry.ts
…
SignalRouter.ts
…
SpiBus.ts
…
Stm32Bridge.ts sim: drive RP2040 + STM32 digital inputs from the real circuit 2026-06-26 22:05:24 +02:00
UsiI2cBridge.ts feat(sim): ATtiny85 USI I2C — drive I2C devices (SSD1306 OLED) via TinyWireM 2026-06-19 07:44:18 +02:00
esp32-signals.ts
…
piSlaveScanner.ts
…
rp2040-bootrom.ts
…
sensorControlConfig.ts
…