From 89e86fe6294948df0ca8aade93e9893f317dd5fc Mon Sep 17 00:00:00 2001 From: Alex Maestas Date: Sun, 17 Dec 2023 17:39:59 +0000 Subject: work around silicon erratum in TRNG --- watch-library/shared/watch/watch.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'watch-library/shared') diff --git a/watch-library/shared/watch/watch.h b/watch-library/shared/watch/watch.h index 790f9a16..4043fdf7 100644 --- a/watch-library/shared/watch/watch.h +++ b/watch-library/shared/watch/watch.h @@ -96,4 +96,8 @@ void watch_reset_to_bootloader(void); */ int read(int file, char *ptr, int len); -#endif /* WATCH_H_ */ \ No newline at end of file +/** @brief Disables the TRNG, working around a silicon erratum. + */ +void watch_disable_TRNG(Trng* hw); + +#endif /* WATCH_H_ */ -- cgit v1.2.3