boards/arm: stm32l562e_dk: Enabling usart3
This commit enables usart3 channel on stm32l562e_dk platform. This would also be used to test usart in dma mode with tests/drivers/uart/uart_async_api. Signed-off-by: Krishna Mohan Dani <krishnamohan.d@hcl.com>
This commit is contained in:
parent
88045ca2bc
commit
83f1420c72
3 changed files with 8 additions and 0 deletions
|
@ -197,6 +197,7 @@ Default Zephyr Peripheral Mapping:
|
||||||
----------------------------------
|
----------------------------------
|
||||||
|
|
||||||
- USART_1 TX/RX : PA9/PA10
|
- USART_1 TX/RX : PA9/PA10
|
||||||
|
- USART_3 TX/RX : PC10/PC11
|
||||||
- I2C_1 SCL/SDA : PB6/PB7
|
- I2C_1 SCL/SDA : PB6/PB7
|
||||||
- SPI_1 SCK/MISO/MOSI : PG2/PG3/PG4 (BT SPI bus)
|
- SPI_1 SCK/MISO/MOSI : PG2/PG3/PG4 (BT SPI bus)
|
||||||
- SPI_3 NSS/SCK/MISO/MOSI : PE0/PG9/PB4/PB5 (Arduino SPI)
|
- SPI_3 NSS/SCK/MISO/MOSI : PE0/PG9/PB4/PB5 (Arduino SPI)
|
||||||
|
|
|
@ -16,6 +16,7 @@ supported:
|
||||||
- adc
|
- adc
|
||||||
- spi
|
- spi
|
||||||
- dma
|
- dma
|
||||||
|
- usart
|
||||||
- arduino_spi
|
- arduino_spi
|
||||||
ram: 192
|
ram: 192
|
||||||
flash: 512
|
flash: 512
|
||||||
|
|
|
@ -84,6 +84,12 @@
|
||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
&usart3 {
|
||||||
|
pinctrl-0 = <&usart3_tx_pc10 &usart3_rx_pc11>;
|
||||||
|
current-speed = <115200>;
|
||||||
|
status = "okay";
|
||||||
|
};
|
||||||
|
|
||||||
&i2c1 {
|
&i2c1 {
|
||||||
pinctrl-0 = <&i2c1_scl_pb6 &i2c1_sda_pb7>;
|
pinctrl-0 = <&i2c1_scl_pb6 &i2c1_sda_pb7>;
|
||||||
status = "okay";
|
status = "okay";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue