-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakeLists.txt
31 lines (27 loc) · 999 Bytes
/
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
#
# Copyright (c) 2020 Nordic Semiconductor ASA
#
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
#
cmake_minimum_required(VERSION 3.20.0)
# Manju - Additional for Dongle - Start
# Increase size of MCUboot partition when building with MCUboot
if (EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/configuration/${BOARD}/pm_static.yml"
AND "prj_usb.conf" IN_LIST CONF_FILE)
set(PM_STATIC_YML_FILE ${CMAKE_CURRENT_SOURCE_DIR}/configuration/${BOARD}/pm_static.yml
)
endif()
# Include pm_static file to build for nRF52 dongle with nRF5 Bootloader
if (EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/configuration/${BOARD}/pm_static.yml"
AND ${BOARD} STREQUAL "nrf52840dongle_nrf52840")
set(PM_STATIC_YML_FILE ${CMAKE_CURRENT_SOURCE_DIR}/configuration/${BOARD}/pm_static.yml
)
endif()
# Manju - Additional for Dongle - End
find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE})
project("Zigbee light bulb with Scenes")
# NORDIC SDK APP START
target_sources(app PRIVATE
src/main.c
)
# NORDIC SDK APP END