extmod/modmachine: Consolidate mem, i2c and spi headers to modmachine.h.

The contents of machine_mem.h, machine_i2c.h and machine_spi.h have been
moved into extmod/modmachine.h.

Signed-off-by: Damien George <damien@micropython.org>
This commit is contained in:
Damien George
2023-10-26 15:20:03 +11:00
parent 6989aba93b
commit 3e2706a18d
45 changed files with 149 additions and 265 deletions

View File

@@ -31,7 +31,7 @@
#if MICROPY_PY_MACHINE_SPI || MICROPY_PY_MACHINE_SOFTSPI
#include "extmod/machine_spi.h"
#include "extmod/modmachine.h"
// if a port didn't define MSB/LSB constants then provide them
#ifndef MICROPY_PY_MACHINE_SPI_MSB