From a9b1e8a7ad27e0c603f036e2364ae97cae5f2d3a Mon Sep 17 00:00:00 2001 From: Vincent Veron Date: Tue, 6 Nov 2018 16:56:51 +0100 Subject: [PATCH] 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. --- platform.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform.txt b/platform.txt index 3e86595..ed8a4fa 100644 --- a/platform.txt +++ b/platform.txt @@ -36,7 +36,7 @@ compiler.extra_flags=-gh -si -sd +proto +split compiler.c.flags= {compiler.extra_flags} -I "{compiler.path}\hstm8" -I "{compiler.path}\hstm8++" {compiler.stm.extra_include} compiler.c.sm8.flags= compiler.S.flags= -compiler.cpp.flags= {compiler.extra_flags} -I "{compiler.path}\hstm8++" -c"i{compiler.path}\hstm8" {compiler.stm.extra_include} {compiler.warning_flags} +compiler.cpp.flags= {compiler.extra_flags} -I "{compiler.path}\hstm8++" -c 'i"{compiler.path}\hstm8"' {compiler.stm.extra_include} {compiler.warning_flags} compiler.ar.flags=-e -r -p compiler.sm82hex.flags=-fi compiler.hex2bin.flags=-b