We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 38d9422 commit 1ea381cCopy full SHA for 1ea381c
esp32/mpconfigport.h
@@ -3,6 +3,7 @@
3
4
#include <stdint.h>
5
#include <alloca.h>
6
+#include "rom/ets_sys.h"
7
8
// object representation and NLR handling
9
#define MICROPY_OBJ_REPR (MICROPY_OBJ_REPR_A)
@@ -121,6 +122,8 @@
121
122
#define MICROPY_PY_MACHINE_PULSE (1)
123
#define MICROPY_PY_MACHINE_I2C (1)
124
#define MICROPY_PY_MACHINE_SPI (1)
125
+#define MICROPY_PY_MACHINE_SPI_MIN_DELAY (0)
126
+#define MICROPY_PY_MACHINE_SPI_MAX_BAUDRATE (ets_get_cpu_frequency() * 1000000 / 200) // roughly
127
#define MICROPY_PY_USSL (1)
128
#define MICROPY_SSL_MBEDTLS (1)
129
#define MICROPY_PY_WEBSOCKET (0)
0 commit comments