Toggle navigation
Documentation
The friendly Operating System for the Internet of Things
init_devs.h
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2020 Otto-von-Guericke-Universität Magdeburg
3
*
4
* This file is subject to the terms and conditions of the GNU Lesser
5
* General Public License v2.1. See the file LICENSE in the top level
6
* directory for more details.
7
*/
8
9
#pragma once
10
21
#include "thread.h"
22
#include "msg.h"
23
#include "
net/gnrc/netif/conf.h
"
/* <- GNRC_NETIF_MSG_QUEUE_SIZE */
24
#include "
macros/utils.h
"
25
26
#ifdef __cplusplus
27
extern
"C"
{
28
#endif
29
36
#ifndef GNRC_NETIF_STACKSIZE_DEFAULT
37
#define GNRC_NETIF_STACKSIZE_DEFAULT (THREAD_STACKSIZE_DEFAULT - 128)
38
#endif
39
46
#if IS_USED(MODULE_IEEE802154_SECURITY) || DOXYGEN
47
#define IEEE802154_SECURITY_EXTRA_STACKSIZE (128)
48
#else
49
#define IEEE802154_SECURITY_EXTRA_STACKSIZE (0)
50
#endif
51
55
#if IS_USED(MODULE_OPENDSME)
56
#define IEEE802154_OPENDSME_EXTRA_STACKSIZE (THREAD_STACKSIZE_DEFAULT)
57
#else
58
#define IEEE802154_OPENDSME_EXTRA_STACKSIZE (0)
59
#endif
60
61
#ifndef IEEE802154_STACKSIZE_DEFAULT
65
#define IEEE802154_STACKSIZE_DEFAULT (MAX(520, GNRC_NETIF_STACKSIZE_DEFAULT) + \
66
IEEE802154_SECURITY_EXTRA_STACKSIZE + \
67
IEEE802154_OPENDSME_EXTRA_STACKSIZE)
68
#endif
69
70
#ifdef __cplusplus
71
}
72
#endif
73
utils.h
Various helper macros.
conf.h
Configuration macros for Network interface API.
Generated on Mon Jun 30 2025 18:46:46 by
1.9.1