mirror of https://github.com/ARMmbed/mbed-os.git
[NUCLEO_F072RB] Add platform in python files
parent
aaa3845aab
commit
7a7376bff0
|
@ -44,13 +44,14 @@ OFFICIAL_MBED_LIBRARY_BUILD = (
|
|||
('KL46Z', ('ARM', 'GCC_ARM')),
|
||||
('K64F', ('ARM',)),
|
||||
|
||||
('NUCLEO_F030R8', ('ARM', 'uARM')),
|
||||
('NUCLEO_F030R8', ('ARM', 'uARM')),
|
||||
('NUCLEO_F072RB', ('ARM', 'uARM')),
|
||||
('NUCLEO_F103RB', ('ARM', 'uARM')),
|
||||
('NUCLEO_F302R8', ('ARM', 'uARM')),
|
||||
('NUCLEO_F401RE', ('ARM', 'uARM')),
|
||||
('NUCLEO_L053R8', ('ARM', 'uARM')),
|
||||
('NUCLEO_L152RE', ('ARM', 'uARM')),
|
||||
|
||||
|
||||
('NRF51822', ('ARM', )),
|
||||
|
||||
('LPC11U68', ('uARM',)),
|
||||
|
|
|
@ -35,6 +35,7 @@ class Uvision4(Exporter):
|
|||
'LPC4088',
|
||||
'LPC812',
|
||||
'NUCLEO_F030R8',
|
||||
'NUCLEO_F072RB',
|
||||
'NUCLEO_F103RB',
|
||||
'NUCLEO_F302R8',
|
||||
'NUCLEO_F401RE',
|
||||
|
@ -52,6 +53,7 @@ class Uvision4(Exporter):
|
|||
'LPC11C24',
|
||||
'LPC812',
|
||||
'NUCLEO_F030R8',
|
||||
'NUCLEO_F072RB',
|
||||
'NUCLEO_F103RB',
|
||||
'NUCLEO_F302R8',
|
||||
'NUCLEO_F401RE',
|
||||
|
|
|
@ -78,13 +78,14 @@ if __name__ == '__main__':
|
|||
for toolchain, target in [
|
||||
('uvision', 'LPC1768'), ('uvision', 'LPC11U24'), ('uvision', 'KL25Z'), ('uvision', 'LPC1347'), ('uvision', 'LPC1114'), ('uvision', 'LPC4088'),
|
||||
|
||||
('uvision', 'NUCLEO_F030R8'),
|
||||
('uvision', 'NUCLEO_F030R8'),
|
||||
('uvision', 'NUCLEO_F072RB'),
|
||||
('uvision', 'NUCLEO_F103RB'),
|
||||
('uvision', 'NUCLEO_F302R8'),
|
||||
('uvision', 'NUCLEO_F401RE'),
|
||||
('uvision', 'NUCLEO_L053R8'),
|
||||
('uvision', 'NUCLEO_L152RE'),
|
||||
|
||||
|
||||
('lpcxpresso', 'LPC1768'), ('lpcxpresso', 'LPC4088'),('lpcxpresso', 'LPC1114'),
|
||||
('lpcxpresso', 'LPC11U35_401'),
|
||||
('lpcxpresso', 'LPC11U35_501'),
|
||||
|
|
|
@ -317,6 +317,22 @@ class NUCLEO_F030R8(Target):
|
|||
self.supported_form_factors = ["ARDUINO", "MORPHO"]
|
||||
|
||||
|
||||
class NUCLEO_F072RB(Target):
|
||||
ONLINE_TOOLCHAIN = "uARM"
|
||||
OUTPUT_NAMING = "8.3"
|
||||
|
||||
def __init__(self):
|
||||
Target.__init__(self)
|
||||
|
||||
self.core = "Cortex-M0"
|
||||
|
||||
self.extra_labels = ['STM', 'STM32F0', 'STM32F072RB']
|
||||
|
||||
self.supported_toolchains = ["ARM", "uARM"]
|
||||
|
||||
self.supported_form_factors = ["ARDUINO", "MORPHO"]
|
||||
|
||||
|
||||
class NUCLEO_F103RB(Target):
|
||||
ONLINE_TOOLCHAIN = "uARM"
|
||||
OUTPUT_NAMING = "8.3"
|
||||
|
@ -631,6 +647,7 @@ TARGETS = [
|
|||
STM32F3XX(),
|
||||
STM32F407(),
|
||||
NUCLEO_F030R8(),
|
||||
NUCLEO_F072RB(),
|
||||
NUCLEO_F103RB(),
|
||||
NUCLEO_F302R8(),
|
||||
NUCLEO_F401RE(),
|
||||
|
|
Loading…
Reference in New Issue