Update more usage of hwGetentropy() (#869)

* Update more usage of hwGetentropy()

* Add hwGetentropy() to Teensy 3.5/3.6
This commit is contained in:
d00616
2017-06-03 21:58:40 +02:00
committed by Olivier
parent 28c4f3f19e
commit e6925f69e8
10 changed files with 49 additions and 36 deletions
+3 -3
View File
@@ -44,12 +44,12 @@ uint8_t hwReadConfig(int adr);
*/
/**
* @def MY_HW_HAS_GETRANDOM
* @def MY_HW_HAS_GETENTROPY
* @brief Define this, if hwGetentropy is implemented
*
* ssize_t hwGetentropy(void *__buffer, size_t __length);
*/
//#define MY_HW_HAS_GETRANDOM
//#define MY_HW_HAS_GETENTROPY
/// @brief unique ID
typedef uint8_t unique_id_t[16];
@@ -141,7 +141,7 @@ void hwDebugPrint(const char *fmt, ... );
*/
#ifdef DOXYGEN
#define MY_CRITICAL_SECTION
#define MY_HW_HAS_GETRANDOM
#define MY_HW_HAS_GETENTROPY
#endif /* DOXYGEN */
#endif // #ifdef MyHw_h