uvision - fix INC dir

The path for INC might be with spaces, uvision does not handle it well,
thus wrapping around ""
pull/1711/head
0xc0170 2016-05-04 16:40:58 -05:00
parent 816233cf5d
commit 5ce3ec9619
1 changed files with 2 additions and 2 deletions

View File

@ -34,8 +34,8 @@ class ARM(mbedToolchain):
DEFAULT_FLAGS = {
'common': ["--apcs=interwork",
"--brief_diagnostics"],
'asm': ['-I%s' % ARM_INC],
'c': ["-c", "--gnu", "-Otime", "--restrict", "--multibyte_chars", "--split_sections", "--md", "--no_depend_system_headers", '-I%s' % ARM_INC,
'asm': ['-I"%s"' % ARM_INC],
'c': ["-c", "--gnu", "-Otime", "--restrict", "--multibyte_chars", "--split_sections", "--md", "--no_depend_system_headers", '-I"%s"' % ARM_INC,
"--c99", "-D__ASSERT_MSG" ],
'cxx': ["--cpp", "--no_rtti", "-D__ASSERT_MSG"],
'ld': [],