mirror of https://github.com/ARMmbed/mbed-os.git
Add mbed studio flag during assembly
parent
42a9a7a573
commit
fb62ed643c
|
|
@ -681,6 +681,9 @@ class ARMC6(ARM_STD):
|
||||||
|
|
||||||
# Build main assemble command
|
# Build main assemble command
|
||||||
cmd = self.asm + ["-o", object, tempfile]
|
cmd = self.asm + ["-o", object, tempfile]
|
||||||
|
if self.is_mbed_studio_armc6:
|
||||||
|
# NOTE: the --ide=mbed argument is only for use with Mbed OS
|
||||||
|
cmd.insert(1, "--ide=mbed")
|
||||||
|
|
||||||
# Return command array, don't execute
|
# Return command array, don't execute
|
||||||
return [cmd_pre, cmd]
|
return [cmd_pre, cmd]
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue