boards: arm: nucleo_f334r8: full Arduino SPI support
Full Arduino SPI support for nucleo_f334r8 Signed-off-by: Alexandre Bourdiol <alexandre.bourdiol@st.com>
This commit is contained in:
parent
fd9476ba6a
commit
0369fcaf4a
2 changed files with 3 additions and 3 deletions
|
@ -122,7 +122,7 @@ Default Zephyr Peripheral Mapping:
|
||||||
- UART_2 TX/RX : PA2/PA3 (ST-Link Virtual Port Com)
|
- UART_2 TX/RX : PA2/PA3 (ST-Link Virtual Port Com)
|
||||||
- UART_3 TX/RX : PB10/PB11
|
- UART_3 TX/RX : PB10/PB11
|
||||||
- I2C1 SCL/SDA : PB8/PB9 (Arduino I2C)
|
- I2C1 SCL/SDA : PB8/PB9 (Arduino I2C)
|
||||||
- SPI1 CS/SCK/MISO/MOSI : PA4/PA5/PA6/PA7 (Arduino SPI)
|
- SPI1 CS/SCK/MISO/MOSI : PB6/PA5/PA6/PA7 (Arduino SPI)
|
||||||
- PWM_1_CH1 : PA8
|
- PWM_1_CH1 : PA8
|
||||||
- USER_PB : PC13
|
- USER_PB : PC13
|
||||||
- LD2 : PA5
|
- LD2 : PA5
|
||||||
|
|
|
@ -87,8 +87,8 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
&spi1 {
|
&spi1 {
|
||||||
pinctrl-0 = <&spi1_nss_pa4 &spi1_sck_pa5
|
pinctrl-0 = <&spi1_sck_pa5 &spi1_miso_pa6 &spi1_mosi_pa7>;
|
||||||
&spi1_miso_pa6 &spi1_mosi_pa7>;
|
cs-gpios = <&gpiob 6 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>;
|
||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue