# Copyright (c) 2016-2023 Nordic Semiconductor ASA
# SPDX-License-Identifier: Apache-2.0

config NRF_USBD_COMMON
	bool "USBD driver"
	depends on HAS_NRFX
	depends on $(dt_has_compat,$(DT_COMPAT_NORDIC_NRF_USBD))

if NRF_USBD_COMMON

config NRF_USBD_ISO_IN_ZLP
	bool "Send ZLP on ISO IN when not ready"
	default y
	help
	  Controls the response of the ISO IN endpoint to an IN token when no
	  data is ready to be sent. When enabled, ZLP is sent when no data is
	  ready. When disabled, no response is sent (bus timeout occurs).

module = NRF_USBD_COMMON
module-str = nRF USBD common
source "subsys/logging/Kconfig.template.log_config"

endif # NRF_USBD_COMMON
