1# Copyright (c) 2021 Nordic Semiconductor ASA 2# 3# SPDX-License-Identifier: Apache-2.0 4# 5 6cmake_minimum_required(VERSION 3.20.0) 7 8find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE}) 9 10if(CONFIG_BOARD_NRF5340DK_NRF5340_CPUAPP OR 11 CONFIG_BOARD_NRF5340BSIM_NRF5340_CPUAPP) 12 message(INFO " ${BOARD}${BOARD_QUALIFIERS} used for Application Core") 13else() 14 message(FATAL_ERROR "${BOARD}${BOARD_QUALIFIERS} is not supported for this sample") 15endif() 16 17project(sync_rtc) 18 19enable_language(C ASM) 20 21target_sources(app PRIVATE src/main.c) 22