samd/mcu/samd51: Enable onewire support for SAMD51.

This commit is contained in:
robert-hh 2022-06-21 14:27:20 +02:00 committed by Damien George
parent a7113e95d7
commit fe31fca462
1 changed files with 1 additions and 0 deletions

View File

@ -14,6 +14,7 @@
#define MICROPY_PY_CMATH (0) #define MICROPY_PY_CMATH (0)
#define MICROPY_PY_MACHINE_DHT_READINTO (1) #define MICROPY_PY_MACHINE_DHT_READINTO (1)
#define MICROPY_PY_ONEWIRE (1)
#define MICROPY_PY_UOS_URANDOM (1) #define MICROPY_PY_UOS_URANDOM (1)
#define MICROPY_PY_URANDOM_SEED_INIT_FUNC (trng_random_u32()) #define MICROPY_PY_URANDOM_SEED_INIT_FUNC (trng_random_u32())
unsigned long trng_random_u32(void); unsigned long trng_random_u32(void);