1#
2# Copyright (c) 2024 Nordic Semiconductor ASA
3#
4# SPDX-License-Identifier: Apache-2.0
5#
6
7cmake_minimum_required(VERSION 3.20.0)
8
9find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE})
10project(wifi_credentials_test)
11
12FILE(GLOB app_sources src/*.c)
13target_sources(app PRIVATE ${app_sources})
14
15target_sources(app
16  PRIVATE
17  ${ZEPHYR_BASE}/subsys/net/lib/wifi_credentials/wifi_credentials_backend_settings.c
18)
19
20zephyr_include_directories(${ZEPHYR_BASE}/subsys/testsuite/include)
21zephyr_include_directories(${ZEPHYR_BASE}/subsys/net/lib/wifi_credentials/)
22
23target_compile_options(app
24  PRIVATE
25  -DCONFIG_WIFI_CREDENTIALS_MAX_ENTRIES=2
26  -DCONFIG_WIFI_CREDENTIALS_SAE_PASSWORD_LENGTH=128
27  -DCONFIG_WIFI_CREDENTIALS_LOG_LEVEL=4
28)
29