Skip to content

Commit 99b1114

Browse files
committed
MCUXpresso: Add TICKLESS support for LPC platforms
Signed-off-by: Mahesh Mahadevan <[email protected]>
1 parent 033fffe commit 99b1114

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
@@ -1976,7 +1976,11 @@
19761976
"LPC"
19771977
],
19781978
"is_disk_virtual": true,
1979-
"macros": ["CPU_LPC54114J256BD64_cm4", "FSL_RTOS_MBED"],
1979+
"macros": [
1980+
"CPU_LPC54114J256BD64_cm4",
1981+
"FSL_RTOS_MBED",
1982+
"MBED_TICKLESS"
1983+
],
19801984
"inherits": ["Target"],
19811985
"detect_code": ["1054"],
19821986
"device_has": [
@@ -1997,6 +2001,10 @@
19972001
"FLASH",
19982002
"MPU"
19992003
],
2004+
"overrides": {
2005+
"tickless-from-us-ticker": true,
2006+
"init-us-ticker-at-boot": true
2007+
},
20002008
"release_versions": ["2", "5"],
20012009
"post_binary_hook": { "function": "LPCTargetCode.lpc_patch" },
20022010
"device_name": "LPC54114J256BD64"
@@ -2012,7 +2020,11 @@
20122020
],
20132021
"is_disk_virtual": true,
20142022
"public": false,
2015-
"macros": ["CPU_LPC54628J512ET180", "FSL_RTOS_MBED"],
2023+
"macros": [
2024+
"CPU_LPC54628J512ET180",
2025+
"FSL_RTOS_MBED",
2026+
"MBED_TICKLESS"
2027+
],
20162028
"inherits": ["Target"],
20172029
"device_has": [
20182030
"USTICKER",
@@ -2035,6 +2047,10 @@
20352047
"QSPI",
20362048
"MPU"
20372049
],
2050+
"overrides": {
2051+
"tickless-from-us-ticker": true,
2052+
"init-us-ticker-at-boot": true
2053+
},
20382054
"device_name": "LPC54628J512ET180",
20392055
"post_binary_hook": { "function": "LPCTargetCode.lpc_patch" },
20402056
"overrides": {
@@ -2084,7 +2100,8 @@
20842100
"MBED_FAULT_HANDLER_DISABLED",
20852101
"CMSIS_NVIC_VIRTUAL",
20862102
"MBED_MPU_CUSTOM",
2087-
"NXP_LPADC"
2103+
"NXP_LPADC",
2104+
"MBED_TICKLESS"
20882105
],
20892106
"components_add": ["FLASHIAP"],
20902107
"extra_labels_add": [
@@ -2120,7 +2137,9 @@
21202137
"secure-rom-start": "0x10000000",
21212138
"secure-rom-size": "0x28000",
21222139
"secure-ram-start": "0x30000000",
2123-
"secure-ram-size": "0x22000"
2140+
"secure-ram-size": "0x22000",
2141+
"tickless-from-us-ticker": true,
2142+
"init-us-ticker-at-boot": true
21242143
},
21252144
"OUTPUT_EXT": "hex",
21262145
"bootloader_supported": true
@@ -8560,7 +8579,7 @@
85608579
"bootloader_supported": true,
85618580
"mbed_rom_start": "0x10000000",
85628581
"mbed_rom_size": "0x100000",
8563-
"sectors": [[268435456, 512]],
8582+
"sectors": [[268435456, 512]],
85648583
"overrides": {
85658584
"network-default-interface-type": "WIFI"
85668585
},
@@ -8575,7 +8594,7 @@
85758594
"bootloader_supported": true,
85768595
"mbed_rom_start": "0x10000000",
85778596
"mbed_rom_size": "0x200000",
8578-
"sectors": [[268435456, 512]]
8597+
"sectors": [[268435456, 512]]
85798598
},
85808599
"CY8CKIT_062S2_43012": {
85818600
"inherits": ["CY8CMOD_062S2_43012"],

0 commit comments

Comments
 (0)