-
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
tests: rework eth drivers #17813
tests: rework eth drivers #17813
Conversation
CI is passing on this one |
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 tried this on my same54-xpro
but I got
main(): This is RIOT! (Version: 2022.04-devel-864-g8bfb6-HEAD)
Test application for SAM0 ethernet peripheral
Device 0 registered (type: 12)
Initialization successful - starting the shell now
> sys/event/event.c:38 => 0x795
*** RIOT kernel panic:
FAILED ASSERTION.
*** halted.
Inside isr 84
Stack pointer corrupted, reset to top of stack
FSR/FAR:
CFSR: 0x00000000
HFSR: 0x80000000
DFSR: 0x00000002
AFSR: 0x00000000
Misc
EXC_RET: 0xfffffff1
when plugged into the local network
I think I figured it out. I don't have your hardware, but in my nucleo boards this was working, because |
@benpicco do you mind giving it another try? |
Thank you! Added your suggestion in 5b0b74c |
Please squash |
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.
Some static checks are failing
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.
The code changes look good to me. Some style nitpicks inline. (Feel free to use better wording for the Doxygen stuff.)
ec83eb9
to
c53fe1f
Compare
I think I have addressed all comments. I squashed and removed the commit that limited the CI |
c53fe1f
to
3790843
Compare
esp8266-esp-12x \ | ||
esp8266-olimex-mod \ | ||
esp8266-sparkfun-thing \ |
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's odd. Maybe the linking issue is not due to memory limitation, but has other causes? If I recall correctly, even the old generation ESPs are pretty well equipped with RAM and flash.
btw: doesn't |
That is IEEE 802.11, not IEEE 802.3. |
Yea but at the interface level we don't differentiate between WiFi and Ethernet yet |
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.
Looks good to me then.
Thanks everyone for the review! |
Contribution description
Split from #17739, but with a difference: instead of using symlinks the common functionality to interact with Ethernet netdev drivers is implemented in its own test_utils module.
Testing procedure
Issues/PRs references
#17739