From 267d1ab2ba5adfeeb18820c4fd839037a13441dd Mon Sep 17 00:00:00 2001 From: robert-hh Date: Tue, 14 Mar 2023 12:41:42 +0100 Subject: [PATCH] samd/mpconfigport: Drop support for SoftSPI max speed. Saves ~140 bytes and is not really needed, since for higher baud rates hard SPI is available. Signed-off-by: robert-hh --- ports/samd/mpconfigport.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/ports/samd/mpconfigport.h b/ports/samd/mpconfigport.h index bc1ad3d988..3b89ee082b 100644 --- a/ports/samd/mpconfigport.h +++ b/ports/samd/mpconfigport.h @@ -99,8 +99,6 @@ #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_SOFT_TIMER_TICKS_MS systick_ms #define MICROPY_PY_OS_DUPTERM (3)