Skip to content

Commit 0eaf1c6

Browse files
mmahadevan108adbridge
authored andcommitted
MCUXpresso: Add TICKLESS support for LPC platforms
Signed-off-by: Mahesh Mahadevan <[email protected]>
1 parent c5000e4 commit 0eaf1c6

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": {
@@ -2094,7 +2110,8 @@
20942110
"MBED_FAULT_HANDLER_DISABLED",
20952111
"CMSIS_NVIC_VIRTUAL",
20962112
"MBED_MPU_CUSTOM",
2097-
"NXP_LPADC"
2113+
"NXP_LPADC",
2114+
"MBED_TICKLESS"
20982115
],
20992116
"components_add": ["FLASHIAP"],
21002117
"extra_labels_add": [
@@ -2130,7 +2147,9 @@
21302147
"secure-rom-start": "0x10000000",
21312148
"secure-rom-size": "0x28000",
21322149
"secure-ram-start": "0x30000000",
2133-
"secure-ram-size": "0x22000"
2150+
"secure-ram-size": "0x22000",
2151+
"tickless-from-us-ticker": true,
2152+
"init-us-ticker-at-boot": true
21342153
},
21352154
"OUTPUT_EXT": "hex",
21362155
"bootloader_supported": true
@@ -8457,7 +8476,7 @@
84578476
"bootloader_supported": true,
84588477
"mbed_rom_start": "0x10000000",
84598478
"mbed_rom_size": "0x100000",
8460-
"sectors": [[268435456, 512]],
8479+
"sectors": [[268435456, 512]],
84618480
"overrides": {
84628481
"network-default-interface-type": "WIFI"
84638482
},
@@ -8472,7 +8491,7 @@
84728491
"bootloader_supported": true,
84738492
"mbed_rom_start": "0x10000000",
84748493
"mbed_rom_size": "0x200000",
8475-
"sectors": [[268435456, 512]]
8494+
"sectors": [[268435456, 512]]
84768495
},
84778496
"CY8CKIT_062S2_43012": {
84788497
"inherits": ["CY8CMOD_062S2_43012"],

0 commit comments

Comments
 (0)