addshore
11/19/2025, 2:04 PMaddshore
11/19/2025, 2:04 PMfloitsch
11/19/2025, 2:05 PMaddshore
11/19/2025, 2:05 PMjag toit tool firmware --envelope=foo tool esptool
Command: [C:/Users/adam/.cache/jaguar/sdk/bin/../lib/toit/bin/esptool.exe]
Version: esptool.py v4.8.1
4.8.1
and
toit tool firmware --envelope=foo tool esptool
Command: [C:/Users/adam/AppData/Local/Programs/toit/bin/../tools/esptool.exe]
Version: esptool.py v4.8.1
4.8.1floitsch
11/19/2025, 2:05 PMaddshore
11/19/2025, 2:06 PMjag flash
Error: failed to probe chip type: failed to probe chip type: exec: "esptool.py": executable file not found in %PATH%:
PS Microsoft.PowerShell.Core\FileSystem::\\wsl.localhost\Ubuntu\home\adam\dev\lb\io\toit-envelopes>floitsch
11/19/2025, 2:06 PMerr.addshore
11/19/2025, 2:06 PMaddshore
11/19/2025, 2:07 PMtoit tool firmware --output-format json tool esptool -e unused
{"command":["C:/Users/adam/AppData/Local/Programs/toit/bin/../tools/esptool.exe"],"version":"esptool.py v4.8.1\r\n4.8.1\r\n"}kasperl
11/19/2025, 2:08 PMjag? Make sure you're not being burnt by JAG_TOIT_REPO_PATH.addshore
11/19/2025, 2:08 PMkasperl
11/19/2025, 2:08 PMfloitsch
11/19/2025, 2:08 PMjag toit ....addshore
11/19/2025, 2:08 PMtoit tool firmware --output-format json tool esptool -e unused --port COM14 chip-id
Error: Unknown option: --port ?floitsch
11/19/2025, 2:09 PMfloitsch
11/19/2025, 2:09 PMaddshore
11/19/2025, 2:09 PMfloitsch
11/19/2025, 2:09 PMaddshore
11/19/2025, 2:09 PMcmd := sdk.EspTool(ctx, "--port", port, "chip-id") is what is being run, which I think results in the command above?floitsch
11/19/2025, 2:10 PMprintln(err.Error()) is what we need to add to figure out why it's not working.floitsch
11/19/2025, 2:10 PMcmd := is already after.floitsch
11/19/2025, 2:11 PM--chip=esp32c6 (or whatever your chip is). Then it skips the probing.floitsch
11/19/2025, 8:54 PMGitHub
11/20/2025, 1:34 PMfloitsch
11/20/2025, 1:34 PMnas2011
11/21/2025, 8:30 PMfloitsch
11/21/2025, 8:32 PMcopy and for other objects it's often with (and then optional parameters to modify some properties)floitsch
11/21/2025, 8:33 PMfloitsch
11/21/2025, 8:33 PMfloitsch
11/21/2025, 8:33 PM