mirror of https://github.com/ARMmbed/mbed-os.git
Change the output extension/format for Teensy 3.1 to HEX
parent
78cc959f50
commit
014b0f1ca6
|
@ -415,6 +415,8 @@ class K20D50M(Target):
|
||||||
self.detect_code = ["0230"]
|
self.detect_code = ["0230"]
|
||||||
|
|
||||||
class TEENSY3_1(Target):
|
class TEENSY3_1(Target):
|
||||||
|
OUTPUT_EXT = '.hex'
|
||||||
|
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
Target.__init__(self)
|
Target.__init__(self)
|
||||||
self.core = "Cortex-M4"
|
self.core = "Cortex-M4"
|
||||||
|
@ -423,7 +425,6 @@ class TEENSY3_1(Target):
|
||||||
self.is_disk_virtual = True
|
self.is_disk_virtual = True
|
||||||
self.detect_code = ["0230"]
|
self.detect_code = ["0230"]
|
||||||
|
|
||||||
OUTPUT_EXT = '.hex'
|
|
||||||
|
|
||||||
def init_hooks(self, hook, toolchain_name):
|
def init_hooks(self, hook, toolchain_name):
|
||||||
if toolchain_name in ['ARM_STD', 'ARM_MICRO', 'GCC_ARM']:
|
if toolchain_name in ['ARM_STD', 'ARM_MICRO', 'GCC_ARM']:
|
||||||
|
|
Loading…
Reference in New Issue