Skip to content

Commit 76ab0cf

Browse files
nmplutaNatalia Pluta
authored andcommitted
app: boards: add support for sample application on nRF9160 DK
Added device tree overlay to support a sample application on the nRF9160 DK. This includes defining an example sensor and a blink LED. Updated sample.yaml to include nRF9160 DK in the integration platforms for testing purposes. Closes: #1 Signed-off-by: Natalia Pluta <pluta.natalia.m@gmail.com>
1 parent 773babe commit 76ab0cf

2 files changed

Lines changed: 18 additions & 0 deletions

File tree

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
/*
2+
* Copyright (c) 2025 Natalia Pluta
3+
* SPDX-License-Identifier: Apache-2.0
4+
*/
5+
6+
/ {
7+
example_sensor: example-sensor {
8+
compatible = "zephyr,example-sensor";
9+
input-gpios = <&gpio0 11 (GPIO_PULL_UP | GPIO_ACTIVE_LOW)>;
10+
};
11+
12+
blink_led: blink-led {
13+
compatible = "blink-gpio-led";
14+
led-gpios = <&gpio0 5 GPIO_ACTIVE_HIGH>; // Green LED 4 on the nRF9160 DK
15+
blink-period-ms = <1000>;
16+
};
17+
};

app/sample.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ common:
1010
integration_platforms:
1111
- custom_plank
1212
- nrf54l15dk/nrf54l15/cpuapp
13+
- nrf9160dk/nrf9160
1314
tests:
1415
app.default: {}
1516
app.debug:

0 commit comments

Comments
 (0)