-
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/ieee802154_hal: extend radio hal test #16591
Conversation
6567ce9
to
28e7df7
Compare
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.
First thing I noticed was you should revert all the printf("something\n") back to
puts("something"), less changes are better.
The RIOTCTRL
flag is a bit questionable to me but probably OK for now. Any test is better than no test.
I will have to try it out later on.
Ran the test with the release specs PR and things pass:
|
Lets just see what the CI says? |
CI seems to be happy |
static-tests is not so happy though |
ping @jia200x @LarsKowoll |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If you want me to ignore this issue, please mark it with the "State: don't stale" label. Thank you for your contributions. |
Refers to #15761, because it was hard to rebase
Contribution description
Testing procedure
There is a automated test in riotctrl. RIOT-OS/Release-Specs#222
It can be called in Release-Specs via
tox -- -k "spec12" --non-RC --local
Currently there a three test:
All tests pass.
For manual testing you need two boards and flash it with tests/ieee802154_hal
Usage of the function spam:
Call spam on board with the parameters
If you call spam with the parameters
spam <address_board2> 5 3 1
The device will send a packet to device2 every 1 ms with a payload of 3 Chars in total 5 packets will be send.
You can set device2 in reply mode, means it will sends every packet back he receives, by calling the function reply. Just make sure to be easy on the delay otherwise the radio won't be able to handle this.
Issues/PRs references
None