Skip to content

Commit 55fe7b2

Browse files
committed
updates the esp32 build
1 parent 35b61bd commit 55fe7b2

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

builder/esp32.py

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -721,16 +721,16 @@ def compile(): # NOQA
721721
cmd = cmd.replace('--before default_reset ', '')
722722
cmd = cmd.replace('--after no_reset ', '')
723723

724-
if not sys.platform.startswith('win'):
725-
cmds = [
726-
# [f'export "IDF_PATH={os.path.abspath(env["IDF_PATH"])}"'],
727-
['cd', 'lib/esp-idf'],
728-
['. ./export.sh'],
729-
['cd ../..'],
730-
cmd
731-
]
732-
else:
733-
cmds = cmd
724+
# if not sys.platform.startswith('win'):
725+
# cmds = [
726+
# # [f'export "IDF_PATH={os.path.abspath(env["IDF_PATH"])}"'],
727+
# # ['cd', 'lib/esp-idf'],
728+
# # ['. ./export.sh'],
729+
# # ['cd ../..'],
730+
# cmd
731+
# ]
732+
# else:
733+
cmds = [cmd]
734734

735735
result, _ = spawn(cmds, env=env)
736736
if result:

0 commit comments

Comments
 (0)