Contiki-NG
Loading...
Searching...
No Matches
contiki-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 * Top-level Contiki-NG configuration for the nRF54L15 platform.
10 */
11#ifndef CONTIKI_CONF_H
12#define CONTIKI_CONF_H
13
14#include <stdint.h>
15#include <inttypes.h>
16
17/* Project-specific overrides */
18#ifdef PROJECT_CONF_PATH
19#include PROJECT_CONF_PATH
20#endif /* PROJECT_CONF_PATH */
21
22/* Common nRF definitions */
23#include "nrf-def.h"
24
25/* Board specific configuration */
26#ifdef BOARD_CONF_PATH
27#include BOARD_CONF_PATH
28#else
29#error "BOARD_CONF_PATH undefined"
30#endif /* BOARD_CONF_PATH */
31
32/* Board specific defines */
33#ifdef BOARD_DEF_PATH
34#include BOARD_DEF_PATH
35#else
36#error "BOARD_DEF_PATH undefined"
37#endif /* BOARD_DEF_PATH */
38
39/* CPU group configuration */
40#include "nrf-conf.h"
41
42#ifndef CLOCK_CONF_LFCLK_SRC_IS_RC
43#define CLOCK_CONF_LFCLK_SRC_IS_RC 1
44#endif
45
46#ifndef CLOCK_CONF_LFCLK_SRC_IS_XTAL
47#define CLOCK_CONF_LFCLK_SRC_IS_XTAL 0
48#endif
49
50#endif /* CONTIKI_CONF_H */
Header with configuration defines common to all nrf platforms.
Header with defines common to all nrf platforms.