cpu: efm32: throw error on including rtc and rtt together.#8890
cpu: efm32: throw error on including rtc and rtt together.#8890kaspar030 merged 1 commit intoRIOT-OS:masterfrom
Conversation
|
Maybe just set |
|
I didn't know of that. However, it seems that it doesn't work in combination with |
|
@kaspar030 Any idea? |
I think we need to fix the feature conflict stuff... @cladmi maybe you could take a look? |
|
It would become a minor issue once #8543 gets merged. So this can wait for now. |
|
I think the problem is that the check is using |
|
Yes that's it, I will do a PR. |
|
With #8925 you will be able to use FEATURES_CONFLICT and FEATURES_CONFLICT_MSG to show a warning. They are used for |
9730855 to
bbb0606
Compare
|
I have updated/rebased this PR to use |
cpu: efm32: throw error on including rtc and rtt together.
Contribution description
On the EFM32, RTT and RTC use the same hardware peripheral. It doesn't make sense to include both of them, especially if #8543 gets merged.
This PR will throw an error if you include both the RTT and RTC driver.
To test, create/modify an application which includes both, then verify that it will not build.
Issues/PRs references
#8543