Skip to content

Commit 65ece6a

Browse files
maxd-nordicnordicjm
authored andcommitted
samples: cellular: nrf_cloud_rest: thingy91x support
Add Thingy:91 X support to nRF Cloud REST samples. Signed-off-by: Maximilian Deubel <[email protected]>
1 parent bb4869b commit 65ece6a

File tree

12 files changed

+145
-1
lines changed

12 files changed

+145
-1
lines changed

doc/nrf/releases_and_maturity/releases/release-notes-changelog.rst

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -367,9 +367,18 @@ Cellular samples
367367

368368
* :ref:`nrf_cloud_rest_device_message` sample:
369369

370+
* Added support for the Thingy:91 X.
370371
* Updated the sample to use Zephyr's :ref:`zephyr:conn_mgr_docs` feature.
371372
* Removed Provisioning service and JITP.
372373

374+
* :ref:`nrf_cloud_rest_cell_location` sample:
375+
376+
* Added support for the Thingy:91 X.
377+
378+
* :ref:`nrf_cloud_rest_fota` sample:
379+
380+
* Added support for the Thingy:91 X.
381+
373382
Cryptography samples
374383
--------------------
375384

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
#
2+
# Copyright (c) 2025 Nordic Semiconductor ASA
3+
#
4+
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
5+
#
6+
7+
# Configuration file for Thingy:91 X.
8+
# This file is merged with prj.conf in the application folder, and options
9+
# set here will take precedence if they are present in both files.
10+
11+
# Disable JITP
12+
CONFIG_REST_CELL_LOCATION_DO_JITP=n
13+
# Use UUID as client ID
14+
CONFIG_NRF_CLOUD_CLIENT_ID_SRC_INTERNAL_UUID=y

samples/cellular/nrf_cloud_rest_cell_location/sample.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,12 @@ tests:
88
- nrf9151dk/nrf9151/ns
99
- nrf9160dk/nrf9160/ns
1010
- nrf9161dk/nrf9161/ns
11+
- thingy91x/nrf9151/ns
1112
platform_allow:
1213
- nrf9151dk/nrf9151/ns
1314
- nrf9160dk/nrf9160/ns
1415
- nrf9161dk/nrf9161/ns
16+
- thingy91x/nrf9151/ns
1517
tags:
1618
- ci_build
1719
- sysbuild
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
#
2+
# Copyright (c) 2025 Nordic Semiconductor ASA
3+
#
4+
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
5+
#
6+
7+
# Configuration file for Thingy:91 X.
8+
# This file is merged with prj.conf in the application folder, and options
9+
# set here will take precedence if they are present in both files.
10+
11+
# Use UUID as client ID
12+
CONFIG_NRF_CLOUD_CLIENT_ID_SRC_INTERNAL_UUID=y
13+
14+
# RED LED indicates LTE connection success
15+
CONFIG_REST_DEVICE_MESSAGE_LTE_LED_NUM=0
16+
# GREEN LED indicates successful sending of device message
17+
CONFIG_REST_DEVICE_MESSAGE_SEND_LED_NUM=1
Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
/*
2+
* Copyright (c) 2025 Nordic Semiconductor ASA
3+
*
4+
* SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
5+
*/
6+
7+
/ {
8+
aliases {
9+
/delete-property/ led0;
10+
/delete-property/ led1;
11+
/delete-property/ led2;
12+
};
13+
14+
/delete-node/ leds;
15+
16+
leds0 {
17+
compatible = "gpio-leds";
18+
status = "okay";
19+
label = "LED0";
20+
led0: led_0 {
21+
status = "okay";
22+
gpios = <&gpio0 29 0>;
23+
label = "RGB red channel";
24+
};
25+
};
26+
27+
leds1 {
28+
compatible = "gpio-leds";
29+
status = "okay";
30+
label = "LED1";
31+
led1: led_1 {
32+
gpios = <&gpio0 31 0>;
33+
label = "RGB green channel";
34+
};
35+
};
36+
37+
leds2 {
38+
compatible = "gpio-leds";
39+
status = "okay";
40+
label = "LED2";
41+
led2: led_2 {
42+
gpios = <&gpio0 30 0>;
43+
label = "RGB blue channel";
44+
};
45+
};
46+
};

samples/cellular/nrf_cloud_rest_device_message/include/buttons_def.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,4 @@ static const struct gpio_pin col[] = {};
2121

2222
static const struct gpio_pin row[] = {
2323
{ .port = 0, .pin = DT_GPIO_PIN(DT_NODELABEL(button0), gpios) },
24-
{ .port = 0, .pin = DT_GPIO_PIN(DT_NODELABEL(button1), gpios) },
2524
};

samples/cellular/nrf_cloud_rest_device_message/sample.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,12 @@ tests:
88
- nrf9151dk/nrf9151/ns
99
- nrf9160dk/nrf9160/ns
1010
- nrf9161dk/nrf9161/ns
11+
- thingy91x/nrf9151/ns
1112
platform_allow:
1213
- nrf9151dk/nrf9151/ns
1314
- nrf9160dk/nrf9160/ns
1415
- nrf9161dk/nrf9161/ns
16+
- thingy91x/nrf9151/ns
1517
tags:
1618
- ci_build
1719
- sysbuild
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
#
2+
# Copyright (c) 2025 Nordic Semiconductor ASA
3+
#
4+
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
5+
#
6+
7+
# Configuration file for Thingy:91 X.
8+
# This file is merged with prj.conf in the application folder, and options
9+
# set here will take precedence if they are present in both files.
10+
11+
# Use UUID as client ID
12+
CONFIG_NRF_CLOUD_CLIENT_ID_SRC_INTERNAL_UUID=y
13+
14+
# Enable external flash
15+
CONFIG_SPI_NOR_SFDP_DEVICETREE=y
16+
CONFIG_PM_OVERRIDE_EXTERNAL_DRIVER_CHECK=y
17+
CONFIG_PM_EXTERNAL_FLASH_MCUBOOT_SECONDARY=y
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
/*
2+
* Copyright (c) 2025 Nordic Semiconductor ASA
3+
*
4+
* SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
5+
*/
6+
7+
/ {
8+
aliases {
9+
ext-flash = &flash_ext;
10+
};
11+
};

samples/cellular/nrf_cloud_rest_fota/sample.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,12 @@ tests:
88
- nrf9151dk/nrf9151/ns
99
- nrf9160dk/nrf9160/ns
1010
- nrf9161dk/nrf9161/ns
11+
- thingy91x/nrf9151/ns
1112
platform_allow:
1213
- nrf9151dk/nrf9151/ns
1314
- nrf9160dk/nrf9160/ns
1415
- nrf9161dk/nrf9161/ns
16+
- thingy91x/nrf9151/ns
1517
tags:
1618
- ci_build
1719
- sysbuild

0 commit comments

Comments
 (0)