boards: arm: b_l4s5i_iot01a: full Arduino SPI support
Full Arduino SPI support for b_l4s5i_iot01a Signed-off-by: Alexandre Bourdiol <alexandre.bourdiol@st.com>
This commit is contained in:
parent
cab576fb82
commit
16ada70a7a
2 changed files with 2 additions and 1 deletions
|
@ -124,6 +124,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 = <&gpioa 2 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>;
|
||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -155,7 +155,7 @@ Default Zephyr Peripheral Mapping:
|
||||||
- UART_4 TX/RX : PA0/PA1 (Arduino Serial)
|
- UART_4 TX/RX : PA0/PA1 (Arduino Serial)
|
||||||
- I2C1 SCL/SDA : PB8/PB9 (Arduino I2C)
|
- I2C1 SCL/SDA : PB8/PB9 (Arduino I2C)
|
||||||
- I2C2 SCL/SDA : PB10/PB11 (Sensor I2C bus)
|
- I2C2 SCL/SDA : PB10/PB11 (Sensor I2C bus)
|
||||||
- SPI1 SCK/MISO/MOSI : PA5/PA6/PA7 (Arduino SPI)
|
- SPI1 NSS/SCK/MISO/MOSI : PA2/PA5/PA6/PA7 (Arduino SPI)
|
||||||
- SPI3 SCK/MISO/MOSI : PC10/PC11/PC12 (BT SPI bus)
|
- SPI3 SCK/MISO/MOSI : PC10/PC11/PC12 (BT SPI bus)
|
||||||
- PWM_2_CH1 : PA15
|
- PWM_2_CH1 : PA15
|
||||||
- LD1 : PA5
|
- LD1 : PA5
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue