-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tests/ieee802154_security: dummy test for CI process
- Loading branch information
Showing
4 changed files
with
78 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
USEMODULE += ieee802154 | ||
USEMODULE += ieee802154_security | ||
USEMODULE += gnrc_netif_ieee802154 | ||
|
||
include ../driver_netdev_common/Makefile.netdev.mk |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
BOARD_INSUFFICIENT_MEMORY := \ | ||
arduino-duemilanove \ | ||
arduino-leonardo \ | ||
arduino-mega2560 \ | ||
arduino-nano \ | ||
arduino-uno \ | ||
atmega328p \ | ||
i-nucleo-lrwan1 \ | ||
nucleo-f030r8 \ | ||
nucleo-f031k6 \ | ||
nucleo-f042k6 \ | ||
nucleo-l011k4 \ | ||
nucleo-l031k6 \ | ||
nucleo-l053r8 \ | ||
nucleo-l552ze-q \ | ||
stk3200 \ | ||
stm32f030f4-demo \ | ||
stm32f0discovery \ | ||
stm32l0538-disco \ | ||
waspmote-pro \ | ||
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
Tests for module `ieee802154_security` | ||
====================================== | ||
|
||
This is just a dummy test application to integrate the | ||
module in the CI process, to check if it compiles. | ||
|
||
TODO: | ||
Write a proper test application which runs on `native` | ||
and uses `socket_zep`. | ||
|
||
|
||
[#15150]: https://github.com/RIOT-OS/RIOT/pull/15150 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
/* | ||
* Copyright (C) 2020 Otto-von-Guericke-Universität Magdeburg | ||
* | ||
* This file is subject to the terms and conditions of the GNU Lesser | ||
* General Public License v2.1. See the file LICENSE in the top level | ||
* directory for more details. | ||
*/ | ||
|
||
/** | ||
* @ingroup tests | ||
* @{ | ||
* | ||
* @file | ||
* @brief Test application for ieee802154_security module | ||
* | ||
* @author Fabian Hüßler <fabian.huessler@ovgu.de> | ||
* @} | ||
*/ | ||
|
||
#include "thread.h" | ||
#include "shell.h" | ||
#include "shell_commands.h" | ||
|
||
#include "net/gnrc/pktdump.h" | ||
#include "net/gnrc.h" | ||
|
||
int main(void) | ||
{ | ||
/* enable pktdump output */ | ||
gnrc_netreg_entry_t dump = GNRC_NETREG_ENTRY_INIT_PID( | ||
GNRC_NETREG_DEMUX_CTX_ALL, gnrc_pktdump_pid); | ||
|
||
gnrc_netreg_register(GNRC_NETTYPE_UNDEF, &dump); | ||
|
||
/* start the shell */ | ||
char line_buf[SHELL_DEFAULT_BUFSIZE]; | ||
shell_run(NULL, line_buf, SHELL_DEFAULT_BUFSIZE); | ||
|
||
return 0; | ||
} |