Skip to content

Commit 168fa22

Browse files
Sort ULP sources to prevent relocation errors (#950)
1 parent 4a461f5 commit 168fa22

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

builder/frameworks/ulp.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ def generate_ulp_config(target_config):
8080
riscv_ulp_enabled = sdk_config.get("ESP32S2_ULP_COPROC_RISCV", False)
8181

8282
ulp_sources = collect_ulp_sources()
83+
ulp_sources.sort()
8384
cmd = (
8485
os.path.join(platform.get_package_dir("tool-cmake"), "bin", "cmake"),
8586
"-DCMAKE_GENERATOR=Ninja",

0 commit comments

Comments
 (0)