Commit 9aa151e3 authored by Tomas Vanek's avatar Tomas Vanek Committed by Damien George

esp32/boards: Remove SPI pin defaults from GENERIC S2/S3 boards.

Default SPI pins are now correctly assigned by machine_hw_spi.c even for S2
and S3.  mpconfigboard.h files define defaults with flipped SPI(1) and
SPI(2) to workaround a bug in machine_hw_spi.c - the bug is fixed.
Signed-off-by: default avatarTomas Vanek <vanekt@fbl.cz>
parent e761152d
......@@ -6,10 +6,3 @@
#define MICROPY_HW_I2C0_SCL (7)
#define MICROPY_HW_I2C0_SDA (6)
#define MICROPY_HW_SPI1_MOSI (35)
#define MICROPY_HW_SPI1_MISO (37)
#define MICROPY_HW_SPI1_SCK (36)
#define MICROPY_HW_SPI2_MOSI (11)
#define MICROPY_HW_SPI2_MISO (13)
#define MICROPY_HW_SPI2_SCK (12)
......@@ -5,7 +5,3 @@
#define MICROPY_HW_I2C0_SCL (9)
#define MICROPY_HW_I2C0_SDA (8)
#define MICROPY_HW_SPI1_MOSI (35)
#define MICROPY_HW_SPI1_MISO (36)
#define MICROPY_HW_SPI1_SCK (37)
......@@ -6,7 +6,3 @@
#define MICROPY_HW_I2C0_SCL (9)
#define MICROPY_HW_I2C0_SDA (8)
#define MICROPY_HW_SPI1_MOSI (35)
#define MICROPY_HW_SPI1_MISO (36)
#define MICROPY_HW_SPI1_SCK (37)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment