fix: harden node upgrades and prepare 1.9.0-alpha

This commit is contained in:
archipelago
2026-10-05 12:43:49 -04:00
parent 138a541d01
commit daac47cac4
129 changed files with 9910 additions and 794 deletions
+20
View File
@@ -0,0 +1,20 @@
"""Packaged Espressif CLI: no system Python or first-use package install required."""
import sys
import esptool
from esptool.loader import StubFlasher
def self_test():
# Debian's stripped package omitted this blob; validate the actual bundled
# resources before accepting a flash job, without opening a serial port.
stub = StubFlasher('ESP32-S3')
if not stub.text or not stub.text_start or not stub.entry:
raise RuntimeError('ESP32-S3 flashing stub is incomplete')
print(f'archy-esptool {esptool.__version__}: ESP32-S3 stub ready')
if __name__ == '__main__':
if sys.argv[1:] == ['--archy-self-test']:
self_test()
else:
esptool._main()