-
Notifications
You must be signed in to change notification settings - Fork 944
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
HAL callback functions in the core should should be declared as weak so they can be overridden in the sketch #7
Comments
From @fprwi6labs on January 10, 2017 12:22 Can you declare the same function weak more than one time? |
From @rogerclarkmelbourne on January 10, 2017 21:39 OK. I'm sure someone else posted about this to the forum, I'll need to find the post and link it here. |
From @fprwi6labs on January 16, 2017 16:15 I'm really curious to know how the linker manages the case where the same function is declared twice as weak. Maybe there is a way but I don't know it... |
Does it mean, that i can implement interrupt driven uart receive function? |
@Adminius you could have a look at the SerialEvent function which is weak. Note: this will be functional in the next core release. |
Close this issue as no update and already several weak function. |
From @rogerclarkmelbourne on November 23, 2016 21:2
HAL callback functions in the core should should be declared as weak so they can be overridden in the sketch
Copied from original issue: fpistm/Arduino_Core_STM32L4#8
The text was updated successfully, but these errors were encountered: