[NUCLEO_L011K4] Add to the build and export scripts

pull/1752/head
svastm 2016-06-02 17:41:56 +02:00
parent 062962a215
commit c9bf3ca2fd
9 changed files with 20 additions and 3 deletions

View File

@ -839,6 +839,16 @@
"detect_code": ["0816"],
"device_has": ["ANALOGIN", "ANALOGOUT", "CAN", "I2C", "I2CSLAVE", "INTERRUPTIN", "PORTIN", "PORTINOUT", "PORTOUT", "PWMOUT", "RTC", "SERIAL", "SLEEP", "SPI", "SPISLAVE", "STDIO_MESSAGES"]
},
"NUCLEO_L011K4": {
"inherits": ["Target"],
"core": "Cortex-M0+",
"extra_labels": ["STM", "STM32L0", "STM32L011K4"],
"supported_toolchains": ["ARM", "uARM", "IAR", "GCC_ARM"],
"default_toolchain": "uARM",
"supported_form_factors": ["ARDUINO"],
"detect_code": ["0780"],
"progen": {"target":"nucleo-l011k4"}
},
"NUCLEO_L031K6": {
"inherits": ["Target"],
"core": "Cortex-M0",

View File

@ -97,6 +97,7 @@ OFFICIAL_MBED_LIBRARY_BUILD = (
('DISCO_L476VG', ('ARM', 'uARM', 'IAR', 'GCC_ARM')),
('NUCLEO_L476RG', ('ARM', 'uARM', 'IAR', 'GCC_ARM')),
('NUCLEO_F746ZG', ('ARM', 'uARM', 'GCC_ARM', 'IAR')),
('NUCLEO_L011K4', ('ARM', 'uARM', 'GCC_ARM', 'IAR')),
('NUCLEO_L031K6', ('ARM', 'uARM', 'GCC_ARM', 'IAR')),
('NUCLEO_L073RZ', ('ARM', 'uARM', 'GCC_ARM', 'IAR')),

View File

@ -53,6 +53,7 @@ build_list = (
{ "target": "NUCLEO_F410RB", "toolchains": "GCC_ARM", "libs": ["dsp", "rtos", "fat"] },
{ "target": "NUCLEO_F411RE", "toolchains": "GCC_ARM", "libs": ["dsp", "rtos", "fat"] },
{ "target": "NUCLEO_L476RG", "toolchains": "GCC_ARM", "libs": ["dsp", "fat"] },
{ "target": "NUCLEO_L011K4", "toolchains": "GCC_ARM", "libs": ["dsp"] },
{ "target": "NUCLEO_L031K6", "toolchains": "GCC_ARM", "libs": ["dsp"] },
{ "target": "NUCLEO_L073RZ", "toolchains": "GCC_ARM", "libs": ["dsp", "fat"] },
{ "target": "NUCLEO_F446RE", "toolchains": "GCC_ARM", "libs": ["dsp", "fat"] },

View File

@ -29,6 +29,7 @@ class CoIDE(Exporter):
'ARCH_PRO',
'ARCH_MAX',
'UBLOX_C027',
'NUCLEO_L011K4',
'NUCLEO_L053R8',
'NUCLEO_L152RE',
'NUCLEO_F030R8',

View File

@ -84,6 +84,7 @@ class GccArm(Exporter):
'NUCLEO_F334R8',
'NUCLEO_F746ZG',
'DISCO_L053C8',
'NUCLEO_L011K4',
'NUCLEO_L031K6',
'NUCLEO_L053R8',
'NUCLEO_L073RZ',

View File

@ -46,6 +46,7 @@ class Sw4STM32(Exporter):
'NUCLEO_F401RE': {'name': 'NUCLEO-F401RE', 'mcuId': 'STM32F401RETx'},
'NUCLEO_F411RE': {'name': 'NUCLEO-F411RE', 'mcuId': 'STM32F411RETx'},
'NUCLEO_F446RE': {'name': 'NUCLEO-F446RE', 'mcuId': 'STM32F446RETx'},
'NUCLEO_L011K4': {'name': 'NUCLEO-L011K4', 'mcuId': 'STM32L011K4Tx'},
'NUCLEO_L031K6': {'name': 'NUCLEO-L031K6', 'mcuId': 'STM32L031K6Tx'},
'NUCLEO_L053R8': {'name': 'NUCLEO-L053R8', 'mcuId': 'STM32L053R8Tx'},
'NUCLEO_L073RZ': {'name': 'NUCLEO-L073RZ', 'mcuId': 'STM32L073RZTx'},

View File

@ -87,4 +87,3 @@ class Uvision4(Exporter):
project_data['common']['macros'].append('__ASSERT_MSG')
project_data['common']['build_dir'] = join(project_data['common']['build_dir'], 'uvision4')
self.progen_gen_file('uvision', project_data)

View File

@ -86,4 +86,3 @@ class Uvision5(Exporter):
i += 1
project_data['common']['macros'].append('__ASSERT_MSG')
self.progen_gen_file('uvision5', project_data)

View File

@ -142,6 +142,7 @@ if __name__ == '__main__':
('uvision', 'NUCLEO_F410RB'),
('uvision', 'NUCLEO_F411RE'),
('uvision', 'NUCLEO_F446RE'),
('uvision', 'NUCLEO_L011K4'),
('uvision', 'NUCLEO_L031K6'),
('uvision', 'NUCLEO_L053R8'),
('uvision', 'NUCLEO_L073RZ'),
@ -209,6 +210,7 @@ if __name__ == '__main__':
('gcc_arm', 'ELMO_F411RE'),
('gcc_arm', 'DISCO_F469NI'),
('gcc_arm', 'NUCLEO_F334R8'),
('gcc_arm', 'NUCLEO_L011K4'),
('gcc_arm', 'NUCLEO_L031K6'),
('gcc_arm', 'MAX32600MBED'),
('gcc_arm', 'MTS_MDOT_F405RG'),
@ -257,6 +259,7 @@ if __name__ == '__main__':
('iar', 'NUCLEO_F410RB'),
('iar', 'NUCLEO_F411RE'),
('iar', 'NUCLEO_F446RE'),
('iar', 'NUCLEO_L011K4'),
('iar', 'NUCLEO_L031K6'),
('iar', 'NUCLEO_L053R8'),
('iar', 'NUCLEO_L073RZ'),
@ -302,9 +305,10 @@ if __name__ == '__main__':
('sw4stm32', 'NUCLEO_F410RB'),
('sw4stm32', 'NUCLEO_F411RE'),
('sw4stm32', 'NUCLEO_F446RE'),
('sw4stm32', 'NUCLEO_L011K4'),
('sw4stm32', 'NUCLEO_L031K6'),
('sw4stm32', 'NUCLEO_L053R8'),
('sw4stm32', 'NUCLEO_L073RZ'),
('sw4stm32', 'NUCLEO_L031K6'),
('sw4stm32', 'NUCLEO_L152RE'),
('sw4stm32', 'NUCLEO_L476RG'),
('sw4stm32', 'NUCLEO_F031K6'),