CONFIG_USB_DFU_ENABLE_UPLOAD

Enable firmware uploading to the host

Type: bool

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.

Direct dependencies

USB_DFU_CLASS && USB_DEVICE_STACK

(Includes any dependencies from ifs and menus.)

Defaults

No defaults. Implicitly defaults to n.

Kconfig definition

At <Subsystem>/usb/class/dfu/Kconfig:32

Included via Kconfig:8Kconfig.zephyr:44<Subsystem>/Kconfig:49<Subsystem>/usb/Kconfig:161<Subsystem>/usb/class/Kconfig:20

Menu path: (Top) → Sub Systems and OS Services → USB Device Support → USB DFU Class Driver

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.)