velxio/test
David Montero c147e7a4aa test(esp32): add MicroPython I2C reproduction tests for IWDT bug
Two Node.js tests that hit the simulation backend WebSocket directly
and inject minimal MicroPython programs via raw-paste REPL:

- test_micropython_i2c_minimal: smallest possible repro. I2C(0)+scan+
  single-byte writeto. Used to prove the bug is NOT in the basic I2C
  layer — this test passes both before and after the fix.

- test_micropython_i2c_ssd1306_repro: walks the full SSD1306 init
  sequence (25-cmd init loop + 6x addr writes + writevto 8B + writevto
  1024B). Used to prove the bug is NOT in the cmd sequence or the
  writevto path — this test also passes both before and after.

These two tests refuted the original "missing TRANS_DONE IRQ"
hypothesis and pointed the investigation toward the file-load vs
raw-REPL difference, which led to identifying the per-byte _emit
bottleneck in esp32_worker.py.

Run with:
    node --experimental-websocket test/test_micropython_i2c_minimal/test.mjs \
         --backend=http://localhost:3080 --timeout=120

Requires the velxio container (or local backend with QEMU libs) on
the given backend URL.
2026-05-23 22:27:16 +02:00
..
autosearch
backend test(dht22): skip absolute-timing busy_wait checks under CI 2026-05-17 22:31:37 +02:00
esp32
esp32-emulator
esp32_cam
multi_board
multi_board_esp32
pi3_console_boot feat(pi3): switch from raspi3b to virt + virtio (Phase 1) 2026-05-18 05:36:13 +02:00
pi3_protocols fix(test): pi3 bme280 attach test sys.path + block-read race 2026-05-18 20:39:12 +02:00
pi_arduino_serial
pico_doom_demo
test-esp32-cam
test-esp32-p4
test_100_days
test_Raspberry_Pi_Pico_W
test_chip_backend_runtime
test_circuit
test_custom_chips
test_custom_chips_boards
test_epaper
test_intel
test_micropython_i2c_minimal test(esp32): add MicroPython I2C reproduction tests for IWDT bug 2026-05-23 22:27:16 +02:00
test_micropython_i2c_ssd1306_repro test(esp32): add MicroPython I2C reproduction tests for IWDT bug 2026-05-23 22:27:16 +02:00
docker-errors-2026-04-19.md