File tree Expand file tree Collapse file tree 1 file changed +1
-20
lines changed Expand file tree Collapse file tree 1 file changed +1
-20
lines changed Original file line number Diff line number Diff line change @@ -962,26 +962,7 @@ def compile(): # NOQA
962
962
build_bin_file += '.bin'
963
963
build_bin_file = os .path .abspath (build_bin_file )
964
964
965
- cmd = f'{ python_path } -m { esptool_path } merge_bin -o { build_bin_file } { bin_files } '
966
-
967
- cmd = cmd .replace ('esptool.py' , esptool_path )
968
- cmd = cmd .replace ('write_flash' , f'' )
969
- cmd = cmd .replace ('--flash_freq 80m ' , '' )
970
- cmd = cmd .replace ('-p (PORT) ' , '' )
971
- cmd = cmd .replace ('-b 460800 ' , '' )
972
- cmd = cmd .replace ('--before default_reset ' , '' )
973
- cmd = cmd .replace ('--after no_reset ' , '' )
974
-
975
- # if not sys.platform.startswith('win'):
976
- # cmds = [
977
- # # [f'export "IDF_PATH={os.path.abspath(env["IDF_PATH"])}"'],
978
- # # ['cd', 'lib/esp-idf'],
979
- # # ['. ./export.sh'],
980
- # # ['cd ../..'],
981
- # cmd
982
- # ]
983
- # else:
984
- cmds = [cmd ]
965
+ cmds = [f'{ python_path } -m { esptool_path } merge_bin -o { build_bin_file } { bin_files } ' ]
985
966
986
967
result , _ = spawn (cmds , env = env )
987
968
if result :
You can’t perform that action at this time.
0 commit comments