Re: [PATCH] dfu: fix Kconfig dependencies

2024-09-13 Thread Mattijs Korpershoek
Hi, On Tue, 10 Sep 2024 12:27:50 +0200, Jerome Forissier wrote: > Fix link errors caused by missing Kconfig dependencies: > > 1. DFU_OVER_USB compiles common/dfu.c which calls g_dnl_clear_detach() > which is implemented in drivers/usb/gadget/g_dnl.c which needs > USB_GADGET_DOWNLOAD. Test case: >

Re: [PATCH] dfu: fix Kconfig dependencies

2024-09-10 Thread Ilias Apalodimas
On Tue, 10 Sept 2024 at 13:28, Jerome Forissier wrote: > > Fix link errors caused by missing Kconfig dependencies: > > 1. DFU_OVER_USB compiles common/dfu.c which calls g_dnl_clear_detach() > which is implemented in drivers/usb/gadget/g_dnl.c which needs > USB_GADGET_DOWNLOAD. Test case: > > $ pr

Re: [PATCH] dfu: fix Kconfig dependencies

2024-09-10 Thread Mattijs Korpershoek
Hi Jerome, Thank you for the patch. On mar., sept. 10, 2024 at 12:27, Jerome Forissier wrote: > Fix link errors caused by missing Kconfig dependencies: > > 1. DFU_OVER_USB compiles common/dfu.c which calls g_dnl_clear_detach() > which is implemented in drivers/usb/gadget/g_dnl.c which needs >

Re: [PATCH] dfu: fix Kconfig dependencies

2024-09-10 Thread Marek Vasut
On 9/10/24 12:27 PM, Jerome Forissier wrote: Fix link errors caused by missing Kconfig dependencies: 1. DFU_OVER_USB compiles common/dfu.c which calls g_dnl_clear_detach() which is implemented in drivers/usb/gadget/g_dnl.c which needs USB_GADGET_DOWNLOAD. Test case: $ printf "CONFIG_USB_GADGE