Contiki-NG
Loading...
Searching...
No Matches
xiao-nrf54l15-def.h
1/*
2 * Copyright (c) 2026, RISE Research Institutes of Sweden AB
3 * All rights reserved.
4 *
5 * Author: Joakim Eriksson <joakim.eriksson@ri.se>
6 *
7 * SPDX-License-Identifier: BSD-3-Clause
8 *
9 * Board definition header for the Seeed Studio XIAO nRF54L15.
10 * Mirrors the structure used by other nRF boards.
11 */
12#ifndef XIAO_NRF54L15_DEF_H_
13#define XIAO_NRF54L15_DEF_H_
14
15#define XIAO_NRF54L15_LED_PORT 2
16#define XIAO_NRF54L15_LED_PIN 0
17
18#define XIAO_NRF54L15_RF_SW_PWR_PORT 2
19#define XIAO_NRF54L15_RF_SW_PWR_PIN 3
20#define XIAO_NRF54L15_RF_SW_SEL_PORT 2
21#define XIAO_NRF54L15_RF_SW_SEL_PIN 5
22
23#define NRF_LED1_PORT XIAO_NRF54L15_LED_PORT
24#define NRF_LED1_PIN XIAO_NRF54L15_LED_PIN
25#define LEDS_CONF_COUNT 1
26#define LEDS_CONF_RED 1
27
28#define XIAO_NRF54L15_BUTTON_PORT 0
29#define XIAO_NRF54L15_BUTTON_PIN 0
30
31#define XIAO_NRF54L15_UART_INSTANCE 20 /* UART20 */
32#define XIAO_NRF54L15_UART_TX_PORT 1
33#define XIAO_NRF54L15_UART_TX_PIN 9
34#define XIAO_NRF54L15_UART_RX_PORT 1
35#define XIAO_NRF54L15_UART_RX_PIN 8
36
37#define NRF_UARTE_INSTANCE_ID XIAO_NRF54L15_UART_INSTANCE
38#define NRF_UARTE_TX_PORT XIAO_NRF54L15_UART_TX_PORT
39#define NRF_UARTE_TX_PIN XIAO_NRF54L15_UART_TX_PIN
40#define NRF_UARTE_RX_PORT XIAO_NRF54L15_UART_RX_PORT
41#define NRF_UARTE_RX_PIN XIAO_NRF54L15_UART_RX_PIN
42
43#endif /* XIAO_NRF54L15_DEF_H_ */