Skip to content

Commit 55124a9

Browse files
committed
nrfx: samples: add support for nRF54L15
- Added support for the nRF54L15 DK to all existing samples except for the RNG sample. - Added sample for the CRACEN driver. - Divided existing loopback definitions in `common/nrfx_example.h` into individual header files for each board in `common/boards`. - Moved pin definitions from individual samples to board header files in `common/boards`. Signed-off-by: Michał Bainczyk <[email protected]>
1 parent 54f33f1 commit 55124a9

File tree

200 files changed

+2164
-610
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

200 files changed

+2164
-610
lines changed

nrfx/samples/CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,15 @@
11
# Changelog
22
All notable changes to this project are documented in this file.
33

4+
## [3.14.0] - 2025-08-22
5+
### Added
6+
- Added support for the nRF54L15 DK to all existing samples except for the RNG sample.
7+
- Added sample for the CRACEN driver.
8+
9+
### Changed
10+
- Divided existing loopback definitions in `common/nrfx_example.h` into individual header files for each board in `common/boards`.
11+
- Moved pin definitions from individual samples to board header files in `common/boards`.
12+
413
## [3.8.0] - 2024-10-17
514
### Changed
615
- Aligned Kconfig definitions to DPPIC multi-instance support in the GPPI and SAADC driver samples.

nrfx/samples/README.md

Lines changed: 93 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,93 @@
1+
## Introduction and configuration
2+
3+
This repository contains sample applications showing the usage examples of the [nrfx drivers] within [Zephyr RTOS].
4+
5+
## Installation
6+
7+
1. Set up Zephyr by following [Getting started] guide.
8+
9+
> Always activate the virtual environment with previously installed `west` and set up `Zephyr`.
10+
11+
## Requirements
12+
13+
Samples support the following development kits:
14+
15+
| **Hardware platforms** | **Board name** | **Build target** |
16+
| ------------------------ | ------------------------- | ------------------------------- |
17+
| nR52 DK | nrf52dk_nrf52832 | `nrf52dk_nrf52832` |
18+
| nRF52833 DK | nrf52833dk_nrf52833 | `nrf52833dk_nrf52833` |
19+
| nRF52840 DK | nrf52840dk_nrf52840 | `nrf52840dk_nrf52840` |
20+
| nRF5340 DK | nrf5340dk_nrf5340 | `nrf5340dk_nrf5340_cpuapp` |
21+
| nRF5340 DK | nrf5340dk_nrf5340 | `nrf5340dk_nrf5340_cpunet` |
22+
| nRF54L15 DK | nrf54l15dk_nrf54l15 | `nrf54l15dk_nrf54l15_cpuapp` |
23+
| nRF9160 DK | nrf9160dk_nrf9160 | `nrf9160dk_nrf9160` |
24+
25+
## Wiring
26+
27+
Samples use a unified system of pins assignment.
28+
Refer to their definitnions in `common/nrfx_example.h`.
29+
By default, pins are connected through different boards as follows:
30+
31+
| **Board name** | **1A** | **1B** | **2A** | **2B** | **3A** | **3B** | **4A** | **4B** |
32+
|--------------------- | ------ | -------- | ------- | ------ | ------ | ------ | ------ | ------ |
33+
| nrf52dk_nrf52832 | P0.03 | P0.31 | P0.04 | P0.30 | P0.28 | P0.29 | P0.26 | P0.27 |
34+
| nrf52833dk_nrf52833 | P0.03 | P0.31 | P0.04 | P0.30 | P0.28 | P0.29 | P0.26 | P0.27 |
35+
| nrf52840dk_nrf52840 | P0.03 | P0.31 | P0.04 | P0.30 | P0.28 | P0.29 | P0.26 | P0.27 |
36+
| nrf5340dk_nrf5340 | P0.04 | P0.26 | P0.05 | P0.25 | P0.06 | P0.07 | P1.02 | P1.03 |
37+
| nrf54l15dk_nrf54l15 | P1.13 | P1.12 | P1.11 | P1.10 | P1.09 | P1.08 | P2.06 | P1.04 |
38+
| nrf9160dk_nrf9160 | P0.14 | P0.19 | P0.15 | P0.18 | P0.16 | P0.17 | P0.30 | P0.31 |
39+
40+
> If a specific sample is using some loopback pins, their corresponding pins should be connected together.
41+
> For example, `LOOPBACK_PIN_1A` should be connected with `LOOPBACK_PIN_1B` and `LOOPBACK_PIN_2A` with `LOOPBACK_PIN_2B`.
42+
43+
@anchor building_and_running
44+
## Building and running
45+
46+
1. Change the directory in `zephyrproject-rtos` repository to one of the samples:
47+
```
48+
cd modules/hal/nordic/nrfx/samples/src/nrfx_timer/timer/
49+
```
50+
2. Build the sample with the `west` on one of the supported boards.
51+
```
52+
west build -b <BOARD>
53+
```
54+
3. Flash the application on the connected target.
55+
```
56+
west flash
57+
```
58+
4. Configure a serial monitor to recognize the port connection with the following parameters:
59+
- 115200 baud rate,
60+
- 8 data bits,
61+
- no parity bit,
62+
- 1 stop bit,
63+
- RTS/CTS flow control.
64+
## Directories
65+
66+
```
67+
.
68+
├── common # Various boards and examples common files
69+
├── doc # Project documentation files
70+
└── src # Examples base
71+
├── nrfx_cracen # Examples related to CRACEN peripheral
72+
├── nrfx_egu # Examples related to EGU peripheral
73+
├── nrfx_gppi # Examples related to GPPI helper
74+
├── nrfx_pwm # Examples related to PWM peripheral
75+
├── nrfx_rng # Examples related to RNG peripheral
76+
.
77+
.
78+
.
79+
```
80+
81+
@cond DOXYGEN_EXCLUDE
82+
## Generating documentation
83+
84+
Documentation for the samples is available in the `doc/html` folder.
85+
For more details refer to [Documentation].
86+
@endcond
87+
88+
[//]: #
89+
[nrfx drivers]: https://infocenter.nordicsemi.com/topic/struct_drivers/struct/nrfx_latest.html
90+
[Zephyr RTOS]: https://docs.zephyrproject.org/latest/index.html
91+
[Getting started]: https://docs.zephyrproject.org/latest/develop/getting_started/index.html
92+
[Documentation]: doc/README.md
93+
Lines changed: 143 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,143 @@
1+
#ifndef NRF52833DK_NRF52833_CONFIG_H__
2+
#define NRF52833DK_NRF52833_CONFIG_H__
3+
4+
#define LOOPBACK_PIN_1A 3
5+
#define LOOPBACK_PIN_1B 31
6+
#define LOOPBACK_PIN_2A 4
7+
#define LOOPBACK_PIN_2B 30
8+
#define LOOPBACK_PIN_3A 28
9+
#define LOOPBACK_PIN_3B 29
10+
#define LOOPBACK_PIN_4A 26
11+
#define LOOPBACK_PIN_4B 27
12+
13+
#define LED1_PIN 13
14+
#define LED2_PIN 14
15+
#define LED3_PIN 15
16+
#define LED4_PIN 16
17+
18+
/** @brief Symbol specifying analog input associated with analog pin A0 on the Development Kit. */
19+
#define ANALOG_INPUT_A0 1
20+
/** @brief Symbol specifying analog input associated with analog pin A1 on the Development Kit. */
21+
#define ANALOG_INPUT_A1 2
22+
/** @brief Symbol specifying analog input associated with analog pin A2 on the Development Kit. */
23+
#define ANALOG_INPUT_A2 4
24+
25+
/* EXAMPLE-SPECIFIC DEFINES: */
26+
27+
/* NRFX_EGU */
28+
/** @brief Symbol specifying EGU instance to be used in the nrfx_egu example. */
29+
#define EGU_INST_IDX 0
30+
31+
/* NRFX_GPPI */
32+
/** @brief Symbol specifying TIMER instance to be used in the nrfx_gppi examples. */
33+
#define GPPI_TIMER_INST_IDX 0
34+
35+
/** @brief Symbol specifying GPIOTE instance to be used in the nrfx_gppi examples. */
36+
#define GPPI_GPIOTE_INST_IDX 0
37+
38+
/** @brief Symbol specifying output pin associated with primary task in the nrfx_gppi examples. */
39+
#define GPPI_OUTPUT_PIN_PRIMARY LED1_PIN
40+
41+
/** @brief Symbol specifying output pin associated with fork task in the nrfx_gppi examples. */
42+
#define GPPI_OUTPUT_PIN_FORK LED2_PIN
43+
44+
/* NRFX_PWM */
45+
/** @brief Symbol specifying PWM instance to be used in the nrfx_pwm examples. */
46+
#define PWM_INST_IDX 0
47+
48+
/** @brief Symbol specifying a pin connected to LED to be used in the nrfx_pwm examples. */
49+
#define PWM_LED1_PIN LED1_PIN
50+
/** @brief Symbol specifying a pin connected to LED to be used in the nrfx_pwm examples. */
51+
#define PWM_LED2_PIN LED2_PIN
52+
/** @brief Symbol specifying a pin connected to LED to be used in the nrfx_pwm examples. */
53+
#define PWM_LED3_PIN LED3_PIN
54+
/** @brief Symbol specifying a pin connected to LED to be used in the nrfx_pwm examples. */
55+
#define PWM_LED4_PIN LED4_PIN
56+
57+
/* NRFX_SAADC */
58+
/** @brief Symbol specifying GPIOTE instance to be used in the nrfx_saadc examples. */
59+
#define SAADC_GPIOTE_INST_IDX 0
60+
61+
/** @brief Symbol specifying timer instance to be used in the nrfx_saadc examples. */
62+
#define SAADC_TIMER_INST_IDX 0
63+
/**
64+
* @brief Symbol specifying the maximum number of SAADC channels that can be used in the
65+
* nrfx_saadc examples.
66+
*/
67+
#define SAADC_MAX_CHANNELS 3
68+
69+
/** @brief Symbol specifying analog input to be observed by SAADC channel 0 in the nrfx_saadc examples. */
70+
#define SAADC_CH0_AIN ANALOG_INPUT_TO_SAADC_AIN(ANALOG_INPUT_A0)
71+
/** @brief Symbol specifying analog input to be observed by SAADC channel 1 in the nrfx_saadc examples. */
72+
#define SAADC_CH1_AIN ANALOG_INPUT_TO_SAADC_AIN(ANALOG_INPUT_A1)
73+
/** @brief Symbol specifying analog input to be observed by SAADC channel 2 in the nrfx_saadc examples. */
74+
#define SAADC_CH2_AIN ANALOG_INPUT_TO_SAADC_AIN(ANALOG_INPUT_A2)
75+
76+
/** @brief Symbol specifying GPIO pin connected to SAADC channel 0 in the nrfx_saadc examples. */
77+
#define SAADC_CH0_LOOPBACK_PIN LOOPBACK_PIN_1B
78+
/** @brief Symbol specifying GPIO pin connected to SAADC channel 1 in the nrfx_saadc examples. */
79+
#define SAADC_CH1_LOOPBACK_PIN LOOPBACK_PIN_2B
80+
/** @brief Symbol specifying GPIO pin connected to SAADC channel 2 in the nrfx_saadc examples. */
81+
#define SAADC_CH2_LOOPBACK_PIN LOOPBACK_PIN_3B
82+
83+
/* NRFX_SPIM */
84+
/** @brief Symbol specifying SPIM instance to be used in nrfx_spim examples. */
85+
#define SPIM_INST_IDX 1
86+
87+
/* NRFX_SPIM_SPIS */
88+
/** @brief Symbol specifying SPIM instance to be used in nrfx_spim_spis examples. */
89+
#define SPIM_SPIS_SPIM_INST_IDX 1
90+
/** @brief Symbol specifying SPIS instance to be used in nrfx_spim_spis examples. */
91+
#define SPIM_SPIS_SPIS_INST_IDX 2
92+
93+
/** @brief Symbol specifying master's pin number for MOSI in nrfx_spim_spis examples. */
94+
#define SPIM_SPIS_MOSI_PIN_MASTER LOOPBACK_PIN_1A
95+
/** @brief Symbol specifying slave's pin number for MOSI in nrfx_spim_spis examples. */
96+
#define SPIM_SPIS_MOSI_PIN_SLAVE LOOPBACK_PIN_1B
97+
/** @brief Symbol specifying master's pin number for MISO in nrfx_spim_spis examples. */
98+
#define SPIM_SPIS_MISO_PIN_MASTER LOOPBACK_PIN_2A
99+
/** @brief Symbol specifying slave's pin number for MISO in nrfx_spim_spis examples. */
100+
#define SPIM_SPIS_MISO_PIN_SLAVE LOOPBACK_PIN_2B
101+
/** @brief Symbol specifying master's pin number for SCK in nrfx_spim_spis examples. */
102+
#define SPIM_SPIS_SCK_PIN_MASTER LOOPBACK_PIN_3A
103+
/** @brief Symbol specifying slave's pin number for SCK in nrfx_spim_spis examples. */
104+
#define SPIM_SPIS_SCK_PIN_SLAVE LOOPBACK_PIN_3B
105+
/** @brief Symbol specifying master's pin number for SS in nrfx_spim_spis examples. */
106+
#define SPIM_SPIS_SS_PIN_MASTER LOOPBACK_PIN_4A
107+
/** @brief Symbol specifying slave's pin number for CSN in nrfx_spim_spis examples. */
108+
#define SPIM_SPIS_CSN_PIN_SLAVE LOOPBACK_PIN_4B
109+
110+
/* NRFX_TIMER */
111+
/** @brief Symbol specifying timer instance to be used in nrfx_timer/timer example. */
112+
#define TIMER_INST_IDX 0
113+
114+
/** @brief Symbol specifying timer instance to be used in timer mode (T) in nrfx_timer/counter example. */
115+
#define TIMER_T_INST_IDX 0
116+
/** @brief Symbol specifying timer instance to be used in counter mode (C) in nrfx_timer/counter example. */
117+
#define TIMER_C_INST_IDX 1
118+
119+
/* NRFX_TWIM_TWIS */
120+
/** @brief Symbol specifying TWIM instance to be used in nrfx_twim_twis examples. */
121+
#define TWIM_INST_IDX 0
122+
/** @brief Symbol specifying TWIS instance to be used in nrfx_twim_twis examples. */
123+
#define TWIS_INST_IDX 1
124+
125+
/** @brief Symbol specifying pin number of master SCL to be used in nrfx_twim_twis examples. */
126+
#define TWIM_TWIS_MASTER_SCL_PIN LOOPBACK_PIN_1A
127+
/** @brief Symbol specifying pin number of slave SCL to be used in nrfx_twim_twis examples. */
128+
#define TWIM_TWIS_SLAVE_SCL_PIN LOOPBACK_PIN_1B
129+
/** @brief Symbol specifying pin number of master SDA to be used in nrfx_twim_twis examples. */
130+
#define TWIM_TWIS_MASTER_SDA_PIN LOOPBACK_PIN_2A
131+
/** @brief Symbol specifying pin number of slave SDA to be used in nrfx_twim_twis examples. */
132+
#define TWIM_TWIS_SLAVE_SDA_PIN LOOPBACK_PIN_2B
133+
134+
/* NRFX_UARTE */
135+
/** @brief Symbol specifying UARTE instance to be used in nrfx_uarte examples. */
136+
#define UARTE_INST_IDX 1
137+
138+
/** @brief Symbol specifying TX pin number of UARTE to be used in nrfx_uarte examples. */
139+
#define UARTE_TX_PIN LOOPBACK_PIN_1A
140+
/** @brief Symbol specifying RX pin number of UARTE to be used in nrfx_uarte examples. */
141+
#define UARTE_RX_PIN LOOPBACK_PIN_1B
142+
143+
#endif // NRF52833DK_NRF52833_CONFIG_H__
Lines changed: 143 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,143 @@
1+
#ifndef NRF52840DK_NRF52840_CONFIG_H__
2+
#define NRF52840DK_NRF52840_CONFIG_H__
3+
4+
#define LOOPBACK_PIN_1A 3
5+
#define LOOPBACK_PIN_1B 31
6+
#define LOOPBACK_PIN_2A 4
7+
#define LOOPBACK_PIN_2B 30
8+
#define LOOPBACK_PIN_3A 28
9+
#define LOOPBACK_PIN_3B 29
10+
#define LOOPBACK_PIN_4A 26
11+
#define LOOPBACK_PIN_4B 27
12+
13+
#define LED1_PIN 13
14+
#define LED2_PIN 14
15+
#define LED3_PIN 15
16+
#define LED4_PIN 16
17+
18+
/** @brief Symbol specifying analog input associated with analog pin A0 on the Development Kit. */
19+
#define ANALOG_INPUT_A0 1
20+
/** @brief Symbol specifying analog input associated with analog pin A1 on the Development Kit. */
21+
#define ANALOG_INPUT_A1 2
22+
/** @brief Symbol specifying analog input associated with analog pin A2 on the Development Kit. */
23+
#define ANALOG_INPUT_A2 4
24+
25+
/* EXAMPLE-SPECIFIC DEFINES: */
26+
27+
/* NRFX_EGU */
28+
/** @brief Symbol specifying EGU instance to be used in the nrfx_egu example. */
29+
#define EGU_INST_IDX 0
30+
31+
/* NRFX_GPPI */
32+
/** @brief Symbol specifying TIMER instance to be used in the nrfx_gppi examples. */
33+
#define GPPI_TIMER_INST_IDX 0
34+
35+
/** @brief Symbol specifying GPIOTE instance to be used in the nrfx_gppi examples. */
36+
#define GPPI_GPIOTE_INST_IDX 0
37+
38+
/** @brief Symbol specifying output pin associated with primary task in the nrfx_gppi examples. */
39+
#define GPPI_OUTPUT_PIN_PRIMARY LED1_PIN
40+
41+
/** @brief Symbol specifying output pin associated with fork task in the nrfx_gppi examples. */
42+
#define GPPI_OUTPUT_PIN_FORK LED2_PIN
43+
44+
/* NRFX_PWM */
45+
/** @brief Symbol specifying PWM instance to be used in the nrfx_pwm examples. */
46+
#define PWM_INST_IDX 0
47+
48+
/** @brief Symbol specifying a pin connected to LED to be used in the nrfx_pwm examples. */
49+
#define PWM_LED1_PIN LED1_PIN
50+
/** @brief Symbol specifying a pin connected to LED to be used in the nrfx_pwm examples. */
51+
#define PWM_LED2_PIN LED2_PIN
52+
/** @brief Symbol specifying a pin connected to LED to be used in the nrfx_pwm examples. */
53+
#define PWM_LED3_PIN LED3_PIN
54+
/** @brief Symbol specifying a pin connected to LED to be used in the nrfx_pwm examples. */
55+
#define PWM_LED4_PIN LED4_PIN
56+
57+
/* NRFX_SAADC */
58+
/** @brief Symbol specifying GPIOTE instance to be used in the nrfx_saadc examples. */
59+
#define SAADC_GPIOTE_INST_IDX 0
60+
61+
/** @brief Symbol specifying timer instance to be used in the nrfx_saadc examples. */
62+
#define SAADC_TIMER_INST_IDX 0
63+
/**
64+
* @brief Symbol specifying the maximum number of SAADC channels that can be used in the
65+
* nrfx_saadc examples.
66+
*/
67+
#define SAADC_MAX_CHANNELS 3
68+
69+
/** @brief Symbol specifying analog input to be observed by SAADC channel 0 in the nrfx_saadc examples. */
70+
#define SAADC_CH0_AIN ANALOG_INPUT_TO_SAADC_AIN(ANALOG_INPUT_A0)
71+
/** @brief Symbol specifying analog input to be observed by SAADC channel 1 in the nrfx_saadc examples. */
72+
#define SAADC_CH1_AIN ANALOG_INPUT_TO_SAADC_AIN(ANALOG_INPUT_A1)
73+
/** @brief Symbol specifying analog input to be observed by SAADC channel 2 in the nrfx_saadc examples. */
74+
#define SAADC_CH2_AIN ANALOG_INPUT_TO_SAADC_AIN(ANALOG_INPUT_A2)
75+
76+
/** @brief Symbol specifying GPIO pin connected to SAADC channel 0 in the nrfx_saadc examples. */
77+
#define SAADC_CH0_LOOPBACK_PIN LOOPBACK_PIN_1B
78+
/** @brief Symbol specifying GPIO pin connected to SAADC channel 1 in the nrfx_saadc examples. */
79+
#define SAADC_CH1_LOOPBACK_PIN LOOPBACK_PIN_2B
80+
/** @brief Symbol specifying GPIO pin connected to SAADC channel 2 in the nrfx_saadc examples. */
81+
#define SAADC_CH2_LOOPBACK_PIN LOOPBACK_PIN_3B
82+
83+
/* NRFX_SPIM */
84+
/** @brief Symbol specifying SPIM instance to be used in nrfx_spim examples. */
85+
#define SPIM_INST_IDX 1
86+
87+
/* NRFX_SPIM_SPIS */
88+
/** @brief Symbol specifying SPIM instance to be used in nrfx_spim_spis examples. */
89+
#define SPIM_SPIS_SPIM_INST_IDX 1
90+
/** @brief Symbol specifying SPIS instance to be used in nrfx_spim_spis examples. */
91+
#define SPIM_SPIS_SPIS_INST_IDX 2
92+
93+
/** @brief Symbol specifying master's pin number for MOSI in nrfx_spim_spis examples. */
94+
#define SPIM_SPIS_MOSI_PIN_MASTER LOOPBACK_PIN_1A
95+
/** @brief Symbol specifying slave's pin number for MOSI in nrfx_spim_spis examples. */
96+
#define SPIM_SPIS_MOSI_PIN_SLAVE LOOPBACK_PIN_1B
97+
/** @brief Symbol specifying master's pin number for MISO in nrfx_spim_spis examples. */
98+
#define SPIM_SPIS_MISO_PIN_MASTER LOOPBACK_PIN_2A
99+
/** @brief Symbol specifying slave's pin number for MISO in nrfx_spim_spis examples. */
100+
#define SPIM_SPIS_MISO_PIN_SLAVE LOOPBACK_PIN_2B
101+
/** @brief Symbol specifying master's pin number for SCK in nrfx_spim_spis examples. */
102+
#define SPIM_SPIS_SCK_PIN_MASTER LOOPBACK_PIN_3A
103+
/** @brief Symbol specifying slave's pin number for SCK in nrfx_spim_spis examples. */
104+
#define SPIM_SPIS_SCK_PIN_SLAVE LOOPBACK_PIN_3B
105+
/** @brief Symbol specifying master's pin number for SS in nrfx_spim_spis examples. */
106+
#define SPIM_SPIS_SS_PIN_MASTER LOOPBACK_PIN_4A
107+
/** @brief Symbol specifying slave's pin number for CSN in nrfx_spim_spis examples. */
108+
#define SPIM_SPIS_CSN_PIN_SLAVE LOOPBACK_PIN_4B
109+
110+
/* NRFX_TIMER */
111+
/** @brief Symbol specifying timer instance to be used in nrfx_timer/timer example. */
112+
#define TIMER_INST_IDX 0
113+
114+
/** @brief Symbol specifying timer instance to be used in timer mode (T) in nrfx_timer/counter example. */
115+
#define TIMER_T_INST_IDX 0
116+
/** @brief Symbol specifying timer instance to be used in counter mode (C) in nrfx_timer/counter example. */
117+
#define TIMER_C_INST_IDX 1
118+
119+
/* NRFX_TWIM_TWIS */
120+
/** @brief Symbol specifying TWIM instance to be used in nrfx_twim_twis examples. */
121+
#define TWIM_INST_IDX 0
122+
/** @brief Symbol specifying TWIS instance to be used in nrfx_twim_twis examples. */
123+
#define TWIS_INST_IDX 1
124+
125+
/** @brief Symbol specifying pin number of master SCL to be used in nrfx_twim_twis examples. */
126+
#define TWIM_TWIS_MASTER_SCL_PIN LOOPBACK_PIN_1A
127+
/** @brief Symbol specifying pin number of slave SCL to be used in nrfx_twim_twis examples. */
128+
#define TWIM_TWIS_SLAVE_SCL_PIN LOOPBACK_PIN_1B
129+
/** @brief Symbol specifying pin number of master SDA to be used in nrfx_twim_twis examples. */
130+
#define TWIM_TWIS_MASTER_SDA_PIN LOOPBACK_PIN_2A
131+
/** @brief Symbol specifying pin number of slave SDA to be used in nrfx_twim_twis examples. */
132+
#define TWIM_TWIS_SLAVE_SDA_PIN LOOPBACK_PIN_2B
133+
134+
/* NRFX_UARTE */
135+
/** @brief Symbol specifying UARTE instance to be used in nrfx_uarte examples. */
136+
#define UARTE_INST_IDX 1
137+
138+
/** @brief Symbol specifying TX pin number of UARTE to be used in nrfx_uarte examples. */
139+
#define UARTE_TX_PIN LOOPBACK_PIN_1A
140+
/** @brief Symbol specifying RX pin number of UARTE to be used in nrfx_uarte examples. */
141+
#define UARTE_RX_PIN LOOPBACK_PIN_1B
142+
143+
#endif // NRF52840DK_NRF52840_CONFIG_H__

0 commit comments

Comments
 (0)