diff options
author | robert-hh <robert@hammelrath.com> | 2022-11-10 21:30:12 +0100 |
---|---|---|
committer | Damien George <damien@micropython.org> | 2022-12-14 12:39:54 +1100 |
commit | 3cc359c20473f8b64fed9daa86410bec9669cc79 (patch) | |
tree | 178f64f0e7944efb5f93b52f9f67c6622079f097 | |
parent | f2de289ef36e666ca66127263cf752a6e9899e50 (diff) |
samd/mpconfigport: Support MICROPY_HW_SOFTSPI_MIN_DELAY.
Bringing the SoftSPI baudrate up to about 500 kHz.
-rw-r--r-- | ports/samd/mpconfigport.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ports/samd/mpconfigport.h b/ports/samd/mpconfigport.h index c3a0d2370..0e940e1c9 100644 --- a/ports/samd/mpconfigport.h +++ b/ports/samd/mpconfigport.h @@ -93,6 +93,8 @@ #define MICROPY_PY_MACHINE_SOFTI2C (1) #define MICROPY_PY_MACHINE_SPI (1) #define MICROPY_PY_MACHINE_SOFTSPI (1) +#define MICROPY_HW_SOFTSPI_MIN_DELAY (1) +#define MICROPY_HW_SOFTSPI_MAX_BAUDRATE (1000000) #define MICROPY_PY_MACHINE_TIMER (1) #define MICROPY_PY_OS_DUPTERM (3) #define MICROPY_PY_MACHINE_BITSTREAM (1) |