Skip to content

Commit fc201ca

Browse files
screamerbgroot
authored andcommitted
Add preferred online toolchain flag in targets.py
1 parent e5ac8fe commit fc201ca

File tree

1 file changed

+15
-3
lines changed

1 file changed

+15
-3
lines changed

workspace_tools/targets.py

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,8 @@ def __init__(self):
7777

7878

7979
class LPC11U24(Target):
80+
ONLINE_TOOLCHAIN = "uARM"
81+
8082
def __init__(self):
8183
Target.__init__(self)
8284

@@ -151,6 +153,8 @@ def __init__(self):
151153

152154

153155
class LPC812(Target):
156+
ONLINE_TOOLCHAIN = "uARM"
157+
154158
def __init__(self):
155159
Target.__init__(self)
156160

@@ -164,6 +168,8 @@ def __init__(self):
164168

165169

166170
class LPC810(Target):
171+
ONLINE_TOOLCHAIN = "uARM"
172+
167173
def __init__(self):
168174
Target.__init__(self)
169175

@@ -266,6 +272,7 @@ def __init__(self):
266272

267273

268274
class NUCLEO_F103RB(Target):
275+
ONLINE_TOOLCHAIN = "uARM"
269276
OUTPUT_NAMING = "8.3"
270277

271278
def __init__(self):
@@ -279,6 +286,7 @@ def __init__(self):
279286

280287

281288
class NUCLEO_L152RE(Target):
289+
ONLINE_TOOLCHAIN = "uARM"
282290
OUTPUT_NAMING = "8.3"
283291

284292
def __init__(self):
@@ -292,6 +300,7 @@ def __init__(self):
292300

293301

294302
class NUCLEO_F401RE(Target):
303+
ONLINE_TOOLCHAIN = "uARM"
295304
OUTPUT_NAMING = "8.3"
296305

297306
def __init__(self):
@@ -305,6 +314,7 @@ def __init__(self):
305314

306315

307316
class NUCLEO_F030R8(Target):
317+
ONLINE_TOOLCHAIN = "uARM"
308318
OUTPUT_NAMING = "8.3"
309319

310320
def __init__(self):
@@ -329,6 +339,8 @@ def __init__(self):
329339

330340

331341
class LPC1114(Target):
342+
ONLINE_TOOLCHAIN = "uARM"
343+
332344
def __init__(self):
333345
Target.__init__(self)
334346

@@ -369,16 +381,16 @@ def __init__(self):
369381

370382
self.extra_labels = ['NXP', 'LPC176X', 'UBLOX_C027']
371383

372-
self.supported_toolchains = ["ARM", "uARM", "GCC_ARM", "GCC_CS", "GCC_CR", "IAR"]
384+
self.supported_toolchains = ["ARM", "uARM", "GCC_ARM", "GCC_CS", "GCC_CR", "IAR"]
373385

374386

375387
class NRF51822(Target):
388+
OUTPUT_EXT = '.hex'
389+
376390
EXPECTED_SOFTDEVICE = 's110_nrf51822_6.0.0_softdevice.hex'
377391
UICR_START = 0x10001000
378392
APPCODE_OFFSET = 0x14000
379393

380-
OUTPUT_EXT = '.hex'
381-
382394
def __init__(self):
383395
Target.__init__(self)
384396

0 commit comments

Comments
 (0)