blob: 941ba326d8c4a49ef74690708233f0b7ba1e4023 [file] [log] [blame]
Bhavik Patel68c1f1b2020-07-29 12:28:18 +02001#
Anton Moberge348f8f2021-03-31 11:08:58 +02002# Copyright (c) 2019-2021 Arm Limited. All rights reserved.
Bhavik Patel68c1f1b2020-07-29 12:28:18 +02003#
4# SPDX-License-Identifier: Apache-2.0
5#
6# Licensed under the Apache License, Version 2.0 (the License); you may
7# not use this file except in compliance with the License.
8# You may obtain a copy of the License at
9#
10# www.apache.org/licenses/LICENSE-2.0
11#
12# Unless required by applicable law or agreed to in writing, software
13# distributed under the License is distributed on an AS IS BASIS, WITHOUT
14# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15# See the License for the specific language governing permissions and
16# limitations under the License.
17#
18
Per Åstrand3c60f142021-01-28 11:58:38 +010019# Include FreeRTOS kernel
20if(CORE_SOFTWARE_RTOS_LOWER STREQUAL "freertos" OR CORE_SOFTWARE_RTOS_LOWER STREQUAL "all")
Bhavik Patel68c1f1b2020-07-29 12:28:18 +020021 set(FREERTOS_KERNEL_PATH "${CMAKE_CURRENT_SOURCE_DIR}/freertos/freertos_kernel" CACHE PATH "Path to FreeRTOS kernel.")
22 add_subdirectory(freertos_config)
Bhavik Patel68c1f1b2020-07-29 12:28:18 +020023endif()