Skip to content

Commit c883c9b

Browse files
committed
portentah7: add log uarts
1 parent bb65849 commit c883c9b

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

variants/arduino_portenta_h7_stm32h747xx_m7/arduino_portenta_h7_stm32h747xx_m7.conf

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,10 @@ CONFIG_USB_DEVICE_PRODUCT="Arduino Portenta H7"
33
CONFIG_USB_DEVICE_MANUFACTURER="Arduino"
44
CONFIG_USB_DEVICE_VID=0x2341
55
CONFIG_USB_DEVICE_PID=0x005b
6+
CONFIG_USB_DEVICE_INITIALIZE_AT_BOOT=y
67

78
CONFIG_USB_CDC_ACM=y
8-
CONFIG_USB_CDC_ACM_RINGBUF_SIZE=512
9+
CONFIG_USB_CDC_ACM_RINGBUF_SIZE=1024
910
CONFIG_UART_LINE_CTRL=y
1011
CONFIG_CDC_ACM_DTE_RATE_CALLBACK_SUPPORT=y
1112

variants/arduino_portenta_h7_stm32h747xx_m7/arduino_portenta_h7_stm32h747xx_m7.overlay

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -248,6 +248,12 @@
248248
zephyr,console = &usart6;
249249
zephyr,shell-uart = &usart6;
250250
zephyr,cdc-acm-uart0 = &usart6;
251+
zephyr,log-uart = &log_uarts;
252+
};
253+
254+
log_uarts: log_uarts {
255+
compatible = "zephyr,log-uart";
256+
uarts = <&usart6 &board_cdc_acm_uart>;
251257
};
252258

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

0 commit comments

Comments
 (0)