Skip to content

Commit a61cb3c

Browse files
committed
samples: nfc: tnep_tag: add tnep_tag sample
The sample is based on sdk-nrf samples/nfc/tnep_tag sample and it's behavior is the same. Signed-off-by: Andrzej Kuros <[email protected]>
1 parent 39579a1 commit a61cb3c

File tree

5 files changed

+444
-0
lines changed

5 files changed

+444
-0
lines changed
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
#
2+
# Copyright (c) 2026 Nordic Semiconductor
3+
#
4+
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
5+
#
6+
7+
cmake_minimum_required(VERSION 3.20.0)
8+
9+
find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE})
10+
project(NONE)
11+
12+
FILE(GLOB app_sources src/*.c)
13+
# NORDIC SDK APP START
14+
target_sources(app PRIVATE ${app_sources})
15+
# NORDIC SDK APP END

samples/nfc/tnep_tag/Kconfig

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
#
2+
# Copyright (c) 2026 Nordic Semiconductor ASA
3+
#
4+
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
5+
#
6+
7+
menu "NFC TNEP Tag sample"
8+
9+
module=APP_NFC_TNEP_TAG
10+
module-str=NFC TNEP Tag Sample
11+
source "$(ZEPHYR_BASE)/subsys/logging/Kconfig.template.log_config"
12+
13+
endmenu # "NFC TNEP Tag sample"
14+
15+
source "Kconfig.zephyr"

samples/nfc/tnep_tag/prj.conf

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
#
2+
# Copyright (c) 2026 Nordic Semiconductor ASA
3+
#
4+
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
5+
#
6+
CONFIG_NFC_T4T_NRFXLIB=y
7+
8+
CONFIG_NFC_NDEF=y
9+
CONFIG_NFC_NDEF_MSG=y
10+
CONFIG_NFC_NDEF_RECORD=y
11+
CONFIG_NFC_NDEF_TEXT_RECORD=y
12+
CONFIG_NFC_NDEF_TNEP_RECORD=y
13+
CONFIG_NFC_TNEP_TAG=y
14+
CONFIG_NFC_NDEF_PARSER=y
15+
16+
# SoftDevice is necessary for NFC for HFCLK clock control
17+
CONFIG_SOFTDEVICE=y
18+
19+
CONFIG_BM_TIMER=y
20+
CONFIG_BM_BUTTONS=y
21+
22+
CONFIG_LOG=y
23+
CONFIG_LOG_BACKEND_BM_UARTE=y
24+
25+
#CONFIG_POLL=y
26+
#CONFIG_GPIO=y

samples/nfc/tnep_tag/sample.yaml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
sample:
2+
description: NFC TNEP Tag sample
3+
name: NFC TNEP Tag
4+
tests:
5+
sample.nfc.tnep_tag:
6+
sysbuild: true
7+
build_only: true
8+
integration_platforms:
9+
- bm_nrf54l15dk/nrf54l05/cpuapp/s115_softdevice
10+
- bm_nrf54l15dk/nrf54l10/cpuapp/s115_softdevice
11+
- bm_nrf54l15dk/nrf54l15/cpuapp/s115_softdevice
12+
platform_allow:
13+
- bm_nrf54l15dk/nrf54l05/cpuapp/s115_softdevice
14+
- bm_nrf54l15dk/nrf54l10/cpuapp/s115_softdevice
15+
- bm_nrf54l15dk/nrf54l15/cpuapp/s115_softdevice
16+
tags:
17+
- ci_build

0 commit comments

Comments
 (0)