Using Esptool on MacOS
Posted: Wed Jan 10, 2024 7:33 pm
I am trying to perform a command similar to the one below that I currently have working on Windows but on Mac:
Where in the case above instead of having installed Python and using the 'esptool.py' command, I am using the file path to the 'esptool.exe' that is included in the 4.7 release for Windows.
I need to do this same command on Mac but the issue I am facing is in regards to the 'esptool' file. In the Mac release folder, all the mirrored files to the Windows versions are of 'file' type and are not behaving the same as the .exe / .app in the Windows release.
Downloading Python and using the 'esptool.py' command is not an option for my project, how do I properly run this command but for Mac?
Code: Select all
let command_string = `${esptoolPath} --chip esp32s3 --port ${port} --baud 115200 --before default_reset ` +
`--after hard_reset write_flash -z --flash_mode dio --flash_freq 40m --flash_size detect 0x0000 ${firmwarePath}`;
I need to do this same command on Mac but the issue I am facing is in regards to the 'esptool' file. In the Mac release folder, all the mirrored files to the Windows versions are of 'file' type and are not behaving the same as the .exe / .app in the Windows release.
Downloading Python and using the 'esptool.py' command is not an option for my project, how do I properly run this command but for Mac?