mirror of https://github.com/ARMmbed/mbed-os.git
Added --multibyte_chars option
Added --multibyte_chars option for ARM and uARM build. This enables to use multi-byte character such as Japanese or Chinese especially for string literal. It should not be affected single-byte character set. Tested with Japanese Windows environment.pull/420/head
parent
490d1a6606
commit
c66f9943a6
|
@ -44,7 +44,7 @@ class ARM(mbedToolchain):
|
||||||
common = ["-c",
|
common = ["-c",
|
||||||
"--cpu=%s" % cpu, "--gnu",
|
"--cpu=%s" % cpu, "--gnu",
|
||||||
"-Otime", "--split_sections", "--apcs=interwork",
|
"-Otime", "--split_sections", "--apcs=interwork",
|
||||||
"--brief_diagnostics", "--restrict"
|
"--brief_diagnostics", "--restrict", "--multibyte_chars"
|
||||||
]
|
]
|
||||||
|
|
||||||
if "save-asm" in self.options:
|
if "save-asm" in self.options:
|
||||||
|
|
Loading…
Reference in New Issue