@@ -250,11 +250,6 @@ def populate_idf_env_vars(idf_env):
250
250
os .path .dirname (get_python_exe ()),
251
251
]
252
252
253
- if mcu not in ("esp32c2" , "esp32c3" , "esp32c6" , "esp32h2" , "esp32p4" ):
254
- additional_packages .append (
255
- os .path .join (platform .get_package_dir ("esp32ulp-elf" ), "bin" ),
256
- )
257
-
258
253
idf_env ["PATH" ] = os .pathsep .join (additional_packages + [idf_env ["PATH" ]])
259
254
260
255
# Some users reported that the `IDF_TOOLS_PATH` var can seep into the
@@ -870,6 +865,7 @@ def build_bootloader(sdk_config):
870
865
"-DPYTHON=" + get_python_exe (),
871
866
"-DIDF_PATH=" + FRAMEWORK_DIR ,
872
867
"-DSDKCONFIG=" + SDKCONFIG_PATH ,
868
+ "-DPROJECT_SOURCE_DIR=" + PROJECT_DIR ,
873
869
"-DLEGACY_INCLUDE_COMMON_HEADERS=" ,
874
870
"-DEXTRA_COMPONENT_DIRS="
875
871
+ os .path .join (FRAMEWORK_DIR , "components" , "bootloader" ),
@@ -1771,8 +1767,8 @@ def _skip_prj_source_files(node):
1771
1767
#
1772
1768
1773
1769
ulp_dir = os .path .join (PROJECT_DIR , "ulp" )
1774
- if os .path .isdir (ulp_dir ) and os .listdir (ulp_dir ) and mcu not in ("esp32c2" , "esp32c3" , "esp32c6" , " esp32h2" , "esp32p4 " ):
1775
- env .SConscript ("ulp.py" , exports = "env sdk_config project_config idf_variant" )
1770
+ if os .path .isdir (ulp_dir ) and os .listdir (ulp_dir ) and mcu not in ("esp32c2" , "esp32c3" , "esp32h2" ):
1771
+ env .SConscript ("ulp.py" , exports = "env sdk_config project_config app_includes idf_variant" )
1776
1772
1777
1773
#
1778
1774
# Process OTA partition and image
0 commit comments