Skip to content

Commit

Permalink
samples: zigbee: Disable CDC_ACM logging when CDC_ACM is used for shell
Browse files Browse the repository at this point in the history
Such configuration would lead to a recursive logging loop and a special
check catching it was introduced, so now it generates a build warning.
See Zephyr PR 78449.

Signed-off-by: Andrzej Głąbek <[email protected]>
  • Loading branch information
anangl committed Jan 11, 2025
1 parent 10cfe0b commit d9f54af
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions samples/zigbee/shell/prj_usb.conf
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ CONFIG_USB_DEVICE_STACK=y
CONFIG_USB_DEVICE_REMOTE_WAKEUP=n
CONFIG_USB_DEVICE_PRODUCT="Zigbee Shell"
CONFIG_USB_CDC_ACM=y
CONFIG_USB_CDC_ACM_LOG_LEVEL_OFF=y
CONFIG_UART_LINE_CTRL=y
# Initialize USB device as soon as possible as the USB CDC ACM is used
# as backend for both Shell and Logging subsystems.
Expand Down

0 comments on commit d9f54af

Please sign in to comment.