boards: arm: nucleo_g431rb: fix Arduino SPI support
Fix Arduino SPI support for nucleo_g431rb. Signed-off-by: Alexandre Bourdiol <alexandre.bourdiol@st.com>
This commit is contained in:
parent
aaed982030
commit
7f7cf98887
|
@ -119,6 +119,8 @@ The Zephyr nucleo_g431rb board configuration supports the following hardware fea
|
|||
+-----------+------------+-------------------------------------+
|
||||
| COUNTER | on-chip | rtc |
|
||||
+-----------+------------+-------------------------------------+
|
||||
| SPI | on-chip | spi |
|
||||
+-----------+------------+-------------------------------------+
|
||||
|
||||
Other hardware features are not yet supported on this Zephyr port.
|
||||
|
||||
|
@ -146,7 +148,7 @@ Default Zephyr Peripheral Mapping:
|
|||
- I2C_1_SCL : PB8
|
||||
- I2C_1_SDA : PB9
|
||||
- SPI_1_NSS : PB6
|
||||
- SPI_1_SCK : PB3
|
||||
- SPI_1_SCK : PA5
|
||||
- SPI_1_MISO : PA6
|
||||
- SPI_1_MOSI : PA7
|
||||
- SPI_2_NSS : PB12
|
||||
|
|
|
@ -92,8 +92,8 @@
|
|||
};
|
||||
|
||||
&spi1 {
|
||||
pinctrl-0 = <&spi1_nss_pa4 &spi1_sck_pb3
|
||||
&spi1_miso_pa6 &spi1_mosi_pa7>;
|
||||
pinctrl-0 = <&spi1_sck_pa5 &spi1_miso_pa6 &spi1_mosi_pa7>;
|
||||
cs-gpios = <&gpiob 6 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue