Contiki-NG
Loading...
Searching...
No Matches
nrf54l15-conf.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 * Minimal configuration header for the nRF54L15 Cortex-M33 application core.
10 *
11 * Mirrors the existing nRF52/nRF53 style so platform code can include a
12 * CPU-specific configuration header if needed. Extend as drivers mature.
13 */
14#ifndef NRF54L15_CONF_H_
15#define NRF54L15_CONF_H_
16
17/* Enable IPv6 networking -- nrf_802154 radio driver is now integrated */
18#ifndef NETSTACK_CONF_WITH_IPV6
19#define NETSTACK_CONF_WITH_IPV6 1
20#endif
21
22#ifndef QUEUEBUF_CONF_NUM
23#define QUEUEBUF_CONF_NUM 4
24#endif
25
26/* GRTC syscounter is 64-bit; rtimer_arch_now() returns the full counter. */
27#ifndef RTIMER_CONF_CLOCK_SIZE
28#define RTIMER_CONF_CLOCK_SIZE 8
29#endif
30
31/* nrf_802154 resolves the unicast ACK in the radio driver, so trust
32 * RADIO_TX_OK as ACKed without doing the software ACK busy-wait. */
33#ifndef CSMA_CONF_USE_RADIO_ACK
34#define CSMA_CONF_USE_RADIO_ACK 1
35#endif
36
37#ifndef LOG_CONF_LEVEL_RADIO
38#define LOG_CONF_LEVEL_RADIO LOG_LEVEL_NONE
39#endif
40
41/* Disable watchdog until properly tested on nRF54L15 */
42#ifndef WATCHDOG_CONF_ENABLE
43#define WATCHDOG_CONF_ENABLE 0
44#endif
45
46/* Enable extended HardFault handler with register dump. */
47#ifndef NRF_CONF_HARDFAULT_HANDLER_EXTENDED
48#define NRF_CONF_HARDFAULT_HANDLER_EXTENDED 1
49#endif
50
51#endif /* NRF54L15_CONF_H_ */