Skip to content

Commit 017b043

Browse files
committed
TARGET_PSOC6: set CY_RTOS_AWARE based on RTOS availability
1 parent aff95c0 commit 017b043

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

rtos/source/TARGET_CORTEX/mbed_lib.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,9 @@
8181
},
8282
"NUVOTON": {
8383
"idle-thread-stack-size-debug-extra": 512
84+
},
85+
"MCU_PSOC6_M4": {
86+
"target.macros_add": ["CY_RTOS_AWARE"]
8487
}
8588
}
8689
}

targets/targets.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5893,7 +5893,6 @@
58935893
],
58945894
"macros_add": [
58955895
"MCU_PSOC6_M4",
5896-
"CY_RTOS_AWARE",
58975896
"CY_USING_HAL",
58985897
"MBED_TICKLESS"
58995898
],

0 commit comments

Comments
 (0)