mirror of
https://github.com/micropython/micropython.git
synced 2025-12-16 01:40:14 +01:00
extmod/machine_i2s: Factor ports' I2S Python bindings to common code.
This factors the basic top-level I2S class code from the ports into extmod/machine_i2s.c: - I2S class definition and method table. - The init and deinit method wrappers. - The make_new code. Further factoring will follow. Signed-off-by: Damien George <damien@micropython.org>
This commit is contained in:
@@ -120,7 +120,6 @@ set(MICROPY_SOURCE_PORT
|
||||
machine_adc.c
|
||||
machine_bitstream.c
|
||||
machine_i2c.c
|
||||
machine_i2s.c
|
||||
machine_pin.c
|
||||
machine_rtc.c
|
||||
machine_spi.c
|
||||
@@ -149,7 +148,6 @@ set(MICROPY_SOURCE_QSTR
|
||||
${MICROPY_DIR}/shared/runtime/sys_stdio_mphal.c
|
||||
${MICROPY_PORT_DIR}/machine_adc.c
|
||||
${MICROPY_PORT_DIR}/machine_i2c.c
|
||||
${MICROPY_PORT_DIR}/machine_i2s.c
|
||||
${MICROPY_PORT_DIR}/machine_pin.c
|
||||
${MICROPY_PORT_DIR}/machine_rtc.c
|
||||
${MICROPY_PORT_DIR}/machine_spi.c
|
||||
|
||||
Reference in New Issue
Block a user