Merge pull request #92 from davidmonterocrespo24/feature/vscode-extension
feat: enhance ESP32 boot stability with deterministic instruction cou…master
commit
79865ab289
|
|
@ -216,8 +216,9 @@ def main() -> None: # noqa: C901 (complexity OK for inline worker)
|
||||||
b'-drive', f'file={firmware_path},if=mtd,format=raw'.encode(),
|
b'-drive', f'file={firmware_path},if=mtd,format=raw'.encode(),
|
||||||
]
|
]
|
||||||
|
|
||||||
# ── ESP32-C3 requires deterministic instruction counting for stable boot
|
# Deterministic instruction counting for stable timers (WiFi beacons, boot)
|
||||||
if 'c3' in machine:
|
# Required for ESP32-C3 boot; also needed for ESP32 WiFi on virtualized hosts
|
||||||
|
if 'c3' in machine or wifi_enabled:
|
||||||
args_list.extend([b'-icount', b'3'])
|
args_list.extend([b'-icount', b'3'])
|
||||||
|
|
||||||
# ── WiFi NIC (slirp user-mode networking) ──────────────────────────────
|
# ── WiFi NIC (slirp user-mode networking) ──────────────────────────────
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue