espressif: Fix default pins for SPI bus 2 on ESP32-[C3|C6|H2]

Fix the correct pin number for the SPI 2 bus on ESP32-C3, ESP32-C6
and ESP32-H2.
This commit is contained in:
Tiago Medicci
2024-08-14 15:45:36 -03:00
committed by Xiang Xiao
parent 61dff51a33
commit 69a8e2697f
5 changed files with 24 additions and 5 deletions
@@ -214,7 +214,7 @@ spi
--------
This configuration enables the support for the SPI driver.
You can test it by connecting MOSI and MISO pins which are GPIO7 and GPIO2
You can test it by connecting MOSI and MISO pins which are GPIO5 and GPIO0
by default to each other and running the ``spi`` example::
nsh> spi exch -b 2 "AB"