Skip to content

Commit 3619d0b

Browse files
committed
Fix paths in profiling sample on Windows
The cpp-baremetal-semihosting-prof sample will fail if run as instructed, as two programs are missing %BIN_PATH% in the make.bat script.
1 parent 81faa9f commit 3619d0b

File tree

1 file changed

+2
-2
lines changed
  • samples/src/cpp-baremetal-semihosting-prof

1 file changed

+2
-2
lines changed

samples/src/cpp-baremetal-semihosting-prof/make.bat

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@
3737
@call :build_fn
3838
:do_run
3939
qemu-system-arm.exe -M microbit -semihosting -nographic -device loader,file=hello.hex
40-
llvm-profdata.exe merge -sparse default.profraw -o hello.profdata
41-
llvm-cov.exe show hello.elf -instr-profile=hello.profdata
40+
%BIN_PATH%\llvm-profdata.exe merge -sparse default.profraw -o hello.profdata
41+
%BIN_PATH%\llvm-cov.exe show hello.elf -instr-profile=hello.profdata
4242
@exit /B
4343

4444
:clean

0 commit comments

Comments
 (0)