|
6 | 6 | you may not use this file except in compliance with the License.
|
7 | 7 | You may obtain a copy of the License at
|
8 | 8 |
|
9 |
| - http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | +http://www.apache.org/licenses/LICENSE-2.0 |
10 | 10 |
|
11 | 11 | Unless required by applicable law or agreed to in writing, software
|
12 | 12 | distributed under the License is distributed on an "AS IS" BASIS,
|
@@ -328,7 +328,59 @@ def __init__(self):
|
328 | 328 |
|
329 | 329 | self.supported_toolchains = ["ARM", "uARM"]
|
330 | 330 |
|
| 331 | +class DISCO_F100RB(Target): |
| 332 | + ONLINE_TOOLCHAIN = "uARM" |
| 333 | + OUTPUT_NAMING = "8.3" |
| 334 | + |
| 335 | + def __init__(self): |
| 336 | + Target.__init__(self) |
| 337 | + |
| 338 | + self.core = "Cortex-M3" |
| 339 | + |
| 340 | + self.extra_labels = ['STM', 'STM32F1', 'STM32F100RB'] |
| 341 | + |
| 342 | + self.supported_toolchains = ["GCC_ARM"] |
| 343 | + |
| 344 | + |
| 345 | +class NUCLEO_F302R8(Target): |
| 346 | + ONLINE_TOOLCHAIN = "uARM" |
| 347 | + OUTPUT_NAMING = "8.3" |
| 348 | + |
| 349 | + def __init__(self): |
| 350 | + Target.__init__(self) |
| 351 | + |
| 352 | + self.core = "Cortex-M4" |
| 353 | + |
| 354 | + self.extra_labels = ['STM', 'STM32F3', 'STM32F302R8'] |
| 355 | + |
| 356 | + self.supported_toolchains = ["ARM", "uARM"] |
331 | 357 |
|
| 358 | +class DISCO_F051R8(Target): |
| 359 | + ONLINE_TOOLCHAIN = "uARM" |
| 360 | + OUTPUT_NAMING = "8.3" |
| 361 | + |
| 362 | + def __init__(self): |
| 363 | + Target.__init__(self) |
| 364 | + |
| 365 | + self.core = "Cortex-M0" |
| 366 | + |
| 367 | + self.extra_labels = ['STM', 'STM32F0', 'STM32F051','STM32F051R8'] |
| 368 | + |
| 369 | + self.supported_toolchains = ["GCC_ARM"] |
| 370 | + |
| 371 | +class DISCO_F407VG(Target): |
| 372 | + ONLINE_TOOLCHAIN = "uARM" |
| 373 | + OUTPUT_NAMING = "8.3" |
| 374 | + |
| 375 | + def __init__(self): |
| 376 | + Target.__init__(self) |
| 377 | + |
| 378 | + self.core = "Cortex-M4F" |
| 379 | + |
| 380 | + self.extra_labels = ['STM', 'STM32F4', 'STM32F407','STM32F407VG'] |
| 381 | + |
| 382 | + self.supported_toolchains = ["GCC_ARM"] |
| 383 | + |
332 | 384 | class LPC1347(Target):
|
333 | 385 | def __init__(self):
|
334 | 386 | Target.__init__(self)
|
@@ -474,14 +526,18 @@ def __init__(self):
|
474 | 526 | NUCLEO_L152RE(),
|
475 | 527 | NUCLEO_F401RE(),
|
476 | 528 | NUCLEO_F030R8(),
|
| 529 | + NUCLEO_F302R8(), |
477 | 530 | LPC1347(),
|
478 | 531 | LPC1114(),
|
479 | 532 | LPC11C24(),
|
480 | 533 | LPC11U35_401(),
|
481 | 534 | LPC11U35_501(),
|
482 | 535 | NRF51822(),
|
483 | 536 | UBLOX_C027(),
|
484 |
| - LPC1549() |
| 537 | + LPC1549(), |
| 538 | + DISCO_F100RB(), |
| 539 | + DISCO_F051R8(), |
| 540 | + DISCO_F407VG(), |
485 | 541 | ]
|
486 | 542 |
|
487 | 543 | # Map each target name to its unique instance
|
|
0 commit comments