File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -229,11 +229,12 @@ def get_MD5_hash(phrase):
229
229
print ("***** sdkconfig not existing, fetching from Arduino lib builder repo ****" )
230
230
os .makedirs (join (ARDUINO_FRMWRK_LIB_DIR ,mcu ))
231
231
sdkconfig_common_url = "https://github.com/pioarduino/esp32-arduino-lib-builder/raw/refs/heads/release/v5.3/configs/defconfig.common"
232
- response = request .urlretrieve (sdkconfig_common_url , sdkconfig_src )
232
+ sdkconfig_mcu = join (ARDUINO_FRMWRK_LIB_DIR ,mcu ,"sdkconfig" )
233
+ response = request .urlretrieve (sdkconfig_common_url , sdkconfig_mcu )
233
234
sdkconfig_defconfig_url = "https://github.com/pioarduino/esp32-arduino-lib-builder/raw/refs/heads/release/v5.3/configs/defconfig." + mcu
234
235
defconfig_mcu = join (ARDUINO_FRMWRK_LIB_DIR ,mcu ,"defconfig." + mcu )
235
236
response = request .urlretrieve (sdkconfig_defconfig_url , defconfig_mcu )
236
- with open (defconfig_mcu , 'r' ) as f1 , open (sdkconfig_src , 'w' ) as f2 :
237
+ with open (defconfig_mcu , 'r' ) as f1 , open (sdkconfig_mcu , 'w' ) as f2 :
237
238
f2 .write (f1 .read ())
238
239
with open (sdkconfig_src , 'r' ) as file :
239
240
file_lines = file .readlines ()
You can’t perform that action at this time.
0 commit comments