Skip to content

Commit 739ff67

Browse files
author
Marcelo Salazar
committed
Folder re-org to fit new MCU K22F variances
This is a simple re-structure of the K22F folder to allow other MCU variances to land here. Created the MCU_K22F512 device but left the 'K22F' as a target for the FRDM-K22F board. Rebased to master
1 parent d7c02a1 commit 739ff67

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

+8
-4
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: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -482,11 +482,11 @@
482482
"release_versions": ["2"],
483483
"device_name": "MK20DX256xxx7"
484484
},
485-
"K22F": {
485+
"MCU_K22F512": {
486486
"supported_form_factors": ["ARDUINO"],
487487
"core": "Cortex-M4F",
488488
"supported_toolchains": ["ARM", "GCC_ARM", "IAR"],
489-
"extra_labels": ["Freescale", "KSDK2_MCUS", "FRDM", "KPSDK_MCUS", "KPSDK_CODE"],
489+
"extra_labels": ["Freescale", "KSDK2_MCUS", "MCU_K22F", "MCU_K22F512", "FRDM", "KPSDK_MCUS", "KPSDK_CODE"],
490490
"is_disk_virtual": true,
491491
"macros": ["CPU_MK22FN512VLH12", "FSL_RTOS_MBED"],
492492
"inherits": ["Target"],
@@ -495,6 +495,10 @@
495495
"release_versions": ["2", "5"],
496496
"device_name": "MK22DN512xxx5"
497497
},
498+
"K22F": {
499+
"inherits": ["MCU_K22F512"],
500+
"extra_labels_add": ["FRDM"]
501+
},
498502
"KL27Z": {
499503
"inherits": ["Target"],
500504
"core": "Cortex-M0+",
@@ -2150,4 +2154,4 @@
21502154
"inherits": ["SARA_NBIOT"],
21512155
"extra_labels": ["ublox", "HI2110", "SARA_NBIOT"]
21522156
}
2153-
}
2157+
}

0 commit comments

Comments
 (0)