Skip to content

Commit 8a3c655

Browse files
author
oclyke
committed
remove command line includes from c units
1 parent 5b04074 commit 8a3c655

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Diff for: platform.txt

+3-3
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ defines.cxx={defines.all} @{build.variant.path}/mbed/.cxx-symbols
2121
defines.ld={defines.all} @{build.variant.path}/mbed/.ld-symbols
2222

2323
# includes
24-
includes.core={includes} "-I{cores.path}/arduino" "-I{cores.path}/arduino/mbed-bridge" "-I{cores.path}/arduino/mbed-bridge/core-api" -include {cores.path}/arduino/sdk/ArduinoSDK.h
24+
includes.core={includes} "-I{cores.path}/arduino" "-I{cores.path}/arduino/mbed-bridge" "-I{cores.path}/arduino/mbed-bridge/core-api"
2525
includes.mbed=@{build.variant.path}/mbed/.includes
2626
includes.variant={build.includes}
2727
includes.extra=
@@ -44,8 +44,8 @@ compiler.warning_flags.all={compiler.warning_flags.default} -Wextra
4444
# flags
4545
compiler.preproc.flags={compiler.cxx.flags} -w -x c++ -E -CC {compiler.preproc.extra_flags}
4646
compiler.asm.flags=-include {build.variant.path}/mbed/mbed_config.h -iprefix{runtime.platform.path}/cores/ @{build.variant.path}/mbed/.asm-flags {compiler.asm.extra_flags}
47-
compiler.c.flags=-include {build.variant.path}/mbed/mbed_config.h -iprefix{runtime.platform.path}/cores/ @{build.variant.path}/mbed/.c-flags {compiler.c.extra_flags}
48-
compiler.cxx.flags=-include {build.variant.path}/mbed/mbed_config.h -iprefix{runtime.platform.path}/cores/ @{build.variant.path}/mbed/.cxx-flags {compiler.cxx.extra_flags}
47+
compiler.c.flags=-iprefix{runtime.platform.path}/cores/ @{build.variant.path}/mbed/.c-flags {compiler.c.extra_flags}
48+
compiler.cxx.flags=-include {build.variant.path}/mbed/mbed_config.h -include {cores.path}/arduino/sdk/ArduinoSDK.h -iprefix{runtime.platform.path}/cores/ @{build.variant.path}/mbed/.cxx-flags {compiler.cxx.extra_flags}
4949
compiler.ld.flags=@{build.variant.path}/mbed/.ld-flags {compiler.ld.extra_flags} --specs=nano.specs -lsupc++ -lstdc++ -lm
5050
compiler.ar.flags=rcsP {compiler.ar.extra_flags} {compiler.ar.extra_flags}
5151
compiler.axf2bin.flags={compiler.axf2bin.extra_flags} {compiler.axf2bin.extra_flags} -O binary

0 commit comments

Comments
 (0)