:orphan: .. title:: CONFIG_USB_DFU_ENABLE_UPLOAD .. kconfig:: CONFIG_USB_DFU_ENABLE_UPLOAD CONFIG_USB_DFU_ENABLE_UPLOAD ############################ *Enable firmware uploading to the host* Type: ``bool`` Help ==== .. code-block:: none Enabling this option allows to upload firmware image to the host. Be aware that upload capability can be a security risk because the executable image is always decrypted despite the image encryption is enabled. Direct dependencies =================== \ :kconfig:`USB_DFU_CLASS ` && \ :kconfig:`USB_DEVICE_STACK ` *(Includes any dependencies from ifs and menus.)* Defaults ======== No defaults. Implicitly defaults to ``n``. Kconfig definition ================== At ``/usb/class/dfu/Kconfig:32`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:44`` → ``/Kconfig:49`` → ``/usb/Kconfig:161`` → ``/usb/class/Kconfig:20`` Menu path: (Top) → Sub Systems and OS Services → USB Device Support → USB DFU Class Driver .. code-block:: kconfig config USB_DFU_ENABLE_UPLOAD bool "Enable firmware uploading to the host" depends on USB_DFU_CLASS && USB_DEVICE_STACK help Enabling this option allows to upload firmware image to the host. Be aware that upload capability can be a security risk because the executable image is always decrypted despite the image encryption is enabled. *(The 'depends on' condition includes propagated dependencies from ifs and menus.)*