Skip to content

Commit 2d5f173

Browse files
authored
[ATfE] Fix linker script path in llvmlibc sample (#488)
The previous patch to the C++ llvmlibc sample's make script incorrectly changed the linker script path to a file that doesn't exist on the branch. This patch changes it back.
1 parent 32f5c3a commit 2d5f173

File tree

1 file changed

+1
-1
lines changed
  • arm-software/embedded/llvmlibc-samples/src/cpp-baremetal-semihosting-llvmlibc

1 file changed

+1
-1
lines changed

arm-software/embedded/llvmlibc-samples/src/cpp-baremetal-semihosting-llvmlibc/make.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,6 @@ if exist hello.hex del /q hello.hex
4040
@exit /B 1
4141

4242
:build_fn
43-
%BIN_PATH%\clang++.exe --config=llvmlibc.cfg --target=armv6m-none-eabi -mfloat-abi=soft -march=armv6m -mfpu=none -nostartfiles -lcrt0-semihost -lsemihost -g -T ..\..\ldscripts\llvmlibc-microbit.ld -lm -o hello.elf hello.cpp
43+
%BIN_PATH%\clang++.exe --config=llvmlibc.cfg --target=armv6m-none-eabi -mfloat-abi=soft -march=armv6m -mfpu=none -nostartfiles -lcrt0-semihost -lsemihost -g -T microbit-llvmlibc.ld -lm -o hello.elf hello.cpp
4444
%BIN_PATH%\llvm-objcopy.exe -O ihex hello.elf hello.hex
4545
@exit /B

0 commit comments

Comments
 (0)