-
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
drivers/mrf24j40: Expose configurations to Kconfig #13314
drivers/mrf24j40: Expose configurations to Kconfig #13314
Conversation
4646fc2
to
bb56b50
Compare
@jia200x @bergzand @fjmolinas any feedback to converge this? |
ok, I tested both configuration options:
The examples still compile fine, so I would say this PR is in shape |
@leandrolanzieri please squash |
MRF24J40_TEST_SPI_CONNECTION is moved to the 'CONFIG_' namespace and by default is not set. Now it is checked in code using 'IS_ACTIVE'.
MRF24J40_USE_EXT_PA_LNA is moved to the 'CONFIG_' namespace and by default is not set. Now it is checked in code using 'IS_ACTIVE'.
For the mrf24j40 check if Kconfig is being used before setting the configuration CFLAG.
e185f41
to
6e49724
Compare
@jia200x squashed |
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.
It looks good to me. ACK
let's wait for Murdock and travis |
all right, let's go! |
Contribution description
This PR exposes the configurations of the
mrf24j40
radio driver to Kconfig. The usage of the options were modified to match the behaviour of Kconfig, soIS_ACTIVE
is being used now.I am setting
MRF24J40_USE_EXT_PA_LNA
to default y because that's the observed behaviour fromdrivers/Makefile.dep
.Testing procedure
gnrc_networking
and using somemrf24j40
module should be working.mrj24j40ma
is usedMRF24J40_USE_EXT_PA_LNA
is not available.Issues/PRs references
Part of #12888