# # Copyright (c) 2019 Nordic Semiconductor # # SPDX-License-Identifier: LicenseRef-BSD-5-Clause-Nordic # cmake_minimum_required(VERSION 3.13.1) # This sample runs as a non-secure application on nRF91. Therefore, it # requires the secure_partition_manager that prepares the required # peripherals to be available for the application. # # Configure the SPM image to enable the peripherals that this sample # needs. set(spm_CONF_FILE prj.conf ${CMAKE_CURRENT_LIST_DIR}/child_secure_partition_manager.conf ) set(mcuboot_CONF_FILE prj.conf ${CMAKE_CURRENT_LIST_DIR}/mcuboot.conf ) find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE}) project(serial_lte_modem) target_sources(app PRIVATE src/main.c) target_sources(app PRIVATE src/slm_util.c) target_sources(app PRIVATE src/slm_at_host.c) target_sources(app PRIVATE src/slm_at_tcpip.c) target_sources(app PRIVATE src/slm_at_icmp.c) target_sources(app PRIVATE src/slm_at_gps.c) target_sources(app PRIVATE src/slm_at_mqtt.c) target_sources(app PRIVATE src/slm_at_ftp.c) add_subdirectory(src/tcpip_proxy) zephyr_include_directories(src)