-
Notifications
You must be signed in to change notification settings - Fork 1k
Remove Ethernet library dependency #101
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good I think . Only one comment on naming to be more precise.
- 1 question : where will you register the stm32_eth_scheduler ? Do you have the corresponding commit ?
cores/arduino/chip.h
Outdated
@@ -37,8 +37,7 @@ | |||
#ifdef USBCON | |||
#include "usb_interface.h" | |||
#endif //USBCON | |||
|
|||
#include "ethernet.h" | |||
#include "callback.h" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe use variant name to be more precise
Update after discussion with Fred, we think a suitable name could be
coreCallback.h
with
registerCoreCallback( xx )
unregisterCoreCallback( xx )
and the call from the core will be
coreCallbacks();
?
I attach the stm32_eth_scheduler() inside the STM32Ethernet library. See here |
Wait renaming and rebasing. |
cores/arduino/stm32/core_callback.h
Outdated
*/ | ||
} | ||
#ifndef CALLBACK_LIST_SIZE | ||
#define CALLBACK_LIST_SIZE 8 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please decrease to 4 it should be enough then I will merge
…rary Signed-off-by: fpr <[email protected]>
The Ethernet library is no more linked to the core.
See STM32Ethernet PR.