Skip to content

Commit 57fb6e6

Browse files
committed
NXP: Enable MBED_TICKLESS on various NXP platforms
Enable for K22F, K64F, K66F, K82F, KL82Z, KW24D, KW41Z, MIMXRT1050, HEXIWEAR Signed-off-by: Mahesh Mahadevan <[email protected]>
1 parent bd88d3b commit 57fb6e6

File tree

1 file changed

+11
-9
lines changed

1 file changed

+11
-9
lines changed

targets/targets.json

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1212,7 +1212,7 @@
12121212
],
12131213
"is_disk_virtual": true,
12141214
"public": false,
1215-
"macros": ["CPU_MK22FN512VLH12", "FSL_RTOS_MBED"],
1215+
"macros": ["CPU_MK22FN512VLH12", "FSL_RTOS_MBED", "MBED_TICKLESS"],
12161216
"inherits": ["Target"],
12171217
"detect_code": ["0231"],
12181218
"device_has": [
@@ -1313,7 +1313,7 @@
13131313
"core": "Cortex-M0+",
13141314
"supported_toolchains": ["GCC_ARM", "ARM", "IAR"],
13151315
"extra_labels": ["Freescale", "MCUXpresso_MCUS", "KSDK2_MCUS", "FRDM"],
1316-
"macros": ["CPU_MKL82Z128VLK7", "FSL_RTOS_MBED"],
1316+
"macros": ["CPU_MKL82Z128VLK7", "FSL_RTOS_MBED", "MBED_TICKLESS"],
13171317
"is_disk_virtual": true,
13181318
"inherits": ["Target"],
13191319
"detect_code": ["0218"],
@@ -1355,7 +1355,7 @@
13551355
"supported_toolchains": ["ARM", "GCC_ARM", "IAR"],
13561356
"extra_labels": ["Freescale", "MCUXpresso_MCUS", "KSDK2_MCUS", "FRDM"],
13571357
"is_disk_virtual": true,
1358-
"macros": ["CPU_MKW24D512VHA5", "FSL_RTOS_MBED"],
1358+
"macros": ["CPU_MKW24D512VHA5", "FSL_RTOS_MBED", "MBED_TICKLESS"],
13591359
"inherits": ["Target"],
13601360
"detect_code": ["0250"],
13611361
"device_has": [
@@ -1393,7 +1393,7 @@
13931393
"supported_toolchains": ["ARM", "GCC_ARM", "IAR"],
13941394
"extra_labels": ["Freescale", "MCUXpresso_MCUS", "KSDK2_MCUS", "FRDM", "FRAMEWORK_5_3_3", "NXP"],
13951395
"is_disk_virtual": true,
1396-
"macros": ["CPU_MKW41Z512VHT4", "FSL_RTOS_MBED"],
1396+
"macros": ["CPU_MKW41Z512VHT4", "FSL_RTOS_MBED", "MBED_TICKLESS"],
13971397
"inherits": ["Target"],
13981398
"detect_code": ["0201"],
13991399
"device_has": [
@@ -1489,7 +1489,8 @@
14891489
"PSA"
14901490
],
14911491
"is_disk_virtual": true,
1492-
"macros": ["CPU_MK64FN1M0VMD12", "FSL_RTOS_MBED", "MBED_SPLIT_HEAP"],
1492+
1493+
"macros": ["CPU_MK64FN1M0VMD12", "FSL_RTOS_MBED", "MBED_SPLIT_HEAP", "MBED_TICKLESS"],
14931494
"inherits": ["Target"],
14941495
"detect_code": ["0240"],
14951496
"device_has": [
@@ -1644,7 +1645,7 @@
16441645
"MCU_K64F"
16451646
],
16461647
"supported_toolchains": ["ARM", "GCC_ARM", "IAR"],
1647-
"macros": ["CPU_MK64FN1M0VMD12", "FSL_RTOS_MBED", "TARGET_K64F"],
1648+
"macros": ["CPU_MK64FN1M0VMD12", "FSL_RTOS_MBED", "TARGET_K64F", "MBED_TICKLESS"],
16481649
"is_disk_virtual": true,
16491650
"default_toolchain": "ARM",
16501651
"detect_code": ["0214"],
@@ -1781,7 +1782,7 @@
17811782
"PSA"
17821783
],
17831784
"is_disk_virtual": true,
1784-
"macros": ["CPU_MK66FN2M0VMD18", "FSL_RTOS_MBED", "MBED_SPLIT_HEAP"],
1785+
"macros": ["CPU_MK66FN2M0VMD18", "FSL_RTOS_MBED", "MBED_SPLIT_HEAP", "MBED_TICKLESS"],
17851786
"inherits": ["Target"],
17861787
"detect_code": ["0311"],
17871788
"device_has": [
@@ -1821,7 +1822,7 @@
18211822
"supported_toolchains": ["ARM", "GCC_ARM", "IAR"],
18221823
"extra_labels": ["Freescale", "MCUXpresso_MCUS", "KSDK2_MCUS", "FRDM"],
18231824
"is_disk_virtual": true,
1824-
"macros": ["CPU_MK82FN256VDC15", "FSL_RTOS_MBED"],
1825+
"macros": ["CPU_MK82FN256VDC15", "FSL_RTOS_MBED", "MBED_TICKLESS"],
18251826
"inherits": ["Target"],
18261827
"detect_code": ["0217"],
18271828
"device_has": [
@@ -1933,7 +1934,8 @@
19331934
"XIP_BOOT_HEADER_DCD_ENABLE=1",
19341935
"SKIP_SYSCLK_INIT",
19351936
"FSL_FEATURE_PHYKSZ8081_USE_RMII50M_MODE",
1936-
"MBED_MPU_CUSTOM"
1937+
"MBED_MPU_CUSTOM",
1938+
"MBED_TICKLESS"
19371939
],
19381940
"inherits": ["Target"],
19391941
"detect_code": ["0227"],

0 commit comments

Comments
 (0)