Skip to content

Commit 558aaac

Browse files
JarmouniAkartben
authored andcommitted
samples: subsys: logging: logger: add stm32h750b-dk conf
Enable the sample to run on stm32h750b-dk board with async UART backend Signed-off-by: Abderrahmane JARMOUNI <git@jarmouni.me>
1 parent 63cf0c8 commit 558aaac

File tree

2 files changed

+28
-0
lines changed

2 files changed

+28
-0
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
CONFIG_UART_ASYNC_API=y
2+
CONFIG_LOG_BACKEND_UART_ASYNC=y
3+
4+
# for Log UART Backend DMA buffers
5+
CONFIG_NOCACHE_MEMORY=y
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
/*
2+
* SPDX-License-Identifier: Apache-2.0
3+
*/
4+
5+
/* console UART */
6+
&usart3 {
7+
dmas = <&dmamux1 2 46 STM32_DMA_PERIPH_TX>,
8+
<&dmamux1 3 45 STM32_DMA_PERIPH_RX>;
9+
dma-names = "tx", "rx";
10+
status = "okay";
11+
};
12+
13+
&dma1 {
14+
status = "okay";
15+
};
16+
17+
&dma2 {
18+
status = "okay";
19+
};
20+
21+
&dmamux1 {
22+
status = "okay";
23+
};

0 commit comments

Comments
 (0)