Add mbed studio flag during assembly

pull/10539/head
Brian Daniels 2019-05-07 11:45:30 -05:00
parent 42a9a7a573
commit fb62ed643c
1 changed files with 3 additions and 0 deletions

View File

@ -681,6 +681,9 @@ class ARMC6(ARM_STD):
# Build main assemble command
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 [cmd_pre, cmd]