File tree Expand file tree Collapse file tree 2 files changed +5
-7
lines changed Expand file tree Collapse file tree 2 files changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -223,9 +223,9 @@ def populate_idf_env_vars(idf_env):
223
223
os .path .dirname (env .subst ("$PYTHONEXE" )),
224
224
]
225
225
226
- if mcu not in ( "esp32c3" , "esp32s3" ) :
226
+ if mcu != "esp32c3" :
227
227
additional_packages .append (
228
- os .path .join (platform .get_package_dir ("toolchain-%sulp" % mcu ), "bin" ),
228
+ os .path .join (platform .get_package_dir ("toolchain-esp32ulp" ), "bin" ),
229
229
)
230
230
231
231
if "windows" in get_systype ():
Original file line number Diff line number Diff line change @@ -36,14 +36,11 @@ def prepare_ulp_env_vars(env):
36
36
37
37
additional_packages = [
38
38
os .path .join (
39
- platform .get_package_dir (
40
- "toolchain-xtensa-esp%s"
41
- % ("32s2" if idf_variant == "esp32s2" else "32" )
42
- ),
39
+ platform .get_package_dir ("toolchain-xtensa-%s" % idf_variant ),
43
40
"bin" ,
44
41
),
45
42
os .path .join (
46
- platform .get_package_dir ("toolchain-%sulp" % idf_variant ),
43
+ platform .get_package_dir ("toolchain-esp32ulp" ),
47
44
"bin" ,
48
45
),
49
46
platform .get_package_dir ("tool-ninja" ),
@@ -99,6 +96,7 @@ def generate_ulp_config(target_config):
99
96
"-DULP_APP_NAME=ulp_main" ,
100
97
"-DCOMPONENT_DIR=" + os .path .join (ulp_env .subst ("$PROJECT_DIR" ), "ulp" ),
101
98
'-DCOMPONENT_INCLUDES="%s"' % ";" .join (get_component_includes (target_config )),
99
+ "-DIDF_TARGET=%s" % idf_variant ,
102
100
"-DIDF_PATH=" + fs .to_unix_path (FRAMEWORK_DIR ),
103
101
"-DSDKCONFIG_HEADER=" + os .path .join (BUILD_DIR , "config" , "sdkconfig.h" ),
104
102
"-DPYTHON=" + env .subst ("$PYTHONEXE" ),
You can’t perform that action at this time.
0 commit comments