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: Tomas Vanek <vanekt@fbl.cz>
This commit is contained in:
parent
e761152d72
commit
9aa151e3f3
@ -6,10 +6,3 @@
|
|||||||
|
|
||||||
#define MICROPY_HW_I2C0_SCL (7)
|
#define MICROPY_HW_I2C0_SCL (7)
|
||||||
#define MICROPY_HW_I2C0_SDA (6)
|
#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_SCL (9)
|
||||||
#define MICROPY_HW_I2C0_SDA (8)
|
#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_SCL (9)
|
||||||
#define MICROPY_HW_I2C0_SDA (8)
|
#define MICROPY_HW_I2C0_SDA (8)
|
||||||
|
|
||||||
#define MICROPY_HW_SPI1_MOSI (35)
|
|
||||||
#define MICROPY_HW_SPI1_MISO (36)
|
|
||||||
#define MICROPY_HW_SPI1_SCK (37)
|
|
||||||
|
Loading…
Reference in New Issue
Block a user