_refresh_pin_pulls read a fixed 40 registers from get_internals(3), but the exposed array is per-chip: classic muxgpios[40], ESP32-S3 49 (GPIO0..48). The fixed bound silently missed S3 pulls on GPIO40-48. Read _GPIO_COUNT entries instead (set from the machine at startup). Pairs with qemu-lcgamboa 547e989, which models the S3 IO_MUX pull bits and exposes them via the get_internals override — together they make INPUT_PULLUP buttons work on the emulated S3 exactly like the classic ESP32 (verified on staging with GPIO4 and GPIO40). |
||
|---|---|---|
| .. | ||
| app | ||
| scripts | ||
| sdk | ||
| tests | ||
| .env.example | ||
| Dockerfile | ||
| debug_qemu.py | ||
| mcp_server.py | ||
| mcp_sse_server.py | ||
| requirements.txt | ||