1# SPDX-License-Identifier: Apache-2.0
2
3cmake_minimum_required(VERSION 3.20.0)
4
5macro(app_set_runner_args)
6  board_runner_args(dfu-util "--dfuse-modifiers=force:mass-erase")
7  board_runner_args(pyocd "--erase")
8  board_runner_args(nrfjprog "--erase")
9endmacro()
10
11find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE})
12project(nvs)
13
14
15target_sources(app PRIVATE src/main.c)
16target_include_directories(app PRIVATE ${ZEPHYR_BASE}/subsys/fs/nvs)
17