-
Notifications
You must be signed in to change notification settings - Fork 981
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
Add support to CRC peripheral by default #1715
Conversation
@@ -19,6 +19,8 @@ | |||
extern "C" { | |||
#endif | |||
|
|||
CRC_HandleTypeDef hcrc = {.Instance = CRC}; |
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.
CRC_HandleTypeDef hcrc = {.Instance = CRC}; | |
#ifdef CRC2_BASE | |
#define CRC_INSTANCE CRC2 | |
#elif defined(CRC_BASE) | |
#define CRC_INSTANCE CRC | |
#else | |
#error "No CRC instance available" | |
#endif | |
CRC_HandleTypeDef hcrc = {.Instance = CRC_INSTANCE}; |
@@ -19,6 +19,8 @@ | |||
extern "C" { | |||
#endif | |||
|
|||
CRC_HandleTypeDef hcrc = {.Instance = CRC}; |
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.
CRC_HandleTypeDef hcrc = {.Instance = CRC}; | |
#if defined(CRC_BASE) | |
CRC_HandleTypeDef hcrc = {.Instance = CRC}; | |
#endif |
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.
LGTM
Waiting CI result before merge.
Hello,
I would like to add the CRC peripheral support by default in the Core. It could be useful to run some binary libraries like MotionFX.
Best Regards,
Carlo