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):
77
77
78
78
79
79
def 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 )
81
81
82
82
ulp_sources = collect_ulp_sources ()
83
83
ulp_sources .sort ()
@@ -90,8 +90,8 @@ def generate_ulp_config(target_config):
90
90
"components" ,
91
91
"ulp" ,
92
92
"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 "" ),
95
95
),
96
96
'-DULP_S_SOURCES="%s"' % ";" .join (ulp_sources ),
97
97
"-DULP_APP_NAME=ulp_main" ,
You can’t perform that action at this time.
0 commit comments