[riot-notifications] [RIOT-OS/RIOT] pkg/openwsn: re-integrate the network stack as a package (#13824)

Francisco notifications at github.com
Tue May 19 11:10:29 CEST 2020


@fjmolinas commented on this pull request.



> +
+#include "openwsn.h"
+#include "openwsn_board.h"
+#include "openwsn_radio.h"
+
+#ifdef MODULE_AT86RF2XX
+#include "at86rf2xx.h"
+#include "at86rf2xx_params.h"
+#endif
+
+#define LOG_LEVEL LOG_NONE
+#include "log.h"
+
+#define OPENWSN_SCHED_NAME            "openwsn"
+#define OPENWSN_SCHED_PRIO            (THREAD_PRIORITY_MAIN - 4)
+#define OPENWSN_SCHED_STACKSIZE       (2048)

I wanted to be explicit here, `THREAD_STACKSIZE_LARGE` is not always 2048, but in OpenWSN they use 2048 for their stack, so IMO it was safer to force the same amount of stack.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/13824#discussion_r427149603
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20200519/84b4733b/attachment.htm>


More information about the notifications mailing list