-
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
mips: Correct usage of USEMODULE #8360
mips: Correct usage of USEMODULE #8360
Conversation
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, just a very minor thing my IDE and GitHub complained about. Otherwise this looks good to merge.
@@ -5,5 +5,4 @@ export INCLUDES += -I$(RIOTCPU)/mips_pic32_common/include | |||
USEMODULE += mips_pic32_common | |||
USEMODULE += mips_pic32_common_periph | |||
|
|||
USEMODULE += periph_common | |||
USEMODULE += periph_hwrng | |||
USEMODULE += periph_common |
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.
please add missing new line here
Looks good to me too. I did not tested has I have no boards, just reviewed the changes. I would just like an addition in the commit message to mention that before I added a temporary PR to run murdock and verify it makes #8227 build correctly (Build passed https://ci.riot-os.org/RIOT-OS/RIOT/8361/7a510c9a6f68b2b0b743da4f0f588637ccd17499/output.html). |
In CPU definitions we should not be explicilty naming peripheral modules to use via USEMODULE (one should use FEATURES_PROVIDED instead). Plus add missing cpu_init() and periph_init() methods. This commit removes periph_hwrng support from the pic32mx cpu builds as pic32mx does not have hwrng only pic32mz does.
794dba2
to
e297a71
Compare
In CPU definitions we should not be explicitly naming peripheral modules to use
via USEMODULE (one should use FEATURES_PROVIDED instead).
Plus add missing cpu_init() and periph_init() methods.
This addresses some issues in #8052