File tree Expand file tree Collapse file tree 10 files changed +10
-9
lines changed
cpp-baremetal-semihosting Expand file tree Collapse file tree 10 files changed +10
-9
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
1414
1515- Replaced newlib with [ picolibc] ( https://github.com/picolibc/picolibc ) (GitHub issue #61 )
1616- Renamed and updated configuration files
17+ - Configuration files must now be specified including the file name suffix e.g. ` --config armv6m_soft_nofp.cfg `
1718
1819### Removed
1920
Original file line number Diff line number Diff line change @@ -90,7 +90,7 @@ For example:
9090
9191```
9292$ PATH=<install-dir>/LLVMEmbeddedToolchainForArm-<revision>/bin:$PATH
93- $ clang --config armv6m_soft_nofp_semihost -T picolibc.ld -o example example.c
93+ $ clang --config armv6m_soft_nofp_semihost.cfg -T picolibc.ld -o example example.c
9494```
9595
9696The available configuration files can be listed using:
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ include ../../Makefile.conf
2020build : hello.elf
2121
2222hello.elf : * .c
23- $(BIN_PATH ) /clang --config armv6m_soft_nofp_semihost -g -T ../../ldscripts/microbit.ld -o hello.elf $^
23+ $(BIN_PATH ) /clang --config armv6m_soft_nofp_semihost.cfg -g -T ../../ldscripts/microbit.ld -o hello.elf $^
2424
2525% .hex : % .elf
2626 $(BIN_PATH ) /llvm-objcopy -O ihex $< $@
Original file line number Diff line number Diff line change @@ -49,6 +49,6 @@ if exist hello.hex del /q hello.hex
4949@ exit /B 1
5050
5151:build_fn
52- %BIN_PATH% \clang.exe --config armv6m_soft_nofp_semihost -g -T ..\..\ldscripts\microbit.ld -o hello.elf hello.c
52+ %BIN_PATH% \clang.exe --config armv6m_soft_nofp_semihost.cfg -g -T ..\..\ldscripts\microbit.ld -o hello.elf hello.c
5353%BIN_PATH% \llvm-objcopy.exe -O ihex hello.elf hello.hex
5454@ exit /B
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ include ../../Makefile.conf
2020build : hello.elf
2121
2222hello.elf : * .c
23- $(BIN_PATH ) /clang --config armv6m_soft_nofp -g -T ../../ldscripts/microbit.ld -o hello.elf $^
23+ $(BIN_PATH ) /clang --config armv6m_soft_nofp.cfg -g -T ../../ldscripts/microbit.ld -o hello.elf $^
2424
2525% .hex : % .elf
2626 $(BIN_PATH ) /llvm-objcopy -O ihex $< $@
Original file line number Diff line number Diff line change @@ -49,6 +49,6 @@ if exist hello.hex del /q hello.hex
4949@ exit /B 1
5050
5151:build_fn
52- %BIN_PATH% \clang.exe --config armv6m_soft_nofp -g -T ..\..\ldscripts\microbit.ld -o hello.elf hello.c
52+ %BIN_PATH% \clang.exe --config armv6m_soft_nofp.cfg -g -T ..\..\ldscripts\microbit.ld -o hello.elf hello.c
5353%BIN_PATH% \llvm-objcopy.exe -O ihex hello.elf hello.hex
5454@ exit /B
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ include ../../Makefile.conf
2020build : hello.elf
2121
2222hello.elf : * .cpp
23- $(BIN_PATH ) /clang++ --config armv6m_soft_nofp_semihost -g -T ../../ldscripts/microbit.ld -o hello.elf $^
23+ $(BIN_PATH ) /clang++ --config armv6m_soft_nofp_semihost.cfg -g -T ../../ldscripts/microbit.ld -o hello.elf $^
2424
2525% .hex : % .elf
2626 $(BIN_PATH ) /llvm-objcopy -O ihex $< $@
Original file line number Diff line number Diff line change @@ -49,6 +49,6 @@ if exist hello.hex del /q hello.hex
4949@ exit /B 1
5050
5151:build_fn
52- %BIN_PATH% \clang++.exe --config armv6m_soft_nofp_semihost -g -T ..\..\ldscripts\microbit.ld -o hello.elf hello.cpp
52+ %BIN_PATH% \clang++.exe --config armv6m_soft_nofp_semihost.cfg -g -T ..\..\ldscripts\microbit.ld -o hello.elf hello.cpp
5353%BIN_PATH% \llvm-objcopy.exe -O ihex hello.elf hello.hex
5454@ exit /B
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ build: hello.elf
1919
2020hello.elf : * .c
2121 @$(BIN_PATH ) /clang \
22- --config armv6m_soft_nofp_semihost \
22+ --config armv6m_soft_nofp_semihost.cfg \
2323 -T ../../../samples/ldscripts/microbit.ld \
2424 -g \
2525 -o hello.elf \
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ build: hello.elf
1919
2020hello.elf : * .cpp
2121 @$(BIN_PATH ) /clang++ \
22- --config armv6m_soft_nofp_semihost \
22+ --config armv6m_soft_nofp_semihost.cfg \
2323 -T ../../../samples/ldscripts/microbit.ld \
2424 -g \
2525 -o hello.elf \
You can’t perform that action at this time.
0 commit comments