espressif / esptool-js

Javascript implementation of flasher tool for Espressif chips, running in web browser using WebSerial.
https://espressif.github.io/esptool-js/
Apache License 2.0
288 stars 108 forks source link

Unwanted debugging messages in the latest version #63

Closed igrr closed 1 year ago

igrr commented 1 year ago

After the typescript rewrite, there are some additional debugging messages in the "terminal":

esptool.js v0.1-dev
Serial port WebSerial VendorID 0x303a ProductID 0x1001
Connecting..._connect_attempt default_reset false

Sync
Sync err Error: Timeout

.Sync
538052359

Chip Magic 9
Detecting chip type... ESP32-S3
Chip is ESP32-S3
Features: Wi-Fi,BLE
Crystal is 40MHz
MAC: 7c:df:a1:e8:12:58
Uploading stub...
mem_begin 4820 1 6144 40378000
check_command enter RAM download mode
check_command write to target RAM
mem_begin 4 1 6144 3fcb2bf4
check_command enter RAM download mode
check_command write to target RAM
Running stub...
check_command leave RAM download mode
Stub running...
Changing baudrate to 921600
0
Changed

Task is to review them and hide behind some "enable debugging" option.