[DISCO_L476VG] Add platform in python files

pull/1270/head
bcostm 2015-07-28 10:30:26 +02:00
parent 835e33d453
commit 277b2d033f
5 changed files with 16 additions and 0 deletions

View File

@ -48,6 +48,7 @@ class GccArm(Exporter):
'DISCO_F407VG',
'DISCO_F303VC',
'DISCO_F746NG',
'DISCO_L476VG',
'UBLOX_C027',
'ARCH_PRO',
'NRF51822',

View File

@ -62,6 +62,7 @@ class IAREmbeddedWorkbench(Exporter):
'DISCO_L053C8',
'DISCO_F334C8',
'DISCO_F746NG',
'DISCO_L476VG',
#'STM32F407', Fails to build same for GCC
'MAXWSNENV',
'MAX32600MBED',

View File

@ -67,6 +67,7 @@ class Uvision4(Exporter):
'DISCO_L053C8',
'DISCO_F334C8',
'DISCO_F746NG',
'DISCO_L476VG',
'MTS_GAMBIT',
'ARCH_MAX',
'MTS_MDOT_F405RG',
@ -101,6 +102,7 @@ class Uvision4(Exporter):
'NUCLEO_L152RE',
'DISCO_F334C8',
'DISCO_F746NG',
'DISCO_L476VG',
'LPC1549',
'LPC11U68',
'LPC11U35_501',

View File

@ -137,6 +137,7 @@ if __name__ == '__main__':
('uvision', 'MAX32600MBED'),
('uvision', 'DISCO_F334C8'),
('uvision', 'DISCO_F746NG'),
('uvision', 'DISCO_L476VG'),
('lpcxpresso', 'LPC1768'),
('lpcxpresso', 'LPC4088'),
@ -222,6 +223,7 @@ if __name__ == '__main__':
('iar', 'NUCLEO_L152RE'),
('iar', 'DISCO_F334C8'),
('iar', 'DISCO_F746NG'),
('iar', 'DISCO_L476VG'),
('iar', 'STM32F407'),
('iar', 'MTS_MDOT_F405RG'),
('iar', 'MTS_MDOT_F411RE'),

View File

@ -783,6 +783,15 @@ class DISCO_F746NG(Target):
self.default_toolchain = "uARM"
self.detect_code = ["0815"]
class DISCO_L476VG(Target):
def __init__(self):
Target.__init__(self)
self.core = "Cortex-M4F"
self.extra_labels = ['STM', 'STM32L4', 'STM32L476VG']
self.supported_toolchains = ["ARM", "uARM", "IAR", "GCC_ARM"]
self.default_toolchain = "uARM"
self.detect_code = ["0820"]
class MTS_MDOT_F405RG(Target):
def __init__(self):
Target.__init__(self)
@ -1507,6 +1516,7 @@ TARGETS = [
ARCH_MAX(), # STM32F407
DISCO_F429ZI(),
DISCO_L053C8(),
DISCO_L476VG(),
MTS_MDOT_F405RG(),
MTS_MDOT_F411RE(),
MOTE_L152RC(),