mirror of
https://github.com/esphome/esphome.git
synced 2025-07-30 07:06:38 +00:00
Update esphome/components/esp32/post_build.py.script
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
parent
fe61e4eacd
commit
0494fd2ba1
@ -79,8 +79,9 @@ def merge_factory_bin(source, target, env):
|
||||
return
|
||||
|
||||
output_path = firmware_path.with_suffix(".factory.bin")
|
||||
python_exe = f'"{env.subst("$PYTHONEXE")}"'
|
||||
cmd = [
|
||||
f'"{env.subst("$PYTHONEXE")}"', "-m", "esptool",
|
||||
python_exe, "-m", "esptool",
|
||||
"--chip", chip,
|
||||
"merge_bin",
|
||||
"--flash_size", flash_size,
|
||||
|
Loading…
x
Reference in New Issue
Block a user