Skip to content

Commit 9d6bfcf

Browse files
authored
Merge pull request #11261 from NXPmicro/Enable_Tickless_LPC
MCUXpresso: Add TICKLESS support for LPC platforms
2 parents 5c09ff1 + 99b1114 commit 9d6bfcf

File tree

1 file changed

+25
-6
lines changed

1 file changed

+25
-6
lines changed

targets/targets.json

Lines changed: 25 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1987,7 +1987,11 @@
19871987
"LPC"
19881988
],
19891989
"is_disk_virtual": true,
1990-
"macros": ["CPU_LPC54114J256BD64_cm4", "FSL_RTOS_MBED"],
1990+
"macros": [
1991+
"CPU_LPC54114J256BD64_cm4",
1992+
"FSL_RTOS_MBED",
1993+
"MBED_TICKLESS"
1994+
],
19911995
"inherits": ["Target"],
19921996
"detect_code": ["1054"],
19931997
"device_has": [
@@ -2008,6 +2012,10 @@
20082012
"FLASH",
20092013
"MPU"
20102014
],
2015+
"overrides": {
2016+
"tickless-from-us-ticker": true,
2017+
"init-us-ticker-at-boot": true
2018+
},
20112019
"release_versions": ["2", "5"],
20122020
"post_binary_hook": { "function": "LPCTargetCode.lpc_patch" },
20132021
"device_name": "LPC54114J256BD64"
@@ -2023,7 +2031,11 @@
20232031
],
20242032
"is_disk_virtual": true,
20252033
"public": false,
2026-
"macros": ["CPU_LPC54628J512ET180", "FSL_RTOS_MBED"],
2034+
"macros": [
2035+
"CPU_LPC54628J512ET180",
2036+
"FSL_RTOS_MBED",
2037+
"MBED_TICKLESS"
2038+
],
20272039
"inherits": ["Target"],
20282040
"device_has": [
20292041
"USTICKER",
@@ -2046,6 +2058,10 @@
20462058
"QSPI",
20472059
"MPU"
20482060
],
2061+
"overrides": {
2062+
"tickless-from-us-ticker": true,
2063+
"init-us-ticker-at-boot": true
2064+
},
20492065
"device_name": "LPC54628J512ET180",
20502066
"post_binary_hook": { "function": "LPCTargetCode.lpc_patch" },
20512067
"overrides": {
@@ -2095,7 +2111,8 @@
20952111
"MBED_FAULT_HANDLER_DISABLED",
20962112
"CMSIS_NVIC_VIRTUAL",
20972113
"MBED_MPU_CUSTOM",
2098-
"NXP_LPADC"
2114+
"NXP_LPADC",
2115+
"MBED_TICKLESS"
20992116
],
21002117
"components_add": ["FLASHIAP"],
21012118
"extra_labels_add": [
@@ -2131,7 +2148,9 @@
21312148
"secure-rom-start": "0x10000000",
21322149
"secure-rom-size": "0x28000",
21332150
"secure-ram-start": "0x30000000",
2134-
"secure-ram-size": "0x22000"
2151+
"secure-ram-size": "0x22000",
2152+
"tickless-from-us-ticker": true,
2153+
"init-us-ticker-at-boot": true
21352154
},
21362155
"OUTPUT_EXT": "hex",
21372156
"bootloader_supported": true
@@ -8581,7 +8600,7 @@
85818600
"bootloader_supported": true,
85828601
"mbed_rom_start": "0x10000000",
85838602
"mbed_rom_size": "0x100000",
8584-
"sectors": [[268435456, 512]],
8603+
"sectors": [[268435456, 512]],
85858604
"overrides": {
85868605
"network-default-interface-type": "WIFI"
85878606
},
@@ -8596,7 +8615,7 @@
85968615
"bootloader_supported": true,
85978616
"mbed_rom_start": "0x10000000",
85988617
"mbed_rom_size": "0x200000",
8599-
"sectors": [[268435456, 512]]
8618+
"sectors": [[268435456, 512]]
86008619
},
86018620
"CY8CKIT_062S2_43012": {
86028621
"inherits": ["CY8CMOD_062S2_43012"],

0 commit comments

Comments
 (0)