@@ -284,6 +284,8 @@ def populate_idf_env_vars(idf_env):
284
284
if board .get ("build.esp-idf.overwrite_managed_components" , "yes" ) == "yes" :
285
285
idf_env ["IDF_COMPONENT_OVERWRITE_MANAGED_COMPONENTS" ] = "1"
286
286
287
+ idf_env ["ESP_ROM_ELF_DIR" ] = platform .get_package_dir ("tool-esp-rom-elfs" )
288
+
287
289
288
290
def get_target_config (project_configs , target_index , cmake_api_reply_dir ):
289
291
target_json = project_configs .get ("targets" )[target_index ].get ("jsonFile" , "" )
@@ -1277,14 +1279,17 @@ def _get_installed_pip_packages(python_exe_path):
1277
1279
# https://github.com/platformio/platformio-core/issues/4614
1278
1280
"urllib3" : "<2" ,
1279
1281
# 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" ,
1282
1283
"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" ,
1284
1284
"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"
1286
1286
}
1287
1287
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
+
1288
1293
if sys_platform .system () == "Darwin" and "arm" in sys_platform .machine ().lower ():
1289
1294
deps ["chardet" ] = ">=3.0.2,<4"
1290
1295
0 commit comments