Sort ULP sources to prevent relocation errors (#950)

This commit is contained in:
Nedko Boshkilov
2023-01-09 11:46:35 +02:00
committed by GitHub
parent 4a461f5221
commit 168fa22561
+1
View File
@@ -80,6 +80,7 @@ def generate_ulp_config(target_config):
riscv_ulp_enabled = sdk_config.get("ESP32S2_ULP_COPROC_RISCV", False)
ulp_sources = collect_ulp_sources()
ulp_sources.sort()
cmd = (
os.path.join(platform.get_package_dir("tool-cmake"), "bin", "cmake"),
"-DCMAKE_GENERATOR=Ninja",