-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathCMakeLists.txt
32 lines (28 loc) · 1.06 KB
/
CMakeLists.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#
# Copyright (c) 2022 Nordic Semiconductor ASA
#
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
#
cmake_minimum_required(VERSION 3.20.0)
if(NOT CONFIG_HW_CODEC_CIRRUS_LOGIC)
return()
endif()
zephyr_sources(
${ZEPHYR_CIRRUS_LOGIC_MODULE_DIR}/common/regmap.c
${ZEPHYR_CIRRUS_LOGIC_MODULE_DIR}/cs47l63/cs47l63.c
${ZEPHYR_CIRRUS_LOGIC_MODULE_DIR}/cs47l63/bsp/bsp_cs47l63.c
${ZEPHYR_CIRRUS_LOGIC_MODULE_DIR}/cs47l63/bsp/vregmap.c
${ZEPHYR_CIRRUS_LOGIC_MODULE_DIR}/cs47l63/generated/cs47l63_fw_img.c
${ZEPHYR_CIRRUS_LOGIC_MODULE_DIR}/cs47l63/generated/cs47l63_syscfg_regs.c
)
zephyr_include_directories(
${ZEPHYR_CIRRUS_LOGIC_MODULE_DIR}
${ZEPHYR_CIRRUS_LOGIC_MODULE_DIR}/common
${ZEPHYR_CIRRUS_LOGIC_MODULE_DIR}/common/bridge
${ZEPHYR_CIRRUS_LOGIC_MODULE_DIR}/common/platform_bsp
${ZEPHYR_CIRRUS_LOGIC_MODULE_DIR}/cs47l63
${ZEPHYR_CIRRUS_LOGIC_MODULE_DIR}/cs47l63/bsp
${ZEPHYR_CIRRUS_LOGIC_MODULE_DIR}/cs47l63/config
${ZEPHYR_CIRRUS_LOGIC_MODULE_DIR}/cs47l63/fw_pt
${ZEPHYR_CIRRUS_LOGIC_MODULE_DIR}/cs47l63/generated
)