Skip to content

Commit

Permalink
Fix paths in profiling sample on Windows
Browse files Browse the repository at this point in the history
The cpp-baremetal-semihosting-prof sample will fail if run as instructed,
as two programs are missing %BIN_PATH% in the make.bat script.
  • Loading branch information
dcandler committed Oct 4, 2024
1 parent 81faa9f commit 3619d0b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions samples/src/cpp-baremetal-semihosting-prof/make.bat
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@
@call :build_fn
:do_run
qemu-system-arm.exe -M microbit -semihosting -nographic -device loader,file=hello.hex
llvm-profdata.exe merge -sparse default.profraw -o hello.profdata
llvm-cov.exe show hello.elf -instr-profile=hello.profdata
%BIN_PATH%\llvm-profdata.exe merge -sparse default.profraw -o hello.profdata
%BIN_PATH%\llvm-cov.exe show hello.elf -instr-profile=hello.profdata
@exit /B

:clean
Expand Down

0 comments on commit 3619d0b

Please sign in to comment.