<blockquote>
<p>What behavior is this supposed to give? I understand the description but do not get what behavior is wanted.</p>
</blockquote>
<p>You are right I didn't present enough of a description. I complemented the PR description accordingly.</p>
<blockquote>
<p>Because if a board provides both puf_sram and periph_hwrng they will be both included.<br>
Where before, if you defined USEMODULE += puf_sram in your application you would not have periph_hwrng (note that it is an ifeq(,$(filter puf_sram,$(USEMODULE)) so gets inside when the module is not here to handle default behavior)</p>
</blockquote>
<p>You are right. I changed this because even though the code gets built it wont end up in the compiled fw, since the initialization for <code>random_init</code> prioritizes it over <code>puf_sram</code>.</p>
<p>I could revert that specific change and remove <code>periph_hwrng</code> from <code>USEMODULE</code> if <code>puf_sram</code> and <code>random</code> are present in <code>USE_MODULE</code>, would that be ok? Would you suggest a cleaner way?</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/RIOT-OS/RIOT/pull/12166?email_source=notifications&email_token=ABE7WYFJU2MDDKVB4YUDIITQIEEANA5CNFSM4ITOJAQ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD57EVVA#issuecomment-528370388">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABE7WYDOR3GSZGTHYZWJ2JTQIEEANANCNFSM4ITOJAQQ">mute the thread</a>.<img src="https://github.com/notifications/beacon/ABE7WYDFGBEE7G3GUGDJSXLQIEEANA5CNFSM4ITOJAQ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD57EVVA.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/RIOT-OS/RIOT/pull/12166?email_source=notifications\u0026email_token=ABE7WYFJU2MDDKVB4YUDIITQIEEANA5CNFSM4ITOJAQ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD57EVVA#issuecomment-528370388",
"url": "https://github.com/RIOT-OS/RIOT/pull/12166?email_source=notifications\u0026email_token=ABE7WYFJU2MDDKVB4YUDIITQIEEANA5CNFSM4ITOJAQ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD57EVVA#issuecomment-528370388",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>