Skip to content

Commit 5b80e46

Browse files
alstrzebonskinordicjm
authored andcommitted
applications: nrf_desktop: Remove legacy nRF52 naming scheme
Removes "52" infix from the nRF Desktop devices names. This change breaks backwards compatibility. New peripherals won't pair with old dongles and the other way around. Also aligned HID configurator script. Jira: NCSDK-29954 Signed-off-by: Aleksander Strzebonski <[email protected]>
1 parent 3d408ef commit 5b80e46

File tree

22 files changed

+34
-36
lines changed

22 files changed

+34
-36
lines changed

applications/nrf_desktop/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ cmake_minimum_required(VERSION 3.20.0)
1212
set(APPLICATION_CONFIG_DIR "${CMAKE_CURRENT_LIST_DIR}/configuration/\${NORMALIZED_BOARD_TARGET}")
1313

1414
find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE})
15-
project("nRF52 Desktop"
15+
project("nRF Desktop"
1616
VERSION 0.1)
1717

1818
################################################################################

applications/nrf_desktop/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
55
#
66

7-
menu "nRF52 Desktop"
7+
menu "nRF Desktop"
88
rsource "Kconfig.hid"
99
rsource "Kconfig.ble"
1010
rsource "Kconfig.debug"

applications/nrf_desktop/Kconfig.hid

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -182,10 +182,10 @@ menu "HID device identification"
182182

183183
config DESKTOP_DEVICE_PRODUCT
184184
string "Product name"
185-
default "Dongle nRF52 Desktop" if DESKTOP_ROLE_HID_DONGLE
186-
default "Mouse nRF52 Desktop" if DESKTOP_PERIPHERAL_TYPE_MOUSE
187-
default "Keyboard nRF52 Desktop" if DESKTOP_PERIPHERAL_TYPE_KEYBOARD
188-
default "HID nRF52 Desktop"
185+
default "Dongle nRF Desktop" if DESKTOP_ROLE_HID_DONGLE
186+
default "Mouse nRF Desktop" if DESKTOP_PERIPHERAL_TYPE_MOUSE
187+
default "Keyboard nRF Desktop" if DESKTOP_PERIPHERAL_TYPE_KEYBOARD
188+
default "HID nRF Desktop"
189189
help
190190
Product name used for both GATT Device Information Service and USB
191191
device. By default, name is determined by nRF Desktop device role and

applications/nrf_desktop/configuration/nrf52820dongle_nrf52820/ble_scan_def.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,6 @@ const struct {} ble_scan_include_once;
1616
#include "ble_event.h"
1717

1818
static const char *peer_name[] = {
19-
[PEER_TYPE_MOUSE] = "Mouse nRF52 Desktop",
20-
[PEER_TYPE_KEYBOARD] = "Keyboard nRF52 Desktop",
19+
[PEER_TYPE_MOUSE] = "Mouse nRF Desktop",
20+
[PEER_TYPE_KEYBOARD] = "Keyboard nRF Desktop",
2121
};

applications/nrf_desktop/configuration/nrf52820dongle_nrf52820/images/mcuboot/prj_release.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ CONFIG_MULTITHREADING=y
3535

3636
# USB
3737
CONFIG_USB_DEVICE_MANUFACTURER="Nordic Semiconductor ASA"
38-
CONFIG_USB_DEVICE_PRODUCT="Bootloader nRF52 Desktop"
38+
CONFIG_USB_DEVICE_PRODUCT="Bootloader nRF Desktop"
3939
CONFIG_USB_DEVICE_VID=0x1915
4040
CONFIG_USB_DEVICE_PID=0x52DF
4141
CONFIG_USB_DEVICE_STACK=y

applications/nrf_desktop/configuration/nrf52833dk_nrf52820/ble_scan_def.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,6 @@ const struct {} ble_scan_include_once;
1616
#include "ble_event.h"
1717

1818
static const char *peer_name[] = {
19-
[PEER_TYPE_MOUSE] = "Mouse nRF52 Desktop",
20-
[PEER_TYPE_KEYBOARD] = "Keyboard nRF52 Desktop",
19+
[PEER_TYPE_MOUSE] = "Mouse nRF Desktop",
20+
[PEER_TYPE_KEYBOARD] = "Keyboard nRF Desktop",
2121
};

applications/nrf_desktop/configuration/nrf52833dk_nrf52820/images/mcuboot/prj_release.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ CONFIG_MULTITHREADING=y
3535

3636
# USB
3737
CONFIG_USB_DEVICE_MANUFACTURER="Nordic Semiconductor ASA"
38-
CONFIG_USB_DEVICE_PRODUCT="Bootloader nRF52 Desktop"
38+
CONFIG_USB_DEVICE_PRODUCT="Bootloader nRF Desktop"
3939
CONFIG_USB_DEVICE_VID=0x1915
4040
CONFIG_USB_DEVICE_PID=0x52DF
4141
CONFIG_USB_DEVICE_STACK=y

applications/nrf_desktop/configuration/nrf52833dk_nrf52833/ble_scan_def.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,6 @@ const struct {} ble_scan_include_once;
1616
#include "ble_event.h"
1717

1818
static const char *peer_name[] = {
19-
[PEER_TYPE_MOUSE] = "Mouse nRF52 Desktop",
20-
[PEER_TYPE_KEYBOARD] = "Keyboard nRF52 Desktop",
19+
[PEER_TYPE_MOUSE] = "Mouse nRF Desktop",
20+
[PEER_TYPE_KEYBOARD] = "Keyboard nRF Desktop",
2121
};

applications/nrf_desktop/configuration/nrf52833dk_nrf52833/images/mcuboot/prj.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ CONFIG_MULTITHREADING=y
3737

3838
# USB
3939
CONFIG_USB_DEVICE_MANUFACTURER="Nordic Semiconductor ASA"
40-
CONFIG_USB_DEVICE_PRODUCT="Bootloader nRF52 Desktop"
40+
CONFIG_USB_DEVICE_PRODUCT="Bootloader nRF Desktop"
4141
CONFIG_USB_DEVICE_VID=0x1915
4242
CONFIG_USB_DEVICE_PID=0x52DF
4343
CONFIG_USB_DEVICE_STACK=y

applications/nrf_desktop/configuration/nrf52833dk_nrf52833/images/mcuboot/prj_dongle_small.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ CONFIG_MULTITHREADING=y
3939

4040
# USB
4141
CONFIG_USB_DEVICE_MANUFACTURER="Nordic Semiconductor ASA"
42-
CONFIG_USB_DEVICE_PRODUCT="Bootloader nRF52 Desktop"
42+
CONFIG_USB_DEVICE_PRODUCT="Bootloader nRF Desktop"
4343
CONFIG_USB_DEVICE_VID=0x1915
4444
CONFIG_USB_DEVICE_PID=0x52DF
4545
CONFIG_USB_DEVICE_STACK=y

0 commit comments

Comments
 (0)