summaryrefslogtreecommitdiff
path: root/examples/usercmodule/cexample/examplemodule.c
diff options
context:
space:
mode:
authorDamien George <damien@micropython.org>2020-10-20 14:17:46 +1100
committerDamien George <damien@micropython.org>2020-10-29 14:14:40 +1100
commit3e455e9792b5851a21ed2d94d518b21557d2a361 (patch)
tree515e66eb272d5819e36b6752da5f173ef4c8f5b6 /examples/usercmodule/cexample/examplemodule.c
parent59019d7f759c78dedd8d353d24c8d64a7a9981c7 (diff)
stm32/rng: Use SysTick+RTC+unique-id to seed pRNG for MCUs without RNG.
The same seed will only occur if the board is the same, the RTC has the same time (eg freshly powered up) and the first call to this function (eg via an "import random") is done at exactly the same time since reset. Signed-off-by: Damien George <damien@micropython.org>
Diffstat (limited to 'examples/usercmodule/cexample/examplemodule.c')
0 files changed, 0 insertions, 0 deletions