[riot-notifications] [RIOT-OS/RIOT] sys/random: allow seed source selection (#15836)
notifications at github.com
Wed Jan 27 10:05:51 CET 2021
@leandrolanzieri commented on this pull request.
> @@ -13,3 +13,8 @@ ifneq (1,$(words $(filter-out prng_shaxprng,$(USED_PRNG_IMPLEMENTATIONS))))
$(info Currently the following prng modules are used: $(USED_PRNG_IMPLEMENTATIONS))
$(error Only one implementation of PRNG should be used.)
+# Check that one and only one seed source has been selected
+ifneq (1,$(words $(filter-out random_seed_%,$(USEMODULE))))
+ $(error One seed should be selected for the random subsystem. Check the documentation for options.)
Now the modules registered in `PSEUDOMODULES` are printed with the error message.
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the notifications