@@ -109,7 +109,8 @@ def __init__(self, target, notify=None, macros=None,
109
109
110
110
def version_check (self ):
111
111
# The --ide=mbed removes an instability with checking the version of
112
- # the ARMC6 binary that comes with Mbed Studio
112
+ # the ARMC6 binary that comes with Mbed Studio.
113
+ # NOTE: the --ide=mbed argument is only for use with Mbed OS
113
114
stdout , _ , retcode = run_cmd (
114
115
[self .cc [0 ], "--vsn" , "--ide=mbed" ],
115
116
redirect = True
@@ -624,6 +625,7 @@ def get_compile_options(self, defines, includes, for_asm=False):
624
625
]
625
626
626
627
if self .is_mbed_studio_armc6 :
628
+ # NOTE: the --ide=mbed argument is only for use with Mbed OS
627
629
opts .insert (0 , "--ide=mbed" )
628
630
629
631
return opts
@@ -647,6 +649,7 @@ def get_link_command(self, output, objects, libraries, lib_dirs, scatter_file):
647
649
)
648
650
649
651
if self .is_mbed_studio_armc6 :
652
+ # NOTE: the --ide=mbed argument is only for use with Mbed OS
650
653
cmd .insert (1 , "--ide=mbed" )
651
654
652
655
return cmd
@@ -655,6 +658,7 @@ def get_binary_commands(self, bin_arg, bin, elf):
655
658
cmd = ARM .get_binary_commands (self , bin_arg , bin , elf )
656
659
657
660
if self .is_mbed_studio_armc6 :
661
+ # NOTE: the --ide=mbed argument is only for use with Mbed OS
658
662
cmd .insert (1 , "--ide=mbed" )
659
663
660
664
return cmd
0 commit comments