-
Notifications
You must be signed in to change notification settings - Fork 3k
Closed
Labels
Description
Description
- Type: Question
- Priority: Minor
Question
This code snippet illustrate the problem:
`"MCU_K22F512": {
"supported_form_factors": ["ARDUINO"],
"core": "Cortex-M4F",
"supported_toolchains": ["ARM", "GCC_ARM", "IAR"],
"extra_labels": ["Freescale", "KSDK2_MCUS", "MCU_K22F", "KPSDK_MCUS", "KPSDK_CODE"],
"is_disk_virtual": true,
"macros": ["CPU_MK22FN512VLH12", "FSL_RTOS_MBED"],
"inherits": ["Target"],
"detect_code": ["0231"],
"device_has": ["ANALOGIN", "ANALOGOUT", "ERROR_RED", "I2C", "I2CSLAVE", "INTERRUPTIN", "LOWPOWERTIMER", "PORTIN", "PORTINOUT", "PORTOUT", "PWMOUT", "RTC", "SERIAL", "SLEEP", "SPI", "SPISLAVE", "STDIO_MESSAGES"],
"release_versions": ["2", "5"],
"device_name": "MK22DN512xxx5"
},
"K22F": {
"inherits": ["MCU_K22F512"],
"extra_labels_add": ["FRDM"]
},
To make K22F work, I would need to add to extra labels MCU_K22F512
to the target MCU_K22F512
. It's not defined by default. But for a regular target like K22F it is, as I recall. I could not find any relevant info in the docs.