1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
19339: gnrc_netif: set lower bound for IEEE802154_STACKSIZE_DEFAULT r=maribu a=benpicco




Co-authored-by: Benjamin Valentin <benjamin.valentin@ml-pa.com>
This commit is contained in:
bors[bot] 2023-03-02 07:02:53 +00:00 committed by GitHub
commit a290d21aba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -22,6 +22,7 @@
#include "thread.h"
#include "msg.h"
#include "net/gnrc/netif/conf.h" /* <- GNRC_NETIF_MSG_QUEUE_SIZE */
#include "macros/utils.h"
#ifdef __cplusplus
extern "C" {
@ -53,7 +54,7 @@ extern "C" {
/**
* @brief stack size of an ieee802154 device
*/
#define IEEE802154_STACKSIZE_DEFAULT (GNRC_NETIF_STACKSIZE_DEFAULT + \
#define IEEE802154_STACKSIZE_DEFAULT (MAX(520, GNRC_NETIF_STACKSIZE_DEFAULT) + \
IEEE802154_SECURITY_EXTRA_STACKSIZE)
#endif