Skip to content

Commit 5522acc

Browse files
committed
applications: gesture_recognition: Add release configs for LM20B
Signed-off-by: Bartosz Meus <bartosz.meus@nordicsemi.no>
1 parent 8f97890 commit 5522acc

3 files changed

Lines changed: 108 additions & 0 deletions

File tree

Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
#
2+
# Copyright (c) 2026 Nordic Semiconductor
3+
#
4+
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
5+
#
6+
7+
# nRF Edge AI
8+
CONFIG_NRF_EDGEAI=y
9+
# nRF Edge AI dependencies
10+
CONFIG_NEWLIB_LIBC=y
11+
CONFIG_FPU=y
12+
13+
# Enable sensor, button and LED libraries
14+
CONFIG_PWM=y
15+
CONFIG_SPI=y
16+
CONFIG_SENSOR=y
17+
18+
# Power management
19+
CONFIG_PM=y
20+
CONFIG_PM_DEVICE=y
21+
CONFIG_PM_DEVICE_RUNTIME=y
22+
23+
# Disable LED pulsing effect to save energy
24+
CONFIG_LED_NOTIFICATION_BLINK=y
25+
26+
# Disable logging and console
27+
CONFIG_SHELL=n
28+
CONFIG_CONSOLE=n
29+
CONFIG_LOG=n
30+
CONFIG_PRINTK=n
31+
CONFIG_BOOT_BANNER=n
32+
CONFIG_NCS_BOOT_BANNER=n
33+
34+
# Compiler/linker optimizations
35+
CONFIG_SPEED_OPTIMIZATIONS=y
36+
CONFIG_LTO=y
37+
CONFIG_ISR_TABLES_LOCAL_DECLARATION=y
38+
39+
# Bluetooth configuration
40+
CONFIG_BT=y
41+
CONFIG_BT_MAX_CONN=2
42+
CONFIG_BT_SMP=y
43+
CONFIG_BT_L2CAP_TX_BUF_COUNT=5
44+
CONFIG_BT_PERIPHERAL=y
45+
CONFIG_BT_DEVICE_NAME="nRF Edge AI Remote Control"
46+
CONFIG_BT_DEVICE_APPEARANCE=961
47+
48+
CONFIG_BT_GATT_UUID16_POOL_SIZE=40
49+
CONFIG_BT_GATT_CHRC_POOL_SIZE=20
50+
51+
CONFIG_BT_CONN_CTX=y
52+
53+
CONFIG_BT_DIS_MANUF="NordicSemiconductor"
54+
CONFIG_BT_DIS_PNP_VID_SRC=2
55+
CONFIG_BT_DIS_PNP_VID=0x1915
56+
CONFIG_BT_DIS_PNP_PID=0xEEEF
57+
CONFIG_BT_DIS_PNP_VER=0x0100
58+
59+
CONFIG_BT_SETTINGS=y
60+
CONFIG_FLASH=y
61+
CONFIG_FLASH_PAGE_LAYOUT=y
62+
CONFIG_FLASH_MAP=y
63+
CONFIG_NVS=y
64+
CONFIG_SETTINGS=y
65+
66+
# nRF Axon
67+
CONFIG_NRF_AXON_INTERLAYER_BUFFER_SIZE=512
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
#
2+
# Copyright (c) 2026 Nordic Semiconductor
3+
#
4+
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
5+
#
6+
7+
# Use no-BLE mode
8+
CONFIG_BLE_MODE_NONE=y
9+
10+
# nRF Edge AI
11+
CONFIG_NRF_EDGEAI=y
12+
# nRF Edge AI dependencies
13+
CONFIG_NEWLIB_LIBC=y
14+
CONFIG_FPU=y
15+
16+
# Enable sensor, button and LED libraries
17+
CONFIG_PWM=y
18+
CONFIG_SPI=y
19+
CONFIG_SENSOR=y
20+
21+
# Power management
22+
CONFIG_PM=y
23+
CONFIG_PM_DEVICE=y
24+
CONFIG_PM_DEVICE_RUNTIME=y
25+
26+
# Disable LED pulsing effect to save energy
27+
CONFIG_LED_NOTIFICATION_BLINK=y
28+
29+
# Enable logging
30+
CONFIG_LOG=y
31+
CONFIG_CONSOLE=y
32+
CONFIG_UART_CONSOLE=y
33+
34+
# Compiler/linker optimizations
35+
CONFIG_SPEED_OPTIMIZATIONS=y
36+
CONFIG_LTO=y
37+
CONFIG_ISR_TABLES_LOCAL_DECLARATION=y
38+
39+
# nRF Axon
40+
CONFIG_NRF_AXON_INTERLAYER_BUFFER_SIZE=512

applications/gesture_recognition/sample.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,7 @@ tests:
187187
extra_args:
188188
- FILE_SUFFIX=release
189189
- CONFIG_BLE_MODE_NONE=y
190+
- CONFIG_BT=n
190191
# This configuration is not working yet.
191192
# It's added so that shield is correctly rendered in the documentation.
192193
applications.gesture_recognition.shield:

0 commit comments

Comments
 (0)