boards: arm: stm32l496g_disco: full Arduino SPI support

Full Arduino SPI support for stm32l496g_disco

Signed-off-by: Alexandre Bourdiol <alexandre.bourdiol@st.com>
This commit is contained in:
Alexandre Bourdiol 2021-06-17 11:42:10 +02:00 committed by Anas Nashif
commit 1ff3d0e878
2 changed files with 2 additions and 1 deletions

View file

@ -170,7 +170,7 @@ Default Zephyr Peripheral Mapping:
- LPUART_1 TX/RX : PG7/PG8 (Arduino Serial)
- I2C1 SCL/SDA : PB8/PB7 (Arduino I2C)
- SDMMC_1 D0/D1/D2/D3/CK/CMD: PC8/PC9/PC10/PC11/PC12/PD2
- SPI1 SCK/MISO/MOSI : PA5/PB4/PB5 (Arduino SPI)
- SPI1 NSS/SCK/MISO/MOSI : PA15/PA5/PB4/PB5 (Arduino SPI)
- I2C_1_SCL : PB8
- I2C_1_SDA : PB7
- PWM_2_CH1 : PA0

View file

@ -120,6 +120,7 @@
&spi1 {
pinctrl-0 = <&spi1_sck_pa5 &spi1_miso_pb4 &spi1_mosi_pb5>;
cs-gpios = <&gpioa 15 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>;
status = "okay";
};