Skip to content

Commit 5ce3ec9

Browse files
committed
uvision - fix INC dir
The path for INC might be with spaces, uvision does not handle it well, thus wrapping around ""
1 parent 816233c commit 5ce3ec9

File tree

1 file changed

+2
-2
lines changed
  • workspace_tools/toolchains

1 file changed

+2
-2
lines changed

workspace_tools/toolchains/arm.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ class ARM(mbedToolchain):
3434
DEFAULT_FLAGS = {
3535
'common': ["--apcs=interwork",
3636
"--brief_diagnostics"],
37-
'asm': ['-I%s' % ARM_INC],
38-
'c': ["-c", "--gnu", "-Otime", "--restrict", "--multibyte_chars", "--split_sections", "--md", "--no_depend_system_headers", '-I%s' % ARM_INC,
37+
'asm': ['-I"%s"' % ARM_INC],
38+
'c': ["-c", "--gnu", "-Otime", "--restrict", "--multibyte_chars", "--split_sections", "--md", "--no_depend_system_headers", '-I"%s"' % ARM_INC,
3939
"--c99", "-D__ASSERT_MSG" ],
4040
'cxx': ["--cpp", "--no_rtti", "-D__ASSERT_MSG"],
4141
'ld': [],

0 commit comments

Comments
 (0)