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 1
1
# Copyright (c) 2020 ARM Limited. All rights reserved.
2
2
# SPDX-License-Identifier: Apache-2.0
3
3
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 ()
5
15
6
- if ("RTX" IN_LIST MBED_TARGET_LABELS )
7
- target_include_directories (mbed-cy_psoc6csp_rtos
16
+ target_include_directories (mbed-core
8
17
INTERFACE
9
- include /COMPONENT_RTX
18
+ include
10
19
)
11
- target_sources (mbed-cy_psoc6csp_rtos
20
+
21
+ target_sources (mbed-core
12
22
INTERFACE
13
- source /COMPONENT_RTX/cyabs_rtos_rtxv5 .c
23
+ source /cy_worker_thread .c
14
24
)
15
25
endif ()
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