STM32L4 : targets.json update introducing subfamily level

Goal is to halp custom boards creation
pull/13741/head
jeromecoutant 2020-10-07 10:58:21 +02:00
parent 81f919b6c2
commit c8711b600a
1 changed files with 191 additions and 136 deletions

View File

@ -3100,50 +3100,70 @@
"TRNG" "TRNG"
] ]
}, },
"NUCLEO_L432KC": { "MCU_STM32L432xC": {
"inherits": [ "inherits": [
"MCU_STM32L4" "MCU_STM32L4"
], ],
"public": false,
"c_lib": "small", "c_lib": "small",
"extra_labels_add": [ "extra_labels_add": [
"STM32L432xC", "STM32L432xC"
"STM32L432KC"
], ],
"macros_add": [ "macros_add": [
"STM32L432xx" "STM32L432xx"
]
},
"NUCLEO_L432KC": {
"inherits": [
"MCU_STM32L432xC"
], ],
"detect_code": [ "detect_code": [
"0770" "0770"
], ],
"device_name": "STM32L432KC" "device_name": "STM32L432KC"
}, },
"NUCLEO_L433RC_P": { "MCU_STM32L433xC": {
"inherits": [ "inherits": [
"MCU_STM32L4" "MCU_STM32L4"
], ],
"public": false,
"extra_labels_add": [
"STM32L433xC"
],
"macros_add": [
"STM32L433xx"
]
},
"NUCLEO_L433RC_P": {
"inherits": [
"MCU_STM32L433xC"
],
"supported_form_factors": [ "supported_form_factors": [
"ARDUINO", "ARDUINO",
"MORPHO" "MORPHO"
], ],
"extra_labels_add": [
"STM32L433xC",
"STM32L433RC"
],
"macros_add": [
"STM32L433xx"
],
"detect_code": [ "detect_code": [
"0779" "0779"
], ],
"device_name": "STM32L433RC" "device_name": "STM32L433RC"
}, },
"ADV_WISE_1510": { "MCU_STM32L443xC": {
"inherits": [ "inherits": [
"MCU_STM32L4" "MCU_STM32L4"
], ],
"public": false,
"extra_labels_add": [ "extra_labels_add": [
"STM32L443xC", "STM32L443xC"
"STM32L443RC" ],
"macros_add": [
"MBEDTLS_CONFIG_HW_SUPPORT",
"MBED_SPLIT_HEAP",
"STM32L443xx"
]
},
"ADV_WISE_1510": {
"inherits": [
"MCU_STM32L443xC"
], ],
"overrides": { "overrides": {
"clock_source": "USE_PLL_HSI", "clock_source": "USE_PLL_HSI",
@ -3152,71 +3172,89 @@
"device_has_remove": [ "device_has_remove": [
"LPTICKER" "LPTICKER"
], ],
"macros_add": [
"STM32L443xx",
"MBEDTLS_CONFIG_HW_SUPPORT",
"MBED_SPLIT_HEAP"
],
"device_name": "STM32L443RC", "device_name": "STM32L443RC",
"detect_code": [ "detect_code": [
"0458" "0458"
] ]
}, },
"NUCLEO_L452RE_P": { "MCU_STM32L452xE": {
"inherits": [ "inherits": [
"MCU_STM32L4" "MCU_STM32L4"
], ],
"supported_form_factors": [ "public": false,
"ARDUINO",
"MORPHO"
],
"extra_labels_add": [ "extra_labels_add": [
"STM32L452xE" "STM32L452xE"
], ],
"macros_add": [ "macros_add": [
"STM32L452xx", "STM32L452xx",
"MBED_SPLIT_HEAP" "MBED_SPLIT_HEAP"
]
},
"NUCLEO_L452RE_P": {
"inherits": [
"MCU_STM32L452xE"
],
"supported_form_factors": [
"ARDUINO",
"MORPHO"
], ],
"detect_code": [ "detect_code": [
"0829" "0829"
], ],
"device_name": "STM32L452RETx" "device_name": "STM32L452RETx"
}, },
"MTS_DRAGONFLY_L471QG": { "MCU_STM32L471xG": {
"inherits": [ "inherits": [
"MCU_STM32L4" "MCU_STM32L4"
], ],
"supported_form_factors": [ "public": false,
"ARDUINO"
],
"extra_labels_add": [ "extra_labels_add": [
"STM32L471QG", "STM32L471xG"
"STM32L471xG",
"STM32L471xx"
],
"detect_code": [
"0312"
], ],
"macros_add": [ "macros_add": [
"STM32L471xx", "STM32L471xx",
"MBED_SPLIT_HEAP" "MBED_SPLIT_HEAP"
]
},
"MTS_DRAGONFLY_L471QG": {
"inherits": [
"MCU_STM32L471xG"
],
"supported_form_factors": [
"ARDUINO"
],
"detect_code": [
"0312"
], ],
"device_name": "STM32L471QG" "device_name": "STM32L471QG"
}, },
"DISCO_L475VG_IOT01A": { "MCU_STM32L475xG": {
"inherits": [ "inherits": [
"MCU_STM32L4" "MCU_STM32L4"
], ],
"public": false,
"components_add": [ "components_add": [
"BlueNRG_MS",
"QSPIF",
"FLASHIAP" "FLASHIAP"
], ],
"extra_labels_add": [
"STM32L475xG"
],
"macros_add": [
"STM32L475xx",
"MBED_SPLIT_HEAP"
]
},
"DISCO_L475VG_IOT01A": {
"inherits": [
"MCU_STM32L475xG"
],
"components_add": [
"BlueNRG_MS",
"QSPIF"
],
"extra_labels_add": [ "extra_labels_add": [
"CORDIO", "CORDIO",
"MX25R6435F", "MX25R6435F"
"STM32L475xG",
"STM32L475VG"
], ],
"supported_form_factors": [ "supported_form_factors": [
"ARDUINO" "ARDUINO"
@ -3224,10 +3262,6 @@
"detect_code": [ "detect_code": [
"0764" "0764"
], ],
"macros_add": [
"STM32L475xx",
"MBED_SPLIT_HEAP"
],
"device_has_add": [ "device_has_add": [
"QSPI", "QSPI",
"USBDEVICE" "USBDEVICE"
@ -3237,47 +3271,48 @@
], ],
"device_name": "STM32L475VG" "device_name": "STM32L475VG"
}, },
"NUCLEO_L476RG": { "MCU_STM32L476xG": {
"inherits": [ "inherits": [
"MCU_STM32L4" "MCU_STM32L4"
], ],
"public": false,
"extra_labels_add": [
"STM32L476xG"
],
"components_add": [
"FLASHIAP"
],
"macros_add": [
"STM32L476xx",
"MBED_SPLIT_HEAP"
]
},
"NUCLEO_L476RG": {
"inherits": [
"MCU_STM32L476xG"
],
"supported_form_factors": [ "supported_form_factors": [
"ARDUINO", "ARDUINO",
"MORPHO" "MORPHO"
], ],
"extra_labels_add": [
"STM32L476RG",
"STM32L476xG"
],
"detect_code": [ "detect_code": [
"0765" "0765"
], ],
"macros_add": [
"STM32L476xx",
"MBED_SPLIT_HEAP"
],
"device_name": "STM32L476RG" "device_name": "STM32L476RG"
}, },
"DISCO_L476VG": { "DISCO_L476VG": {
"inherits": [ "inherits": [
"MCU_STM32L4" "MCU_STM32L476xG"
], ],
"components_add": [ "components_add": [
"QSPIF", "QSPIF"
"FLASHIAP"
], ],
"extra_labels_add": [ "extra_labels_add": [
"N25Q128A", "N25Q128A"
"STM32L476xG",
"STM32L476VG"
], ],
"detect_code": [ "detect_code": [
"0820" "0820"
], ],
"macros_add": [
"STM32L476xx",
"MBED_SPLIT_HEAP"
],
"device_has_add": [ "device_has_add": [
"QSPI", "QSPI",
"USBDEVICE" "USBDEVICE"
@ -3286,61 +3321,52 @@
}, },
"RHOMBIO_L476DMW1K": { "RHOMBIO_L476DMW1K": {
"inherits": [ "inherits": [
"MCU_STM32L4" "MCU_STM32L476xG"
], ],
"components_add": [ "components_add": [
"QSPIF", "QSPIF"
"FLASHIAP"
],
"extra_labels_add": [
"STM32L476xG",
"STM32L476VG"
], ],
"detect_code": [ "detect_code": [
"1500" "1500"
], ],
"macros_add": [
"STM32L476xx",
"MBED_SPLIT_HEAP"
],
"device_has_add": [ "device_has_add": [
"QSPI" "QSPI"
], ],
"device_name": "STM32L476VG" "device_name": "STM32L476VG"
}, },
"NUCLEO_L486RG": { "MCU_STM32L486xG": {
"inherits": [ "inherits": [
"MCU_STM32L4" "MCU_STM32L4"
], ],
"supported_form_factors": [ "public": false,
"ARDUINO",
"MORPHO"
],
"extra_labels_add": [ "extra_labels_add": [
"STM32L486RG",
"STM32L486xG" "STM32L486xG"
], ],
"detect_code": [ "components_add": [
"0827" "FLASHIAP"
], ],
"macros_add": [ "macros_add": [
"STM32L486xx", "STM32L486xx",
"MBEDTLS_CONFIG_HW_SUPPORT", "MBEDTLS_CONFIG_HW_SUPPORT",
"MBED_SPLIT_HEAP" "MBED_SPLIT_HEAP"
]
},
"NUCLEO_L486RG": {
"inherits": [
"MCU_STM32L486xG"
],
"supported_form_factors": [
"ARDUINO",
"MORPHO"
],
"detect_code": [
"0827"
], ],
"device_name": "STM32L486RG" "device_name": "STM32L486RG"
}, },
"ADV_WISE_1570": { "ADV_WISE_1570": {
"inherits": [ "inherits": [
"MCU_STM32L4" "MCU_STM32L486xG"
],
"components_add": [
"FLASHIAP"
],
"extra_labels_add": [
"STM32L486RG",
"STM32L486xG",
"WISE_1570"
], ],
"overrides": { "overrides": {
"clock_source": "USE_PLL_HSE_XTAL", "clock_source": "USE_PLL_HSE_XTAL",
@ -3350,37 +3376,40 @@
"0460" "0460"
], ],
"macros_add": [ "macros_add": [
"STM32L486xx", "WISE_1570"
"MBEDTLS_CONFIG_HW_SUPPORT",
"WISE_1570",
"MBED_SPLIT_HEAP"
],
"device_has_remove": [
"LPTICKER"
], ],
"device_name": "STM32L486RG", "device_name": "STM32L486RG",
"OUTPUT_EXT": "hex" "OUTPUT_EXT": "hex"
}, },
"DISCO_L496AG": { "MCU_STM32L496xG": {
"inherits": [ "inherits": [
"MCU_STM32L4" "MCU_STM32L4"
], ],
"public": false,
"extra_labels_add": [
"STM32L496xG"
],
"components_add": [
"FLASHIAP"
],
"macros_add": [
"STM32L496xx"
]
},
"DISCO_L496AG": {
"inherits": [
"MCU_STM32L496xG"
],
"supported_form_factors": [ "supported_form_factors": [
"ARDUINO", "ARDUINO",
"STMOD", "STMOD",
"PMOD" "PMOD"
], ],
"extra_labels_add": [ "extra_labels_add": [
"MX25R6435F", "MX25R6435F"
"STM32L496AG",
"STM32L496xG"
], ],
"components_add": [ "components_add": [
"QSPIF", "QSPIF"
"FLASHIAP"
],
"macros_add": [
"STM32L496xx"
], ],
"detect_code": [ "detect_code": [
"0822" "0822"
@ -3393,19 +3422,12 @@
}, },
"NUCLEO_L496ZG": { "NUCLEO_L496ZG": {
"inherits": [ "inherits": [
"MCU_STM32L4" "MCU_STM32L496xG"
], ],
"supported_form_factors": [ "supported_form_factors": [
"ARDUINO", "ARDUINO",
"MORPHO" "MORPHO"
], ],
"extra_labels_add": [
"STM32L496ZG",
"STM32L496xG"
],
"macros_add": [
"STM32L496xx"
],
"detect_code": [ "detect_code": [
"0823" "0823"
], ],
@ -3422,24 +3444,33 @@
"0828" "0828"
] ]
}, },
"NUCLEO_L4R5ZI": { "MCU_STM32L4R5xI": {
"inherits": [ "inherits": [
"MCU_STM32L4" "MCU_STM32L4"
], ],
"public": false,
"components_add": [
"FLASHIAP"
],
"extra_labels_add": [
"STM32L4R5xI"
],
"macros_add": [
"STM32L4R5xx"
]
},
"NUCLEO_L4R5ZI": {
"inherits": [
"MCU_STM32L4R5xI"
],
"supported_form_factors": [ "supported_form_factors": [
"ARDUINO", "ARDUINO",
"MORPHO" "MORPHO"
], ],
"components_add": [
"FLASHIAP"
],
"extra_labels_add": [ "extra_labels_add": [
"STM32L4R5ZI", "STM32L4R5ZI",
"STM32L4R5xI" "STM32L4R5xI"
], ],
"macros_add": [
"STM32L4R5xx"
],
"detect_code": [ "detect_code": [
"0776" "0776"
], ],
@ -3456,10 +3487,25 @@
"0781" "0781"
] ]
}, },
"DISCO_L4R9I": { "MCU_STM32L4R9xI": {
"inherits": [ "inherits": [
"MCU_STM32L4" "MCU_STM32L4"
], ],
"public": false,
"extra_labels_add": [
"STM32L4R9xI"
],
"components_add": [
"FLASHIAP"
],
"macros_add": [
"STM32L4R9xx"
]
},
"DISCO_L4R9I": {
"inherits": [
"MCU_STM32L4R9xI"
],
"device_name": "STM32L4R9AIIx", "device_name": "STM32L4R9AIIx",
"supported_form_factors": [ "supported_form_factors": [
"ARDUINO", "ARDUINO",
@ -3467,16 +3513,13 @@
"PMOD" "PMOD"
], ],
"extra_labels_add": [ "extra_labels_add": [
"STM32L4R9xI",
"MX25LM51245G" "MX25LM51245G"
], ],
"components_add": [ "components_add": [
"OSPIF", "OSPIF"
"FLASHIAP"
], ],
"macros_add": [ "macros_add": [
"HSE_VALUE=16000000", "HSE_VALUE=16000000"
"STM32L4R9xx"
], ],
"detect_code": [ "detect_code": [
"0774" "0774"
@ -3486,14 +3529,29 @@
"USBDEVICE" "USBDEVICE"
] ]
}, },
"B_L4S5I_IOT01A": { "MCU_STM32L4S5xI": {
"inherits": [ "inherits": [
"MCU_STM32L4" "MCU_STM32L4"
], ],
"public": false,
"components_add": [
"FLASHIAP"
],
"extra_labels_add": [
"STM32L4S5xI"
],
"macros_add": [
"STM32L4S5xx",
"MBEDTLS_CONFIG_HW_SUPPORT"
]
},
"B_L4S5I_IOT01A": {
"inherits": [
"MCU_STM32L4S5xI"
],
"components_add": [ "components_add": [
"BlueNRG_MS", "BlueNRG_MS",
"QSPIF", "QSPIF"
"FLASHIAP"
], ],
"supported_form_factors": [ "supported_form_factors": [
"ARDUINO", "ARDUINO",
@ -3501,13 +3559,10 @@
], ],
"extra_labels_add": [ "extra_labels_add": [
"CORDIO", "CORDIO",
"MX25R6435F", "MX25R6435F"
"STM32L4S5xI"
], ],
"macros_add": [ "macros_add": [
"HSE_VALUE=8000000", "HSE_VALUE=8000000"
"STM32L4S5xx",
"MBEDTLS_CONFIG_HW_SUPPORT"
], ],
"detect_code": [ "detect_code": [
"0885" "0885"