velxio/frontend/src/simulation
David Montero fd0edd8c6d feat(cyw43): bridge Pico W DNS/TCP/UDP to the backend for real internet
Wi-Fi sketches on the emulated Pico W associate via the chip's built-in
virtual net (DHCP/ARP answered locally), but outbound traffic had no
route, so DNS/MQTT/HTTP failed with OSError -2.

Wire the emulator's outbound DATA path to the backend picow_net bridge:

- Cyw43Emulator forwards every outbound Ethernet frame EXCEPT DHCP/ARP
  (still answered locally) to firePacketOut -> the WS bridge, which NATs
  DNS/TCP/UDP to the real internet and injects replies back.
- The virtual net stays ON unconditionally and shares the backend's
  subnet, gateway and gateway MAC (10.13.37.0/24, gw 10.13.37.1). Nothing
  is mutually exclusive, so an absent or flaky bridge can never break the
  Wi-Fi association -- it just falls back to no-internet, as before.
- useSimulatorStore opens the bridge (cyw43.connect()) for Wi-Fi sketches.

Validated end to end against a running backend: WiFi connect + DHCP, DNS
resolves example.com, TCP connect + HTTP GET returns 200 OK. Gated e2e in
picow-bridge-e2e.investigate.test.ts (CYW43_BRIDGE_E2E=1).
2026-06-13 05:27:49 +02:00
..
customChips feat(chipbus): Galaksija keyboard - type BASIC over the bus 2026-06-05 14:37:42 -03:00
cyw43 feat(cyw43): bridge Pico W DNS/TCP/UDP to the backend for real internet 2026-06-13 05:27:49 +02:00
digital feat(digital-gate-engine): 4-bit ripple counter gallery example + sequential controller fix 2026-06-05 21:58:42 -03:00
displays feat(epaper): decode the UC8179/GD7965 7.5" panel + fix its BUSY polarity 2026-06-04 23:45:37 -03:00
parts Merge pull request #220 from ciegovolador/fix/buzzer-sample-accurate-audio 2026-06-12 00:40:46 -03:00
spice feat(digital-gate-engine): evaluate logic gates on the event-driven kernel 2026-06-05 20:21:33 -03:00
verify
AVRSimulator.ts fix(sim): sample-accurate buzzer audio — precise PWM detection + display-aligned scheduling 2026-06-08 22:46:21 -03:00
Esp32Bridge.ts feat(microsd): SD-over-SPI card storage for AVR, RP2040 and ESP32 2026-06-11 03:59:53 +02:00
Esp32C3Simulator.ts
Esp32MicroPythonLoader.ts
HD44780Decoder.ts
I2CBusManager.ts
Interconnect.ts
LogicFamilies.ts
MicroPythonLoader.ts fix(micropython): write LittleFS files with UTF-8 byte length 2026-06-13 04:08:02 +02:00
PinManager.ts fix(sim): keep PwmCallback 2-arg compatible via arity dispatch 2026-06-11 03:29:44 -03:00
PinResolver.ts
RP2040Simulator.ts feat(cyw43): bridge Pico W DNS/TCP/UDP to the backend for real internet 2026-06-13 05:27:49 +02:00
RaspberryPi3Bridge.ts fix(sim): desktop QEMU sims use injected sidecar URL; fix nano-button-led wiring 2026-06-02 03:24:19 +02:00
RiscVCore.ts
RiscVSimulator.ts
SensorUpdateRegistry.ts
SignalRouter.ts
SpiBus.ts
Stm32Bridge.ts fix(sim): desktop QEMU sims use injected sidecar URL; fix nano-button-led wiring 2026-06-02 03:24:19 +02:00
esp32-signals.ts
piSlaveScanner.ts
rp2040-bootrom.ts
sensorControlConfig.ts