Skip to content
This repository was archived by the owner on Sep 6, 2023. It is now read-only.

Commit f41a01a

Browse files
committed
esp32/mpconfigport.h: Added support for HSPI
1 parent 0ec1d9e commit f41a01a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

esp32/mpconfigport.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,7 @@
122122
#define MICROPY_PY_MACHINE_PULSE (1)
123123
#define MICROPY_PY_MACHINE_I2C (1)
124124
#define MICROPY_PY_MACHINE_SPI (1)
125+
#define MICROPY_PY_MACHINE_SPI_MAKE_NEW machine_hspi_make_new
125126
#define MICROPY_PY_MACHINE_SPI_MIN_DELAY (0)
126127
#define MICROPY_PY_MACHINE_SPI_MAX_BAUDRATE (ets_get_cpu_frequency() * 1000000 / 200) // roughly
127128
#define MICROPY_PY_USSL (1)

0 commit comments

Comments
 (0)