Skip to content

Commit

Permalink
Merge pull request #10539 from bridadan/fix_armc6_mbed_studio
Browse files Browse the repository at this point in the history
Add mbed studio flag during assembly
  • Loading branch information
0xc0170 authored May 13, 2019
2 parents 548a40e + fb62ed6 commit 571caad
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tools/toolchains/arm.py
Original file line number Diff line number Diff line change
Expand Up @@ -681,6 +681,9 @@ def assemble(self, source, object, includes):

# 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]
Expand Down

0 comments on commit 571caad

Please sign in to comment.