Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commite08dbb1

Browse files
authored
Fixes build script for ESP32
a) copy_updated_files renamed to copy_micropy_updatesb) use os.makedirs instead of os.mkdir so the intermediate directory 'originals' will be created
1 parent4c62391 commite08dbb1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

‎builder/esp32.py‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
from .import (
99
read_file,
1010
write_file,
11-
copy_updated_files,
11+
copy_micropy_updates,
1212
revert_files,
1313
scrub_build_folder
1414
)
@@ -125,7 +125,7 @@ def save(self):
125125
)
126126

127127
ifnotos.path.exists(f'{SCRIPT_DIR}/build'):
128-
os.mkdir(f'{SCRIPT_DIR}/build')
128+
os.makedirs(f'{SCRIPT_DIR}/build')
129129

130130
withopen(self.save_file_path,'w')asf:
131131
f.write(PARTITION_HEADER)
@@ -1140,7 +1140,7 @@ def compile(*args): # NOQA
11401140
update_mpconfigboard()
11411141
update_mpconfigport()
11421142

1143-
copy_updated_files('esp32')
1143+
copy_micropy_updates('esp32')
11441144

11451145
try:
11461146
cmd_=compile_cmd[:]

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp