boards: arm: nucleo_f070rb: full Arduino SPI support
Full Arduino SPI support for nucleo_f070rb Signed-off-by: Alexandre Bourdiol <alexandre.bourdiol@st.com>
This commit is contained in:
parent
35d674829c
commit
518f6a1f59
2 changed files with 2 additions and 1 deletions
|
@ -125,7 +125,7 @@ Default Zephyr Peripheral Mapping:
|
||||||
- UART_2 TX/RX : PA2/PA3 (ST-Link Virtual COM Port)
|
- UART_2 TX/RX : PA2/PA3 (ST-Link Virtual COM Port)
|
||||||
- I2C1 SCL/SDA : PB8/PB9 (Arduino I2C)
|
- I2C1 SCL/SDA : PB8/PB9 (Arduino I2C)
|
||||||
- I2C2 SCL/SDA : PB10/PB11
|
- I2C2 SCL/SDA : PB10/PB11
|
||||||
- SPI1 SCK/MISO/MOSI : PA5/PA6/PA7 (Arduino SPI)
|
- SPI1 NSS/SCK/MISO/MOSI : PB6/PA5/PA6/PA7 (Arduino SPI)
|
||||||
- SPI2 SCK/MISO/MOSI : PB13/PB14/PB15
|
- SPI2 SCK/MISO/MOSI : PB13/PB14/PB15
|
||||||
- USER_PB : PC13
|
- USER_PB : PC13
|
||||||
- LD1 : PA5
|
- LD1 : PA5
|
||||||
|
|
|
@ -88,6 +88,7 @@
|
||||||
|
|
||||||
&spi1 {
|
&spi1 {
|
||||||
pinctrl-0 = <&spi1_sck_pa5 &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";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue