Skip to content

Commit 831c596

Browse files
authored
Update esp32.py
1 parent 64cad08 commit 831c596

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

builder/esp32.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1401,6 +1401,8 @@ def build_sdkconfig(*args):
14011401
with open(SDKCONFIG_PATH, 'w') as f:
14021402
f.write('\n'.join(base_config))
14031403

1404+
return args
1405+
14041406

14051407
def revert_custom_board():
14061408
if custom_board_path is None:
@@ -1424,7 +1426,7 @@ def compile(*args): # NOQA
14241426
if ccache:
14251427
env['IDF_CCACHE_ENABLE'] = '1'
14261428

1427-
build_sdkconfig(*args)
1429+
args = build_sdkconfig(*args)
14281430

14291431
if custom_board_path is None:
14301432

@@ -1447,7 +1449,7 @@ def compile(*args): # NOQA
14471449

14481450
try:
14491451
cmd_ = compile_cmd[:]
1450-
cmd_.extend(list(args))
1452+
cmd_.extend(args)
14511453

14521454
ret_code, output = spawn(cmd_, env=env, cmpl=True)
14531455

0 commit comments

Comments
 (0)