File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -77,7 +77,7 @@ def get_component_includes(target_config):
7777
7878
7979def generate_ulp_config (target_config ):
80- riscv_ulp_enabled = sdk_config .get ("ESP32S2_ULP_COPROC_RISCV " , False )
80+ riscv_ulp_enabled = sdk_config .get ("ULP_COPROC_TYPE_RISCV " , False )
8181
8282 ulp_sources = collect_ulp_sources ()
8383 ulp_sources .sort ()
@@ -90,8 +90,8 @@ def generate_ulp_config(target_config):
9090 "components" ,
9191 "ulp" ,
9292 "cmake" ,
93- "toolchain-%s-ulp %s.cmake"
94- % (idf_variant , "-riscv" if riscv_ulp_enabled else "" ),
93+ "toolchain-%sulp %s.cmake"
94+ % ("" if riscv_ulp_enabled else idf_variant + "-" , "-riscv" if riscv_ulp_enabled else "" ),
9595 ),
9696 '-DULP_S_SOURCES="%s"' % ";" .join (ulp_sources ),
9797 "-DULP_APP_NAME=ulp_main" ,
You can’t perform that action at this time.
0 commit comments