Skip to content

Commit 592e664

Browse files
authored
Update ulp.py
1 parent adc0a17 commit 592e664

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

builder/frameworks/ulp.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ def prepare_ulp_env_vars(env):
3636
ulp_env.PrependENVPath("IDF_PATH", FRAMEWORK_DIR)
3737

3838
toolchain_path = platform.get_package_dir(
39-
"toolchain-xtensa-%s" % idf_variant
39+
"toolchain-xtensa-esp-elf"
4040
if idf_variant not in ("esp32c6", "esp32p4")
4141
else "toolchain-riscv32-esp"
4242
)
@@ -116,8 +116,7 @@ def _generate_ulp_configuration_action(env, target, source):
116116
"-DIDF_PATH=" + fs.to_unix_path(FRAMEWORK_DIR),
117117
"-DSDKCONFIG_HEADER=" + os.path.join(BUILD_DIR, "config", "sdkconfig.h"),
118118
"-DPYTHON=" + env.subst("$PYTHONEXE"),
119-
"-DULP_COCPU_IS_RISCV=%s" % ("ON" if riscv_ulp_enabled else "OFF"),
120-
"-DULP_COCPU_IS_LP_CORE=%s" % ("ON" if lp_core_ulp_enabled else "OFF"),
119+
"-DSDKCONFIG_CMAKE=" + os.path.join(BUILD_DIR, "config", "sdkconfig.cmake"),
121120
"-GNinja",
122121
"-B",
123122
ULP_BUILD_DIR,

0 commit comments

Comments
 (0)