Skip to content

Commit e262a71

Browse files
authored
[ATfE] Fix Windows llvmlibc sample to allow exception handling. (#472)
[ATfE] Fix Windows llvmlibc sample to allow exception handling.
1 parent 6c5206b commit e262a71

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 -fno-exceptions -fno-rtti -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 ..\..\ldscripts\llvmlibc-microbit.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)