esp32/machine_i2s: Add MICROPY_PY_MACHINE_I2S option, enable by default.

Signed-off-by: Damien George <damien@micropython.org>
This commit is contained in:
Damien George
2021-07-18 12:11:15 +10:00
parent 1f9243f8d4
commit 0fc0ccabec
4 changed files with 11 additions and 0 deletions

View File

@@ -138,7 +138,9 @@ soft_reset:
// initialise peripherals
machine_pins_init();
#if MICROPY_PY_MACHINE_I2S
machine_i2s_init0();
#endif
// run boot-up scripts
pyexec_frozen_module("_boot.py");