@@ -284,6 +284,8 @@ def populate_idf_env_vars(idf_env):
284284 if board .get ("build.esp-idf.overwrite_managed_components" , "yes" ) == "yes" :
285285 idf_env ["IDF_COMPONENT_OVERWRITE_MANAGED_COMPONENTS" ] = "1"
286286
287+ idf_env ["ESP_ROM_ELF_DIR" ] = platform .get_package_dir ("tool-esp-rom-elfs" )
288+
287289
288290def get_target_config (project_configs , target_index , cmake_api_reply_dir ):
289291 target_json = project_configs .get ("targets" )[target_index ].get ("jsonFile" , "" )
@@ -1277,14 +1279,17 @@ def _get_installed_pip_packages(python_exe_path):
12771279 # https://github.com/platformio/platformio-core/issues/4614
12781280 "urllib3" : "<2" ,
12791281 # https://github.com/platformio/platform-espressif32/issues/635
1280- "cryptography" : "~=41.0.1" if IDF5 else ">=2.1.4,<35.0.0" ,
1281- "future" : ">=0.18.3" ,
1282+ "cryptography" : "~=44.0.0" if IDF5 else ">=2.1.4,<35.0.0" ,
12821283 "pyparsing" : ">=3.1.0,<4" if IDF5 else ">=2.0.3,<2.4.0" ,
1283- "kconfiglib" : "~=14.1.0" if IDF5 else "~=13.7.1" ,
12841284 "idf-component-manager" : "~=1.5.2" if IDF5 else "~=1.0" ,
1285- "esp-idf-kconfig" : ">=1.4.2,<2.0 .0"
1285+ "esp-idf-kconfig" : "~=2.5 .0"
12861286 }
12871287
1288+ if not IDF5 :
1289+ deps ["kconfiglib" ] = "~=13.7.1"
1290+ deps ["future" ] = ">=0.18.3"
1291+ deps ["esp-idf-kconfig" ] = ">=1.4.2,<2.0.0"
1292+
12881293 if sys_platform .system () == "Darwin" and "arm" in sys_platform .machine ().lower ():
12891294 deps ["chardet" ] = ">=3.0.2,<4"
12901295
0 commit comments