Skip to content

Commit 6787c14

Browse files
committed
Add platform in other python and json files
1 parent 9ce9d1a commit 6787c14

File tree

3 files changed

+10
-0
lines changed

3 files changed

+10
-0
lines changed

targets/targets.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -856,6 +856,7 @@
856856
"detect_code": ["0826"],
857857
"macros": ["TRANSACTION_QUEUE_SIZE_SPI=2"],
858858
"device_has": ["ANALOGIN", "ERROR_RED", "I2C", "I2CSLAVE", "I2C_ASYNCH", "INTERRUPTIN", "LOWPOWERTIMER", "PORTIN", "PORTINOUT", "PORTOUT", "PWMOUT", "RTC", "SERIAL", "SERIAL_ASYNCH", "SERIAL_FC", "SLEEP", "SPI", "SPISLAVE", "SPI_ASYNCH", "STDIO_MESSAGES"],
859+
"release_versions": ["2", "5"],
859860
"device_name": "STM32F412ZG"
860861
},
861862
"ELMO_F411RE": {

tools/build_travis.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@
5454
{ "target": "NUCLEO_F401RE", "toolchains": "GCC_ARM", "libs": ["dsp", "rtos", "usb", "fat"] },
5555
{ "target": "NUCLEO_F410RB", "toolchains": "GCC_ARM", "libs": ["dsp", "rtos", "fat"] },
5656
{ "target": "NUCLEO_F411RE", "toolchains": "GCC_ARM", "libs": ["dsp", "rtos", "usb", "fat"] },
57+
{ "target": "NUCLEO_F412ZG", "toolchains": "GCC_ARM", "libs": ["dsp", "rtos", "usb", "fat"] },
5758
{ "target": "NUCLEO_L432KC", "toolchains": "GCC_ARM", "libs": ["dsp", "fat"] },
5859
{ "target": "NUCLEO_L476RG", "toolchains": "GCC_ARM", "libs": ["dsp", "fat"] },
5960
{ "target": "NUCLEO_L011K4", "toolchains": "GCC_ARM", "libs": ["dsp"] },
@@ -185,6 +186,13 @@
185186
"usb" : ["USB_1", "USB_2" ,"USB_3"],
186187
}
187188
},
189+
{"target": "NUCLEO_F412ZG",
190+
"toolchains": "GCC_ARM",
191+
"tests": {"" : ["MBED_2", "MBED_10", "MBED_11", "MBED_16"],
192+
"rtos" : ["RTOS_1", "RTOS_2", "RTOS_3"],
193+
"usb" : ["USB_1", "USB_2" ,"USB_3"],
194+
}
195+
},
188196
{"target": "NUCLEO_F429ZI",
189197
"toolchains": "GCC_ARM",
190198
"tests": {"" : ["MBED_2", "MBED_10", "MBED_11", "MBED_16"],

tools/export_test.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,7 @@ def test_export(toolchain, target, expected_error=None):
144144
('uvision', 'NUCLEO_F401RE'),
145145
('uvision', 'NUCLEO_F410RB'),
146146
('uvision', 'NUCLEO_F411RE'),
147+
('uvision', 'NUCLEO_F412ZG'),
147148
('uvision', 'NUCLEO_F429ZI'),
148149
('uvision', 'NUCLEO_F446RE'),
149150
('uvision', 'NUCLEO_F446ZE'),

0 commit comments

Comments
 (0)