-
Notifications
You must be signed in to change notification settings - Fork 1k
Make usbd_interface_init() weak so that it can be redefined in sketch or external library #341
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Yes (at this moment). |
Thank you @fpistm.
to
in the meantime? Thanks, E. |
I've answered here to @hasenbanck |
I guess this issue will be deprecated with #344 |
Well, the aim of this issue is to request the possibility for the user to be able to define his own USB initialization procedure, possibly also at sketch level (and not only at variant level). Cheers, E. |
Fix stm32duino#341 Signed-off-by: Frederic.Pillon <[email protected]>
Fix stm32duino#341 Signed-off-by: Frederic.Pillon <[email protected]>
Fix stm32duino#341 Signed-off-by: Frederic.Pillon <[email protected]>
Fix stm32duino#341 Signed-off-by: Frederic.Pillon <[email protected]>
Fix stm32duino#341 Signed-off-by: Frederic.Pillon <[email protected]>
Fix stm32duino#341 Signed-off-by: Frederic.Pillon <[email protected]>
Fix stm32duino#341 Signed-off-by: Frederic.Pillon <[email protected]>
Fix stm32duino#341 Signed-off-by: Frederic.Pillon <[email protected]>
Hello @fpistm, as I can understand function
usbd_interface_init()
is a hook to initiate USB function (HID at the moment) if required, correct?Arduino_Core_STM32/cores/arduino/main.cpp
Lines 53 to 59 in 4919790
If yes, what about making its definition
Arduino_Core_STM32/cores/arduino/stm32/usb_interface.c
Lines 119 to 131 in 4e1c225
as
weak
so that users can redefine it in order to implement USB features in sketches or external libraries?Thanks in advance and best, E.
The text was updated successfully, but these errors were encountered: