samd/mcu/samd51: Enable onewire support for SAMD51.
This commit is contained in:
parent
a7113e95d7
commit
fe31fca462
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue