Skip to content
This repository was archived by the owner on Mar 31, 2023. It is now read-only.

Commit a9b1e8a

Browse files
committed
Fix #4, issue when using space in path
C compiler must be called with -cixxx option. If xxx contains spaces, it must be called with -ci"xxx". When using this double quote solution and space between c and i, this is the case. Else the space in xxx is interpreted as a separator.
1 parent 14f6a9b commit a9b1e8a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

platform.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ compiler.extra_flags=-gh -si -sd +proto +split
3636
compiler.c.flags= {compiler.extra_flags} -I "{compiler.path}\hstm8" -I "{compiler.path}\hstm8++" {compiler.stm.extra_include}
3737
compiler.c.sm8.flags=
3838
compiler.S.flags=
39-
compiler.cpp.flags= {compiler.extra_flags} -I "{compiler.path}\hstm8++" -c"i{compiler.path}\hstm8" {compiler.stm.extra_include} {compiler.warning_flags}
39+
compiler.cpp.flags= {compiler.extra_flags} -I "{compiler.path}\hstm8++" -c 'i"{compiler.path}\hstm8"' {compiler.stm.extra_include} {compiler.warning_flags}
4040
compiler.ar.flags=-e -r -p
4141
compiler.sm82hex.flags=-fi
4242
compiler.hex2bin.flags=-b

0 commit comments

Comments
 (0)