Skip to content

Commit 60be158

Browse files
committed
tools: enable SYSCALL_WCET when building silicon_wcet
- Flash silicon WCET certs with cycle instrumentation without a global default
1 parent 73bcd0f commit 60be158

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

tools/dev.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -573,6 +573,8 @@ def _run_build(args: argparse.Namespace) -> None:
573573
getattr(args, "no_components", False),
574574
)
575575
component_flags = _component_cmake_flags(enabled, board_host)
576+
if "silicon_wcet" in enabled:
577+
component_flags.append("-DULMK_CONFIG_SYSCALL_WCET=1")
576578

577579
elf = BUILD_DIR / build_subdir / "ulmk"
578580
if run_qemu and not args.clean and elf.is_file():

0 commit comments

Comments
 (0)