File tree Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Original file line number Diff line number Diff line change @@ -427,8 +427,7 @@ def validate_platformio_path(path: Union[str, Path]) -> bool:
427
427
# Must be framework-related
428
428
framework_indicators = [
429
429
"framework-arduinoespressif32" ,
430
- "framework-arduinoespressif32-libs" ,
431
- "framework-arduino-c2-skeleton-lib"
430
+ "framework-arduinoespressif32-libs"
432
431
]
433
432
434
433
if not any (indicator in path_str for indicator in framework_indicators ):
@@ -578,11 +577,7 @@ def safe_remove_sdkconfig_files():
578
577
if len (board_sdkconfig ) > 2 :
579
578
flag_custom_sdkconfig = True
580
579
581
- extra_flags_raw = board .get ("build.extra_flags" , [])
582
- if isinstance (extra_flags_raw , list ):
583
- extra_flags = " " .join (extra_flags_raw ).replace ("-D" , " " )
584
- else :
585
- extra_flags = str (extra_flags_raw ).replace ("-D" , " " )
580
+ extra_flags = ('' .join ([element for element in board .get ("build.extra_flags" , "" )])).replace ("-D" , " " )
586
581
587
582
framework_reinstall = False
588
583
You can’t perform that action at this time.
0 commit comments