Skip to content

Commit 1f783f6

Browse files
authored
Merge pull request #3177 from ashok-rao/new_mcu_K22512_fixing_PR_3136
New mcu k22512 fixing pr 3136
2 parents 2502a79 + 80be092 commit 1f783f6

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

100 files changed

+10
-5
lines changed

targets/TARGET_Freescale/mbed_rtx.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
#define OS_CLOCK 96000000
4848
#endif
4949

50-
#elif defined(TARGET_K22F)
50+
#elif defined(TARGET_MCU_K22F)
5151

5252
#ifndef INITIAL_SP
5353
#define INITIAL_SP (0x20010000UL)

targets/targets.json

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -482,19 +482,24 @@
482482
"release_versions": ["2"],
483483
"device_name": "MK20DX256xxx7"
484484
},
485-
"K22F": {
486-
"supported_form_factors": ["ARDUINO"],
485+
"MCU_K22F512": {
487486
"core": "Cortex-M4F",
488487
"supported_toolchains": ["ARM", "GCC_ARM", "IAR"],
489-
"extra_labels": ["Freescale", "KSDK2_MCUS", "FRDM", "KPSDK_MCUS", "KPSDK_CODE"],
488+
"extra_labels": ["Freescale", "KSDK2_MCUS", "MCU_K22F", "MCU_K22F512", "FRDM", "KPSDK_MCUS", "KPSDK_CODE"],
490489
"is_disk_virtual": true,
490+
"public": false,
491491
"macros": ["CPU_MK22FN512VLH12", "FSL_RTOS_MBED"],
492492
"inherits": ["Target"],
493493
"detect_code": ["0231"],
494494
"device_has": ["ANALOGIN", "ANALOGOUT", "ERROR_RED", "I2C", "I2CSLAVE", "INTERRUPTIN", "LOWPOWERTIMER", "PORTIN", "PORTINOUT", "PORTOUT", "PWMOUT", "RTC", "SERIAL", "SLEEP", "SPI", "SPISLAVE", "STDIO_MESSAGES"],
495-
"release_versions": ["2", "5"],
496495
"device_name": "MK22DN512xxx5"
497496
},
497+
"K22F": {
498+
"supported_form_factors": ["ARDUINO"],
499+
"inherits": ["MCU_K22F512"],
500+
"release_versions": ["2", "5"],
501+
"extra_labels_add": ["FRDM"]
502+
},
498503
"KL27Z": {
499504
"inherits": ["Target"],
500505
"core": "Cortex-M0+",

0 commit comments

Comments
 (0)