mirror of https://github.com/ARMmbed/mbed-os.git
HACK: Update Build files for PSOC 6
This commit must be removed when the branch is rebased against a more recent version of Mbed OS.feature-chip
parent
dcc69d7a80
commit
2c6928cec0
|
@ -1,25 +1,22 @@
|
||||||
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
if("CY_RTOS_AWARE" IN_LIST MBED_CONFIG_DEFINITIONS)
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
if("RTX" IN_LIST MBED_TARGET_LABELS)
|
||||||
|
target_include_directories(mbed-core
|
||||||
add_library(mbed-cy_psoc6csp_rtos INTERFACE)
|
|
||||||
|
|
||||||
if("RTX" IN_LIST MBED_TARGET_LABELS)
|
|
||||||
target_include_directories(mbed-cy_psoc6csp_rtos
|
|
||||||
INTERFACE
|
INTERFACE
|
||||||
include/COMPONENT_RTX
|
include/COMPONENT_RTX
|
||||||
)
|
)
|
||||||
target_sources(mbed-cy_psoc6csp_rtos
|
target_sources(mbed-core
|
||||||
INTERFACE
|
INTERFACE
|
||||||
source/COMPONENT_RTX/cyabs_rtos_rtxv5.c
|
source/COMPONENT_RTX/cyabs_rtos_rtxv5.c
|
||||||
)
|
)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
target_include_directories(mbed-cy_psoc6csp_rtos
|
target_include_directories(mbed-core
|
||||||
INTERFACE
|
INTERFACE
|
||||||
include
|
include
|
||||||
)
|
)
|
||||||
|
|
||||||
target_sources(mbed-cy_psoc6csp_rtos
|
target_sources(mbed-core
|
||||||
INTERFACE
|
INTERFACE
|
||||||
source/cy_worker_thread.c
|
source/cy_worker_thread.c
|
||||||
)
|
)
|
||||||
|
endif()
|
Loading…
Reference in New Issue