Change the output extension/format for Teensy 3.1 to HEX

pull/922/head
Mihail Stoyanov 2015-02-19 16:46:52 +02:00
parent 78cc959f50
commit 014b0f1ca6
1 changed files with 2 additions and 1 deletions

View File

@ -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']: