File tree Expand file tree Collapse file tree 1 file changed +16
-16
lines changed
targets/TARGET_Cypress/TARGET_PSOC6/psoc6csp/abstraction/rtos Expand file tree Collapse file tree 1 file changed +16
-16
lines changed Original file line number Diff line number Diff line change 11# Copyright (c) 2020 ARM Limited. All rights reserved.
22# SPDX-License-Identifier: Apache-2.0
33
4- add_library (mbed-cy_psoc6csp_rtos INTERFACE )
4+ if ("CY_RTOS_AWARE" IN_LIST MBED_CONFIG_DEFINITIONS)
5+ if ("RTX" IN_LIST MBED_TARGET_LABELS)
6+ target_include_directories (mbed-core
7+ INTERFACE
8+ include /COMPONENT_RTX
9+ )
10+ target_sources (mbed-core
11+ INTERFACE
12+ source /COMPONENT_RTX/cyabs_rtos_rtxv5.c
13+ )
14+ endif ()
515
6- if ("RTX" IN_LIST MBED_TARGET_LABELS)
7- target_include_directories (mbed-cy_psoc6csp_rtos
16+ target_include_directories (mbed-core
817 INTERFACE
9- include /COMPONENT_RTX
18+ include
1019 )
11- target_sources (mbed-cy_psoc6csp_rtos
20+
21+ target_sources (mbed-core
1222 INTERFACE
13- source /COMPONENT_RTX/cyabs_rtos_rtxv5 .c
23+ source /cy_worker_thread .c
1424 )
1525endif ()
16-
17- target_include_directories (mbed-cy_psoc6csp_rtos
18- INTERFACE
19- include
20- )
21-
22- target_sources (mbed-cy_psoc6csp_rtos
23- INTERFACE
24- source /cy_worker_thread.c
25- )
You can’t perform that action at this time.
0 commit comments