@@ -536,19 +536,21 @@ def safe_remove_sdkconfig_files():
536
536
pm = ToolPackageManager ()
537
537
platform = env .PioPlatform ()
538
538
config = env .GetProjectConfig ()
539
- print ("******* config" , config )
540
539
board = env .BoardConfig ()
540
+ print ("******* board" , board )
541
+
541
542
542
543
# Cached values
543
544
mcu = board .get ("build.mcu" , "esp32" )
544
545
pioenv = env ["PIOENV" ]
545
546
project_dir = env .subst ("$PROJECT_DIR" )
546
547
path_cache = PathCache (platform , mcu )
547
- current_env_section = "env:" + env [ "PIOENV" ]
548
+ current_env_section = "env:" + pioenv
548
549
549
550
550
551
# Board configuration
551
552
board_sdkconfig = board .get ("espidf.custom_sdkconfig" , "" )
553
+ print ("****** board sdkconfig:" , board_sdkconfig )
552
554
entry_custom_sdkconfig = "\n "
553
555
flag_custom_sdkconfig = False
554
556
flag_custom_component_remove = False
@@ -567,6 +569,7 @@ def safe_remove_sdkconfig_files():
567
569
flag_custom_component_remove = True
568
570
569
571
if config .has_option ("env:" + env ["PIOENV" ], "custom_sdkconfig" ):
572
+ print ("entry custom_sdkconfig" , entry_custom_sdkconfig )
570
573
entry_custom_sdkconfig = env .GetProjectOption ("custom_sdkconfig" )
571
574
flag_custom_sdkconfig = True
572
575
0 commit comments