Skip to content
This repository was archived by the owner on Sep 16, 2024. It is now read-only.

Commit 06a5bf9

Browse files
author
iwahdan88
committed
Minor fix to [get_idf_libs.py]
1 parent bcd5db4 commit 06a5bf9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

esp32/get_idf_libs.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ def main():
2121
# copy the bootloader libraries
2222

2323
os.mkdir(dsttmpbl)
24+
os.mkdir(dsttmpapp)
2425

2526
shutil.copy(src + '/bootloader/bootloader_support/libbootloader_support.a', dsttmpbl)
2627
shutil.copy(src + '/bootloader/log/liblog.a', dsttmpbl)
@@ -30,8 +31,6 @@ def main():
3031

3132
# copy the application libraries
3233

33-
os.mkdir(dsttmpapp)
34-
3534
shutil.copy(src + '/bootloader_support/libbootloader_support.a', dsttmpapp)
3635
shutil.copy(src + '/bt/libbt.a', dsttmpapp)
3736
shutil.copy(src + '/cxx/libcxx.a', dsttmpapp)
@@ -65,6 +64,7 @@ def main():
6564
print("Couldn't Copy IDF libs defaulting to Local Lib Folders!")
6665
shutil.rmtree(dsttmpbl)
6766
shutil.rmtree(dsttmpapp)
67+
return
6868

6969
for item in os.listdir(dsttmpbl):
7070
shutil.copy(dsttmpbl+ '/' + item, dstbl + '/' + item)

0 commit comments

Comments
 (0)