Skip to content

Commit c7183d1

Browse files
committed
opta: enable uart log
1 parent b5a7e65 commit c7183d1

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

variants/arduino_opta_stm32h747xx_m7/arduino_opta_stm32h747xx_m7.conf

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,10 @@ CONFIG_LLEXT_HEAP_REGION="SRAM2"
2323
CONFIG_CPP=n
2424
CONFIG_SHELL=n
2525

26+
CONFIG_LOG_BACKEND_UART=y
27+
CONFIG_LOG_BACKEND_UART_AUTOSTART=n
28+
CONFIG_LOG_DEFAULT_LEVEL=2
29+
2630
CONFIG_FPU=y
2731
CONFIG_ADC=y
2832
CONFIG_DAC=n

variants/arduino_opta_stm32h747xx_m7/arduino_opta_stm32h747xx_m7.overlay

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,12 @@
4040
zephyr,console = &usart6;
4141
zephyr,shell-uart = &usart6;
4242
zephyr,uart-mcumgr = &usart6;
43+
zephyr,log-uart = &log_uarts;
44+
};
45+
46+
log_uarts: log_uarts {
47+
compatible = "zephyr,log-uart";
48+
uarts = <&usart6 &board_cdc_acm_uart>;
4349
};
4450

4551
/* used to overcome problems with _C analog pins */

0 commit comments

Comments
 (0)