-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
xbee: port to gnrc_netif2 #7898
xbee: port to gnrc_netif2 #7898
Conversation
@aabadie, @haukepetersen currently not has the time to test this. Since I know that you also have some xbee shields: Can you test please? |
b0a54ff
to
9e1a5ee
Compare
Rebased to current #7925. |
9e1a5ee
to
14351fc
Compare
Another day a another rebase. |
Will test this morning |
Tried to build the
Tried to build the
|
Fixed |
@@ -9,7 +9,6 @@ BOARD_INSUFFICIENT_MEMORY := nucleo32-f031 nucleo32-f042 nucleo-f030 nucleo-f334 | |||
USEMODULE += xbee | |||
USEMODULE += gnrc_netif | |||
USEMODULE += gnrc_txtsnd | |||
USEMODULE += gnrc_netdev |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Now it builds but ends up after in a kernel panic:
2017-11-14 10:52:17,684 - INFO # 0x3b83
2017-11-14 10:52:17,686 - INFO # *** RIOT kernel panic:
2017-11-14 10:52:17,687 - INFO # FAILED ASSERTION.
2017-11-14 10:52:17,688 - INFO #
2017-11-14 10:52:17,688 - INFO # *** halted.
2017-11-14 10:52:17,689 - INFO #
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That is not a kernel panic, but again a failed assertion. It would be really helpful if you would compile with CFLAGS=-DDEBUG_ASSERT_VERBOSE
, because that would give you file and line of the failed assertion ;-)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have this:
sys/net/gnrc/netif2/gnrc_netif2.c:1075 => 0xbbd
2017-11-14 11:00:41,442 - INFO # *** RIOT kernel panic:
2017-11-14 11:00:41,443 - INFO # FAILED ASSERTION.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
for both driver_xbee
and gnrc_networking
applications
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! Got my hands on an XBee now, will see if I can find the issue
@aabadie last commit should fix it. Tested with |
c4d1057
to
7d94d5d
Compare
Rebased. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested with arduino-zero, works. The Murdock error seems unrelated.
ACK
Ports xbee glue-code to
gnrc_netif2
This PR is part of the network layer remodelling effort: