-
Notifications
You must be signed in to change notification settings - Fork 3k
M2351: Fix crypto AC management #9656
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
M2351: Fix crypto AC management #9656
Conversation
Port of NUC472/M487 crypto AC mgmt work to M2351: 1. Choose mutex to synchronize access to crypto non-SHA AC 2. Choose atomic flag to synchronize access to crypto SHA AC
@@ -19,33 +19,51 @@ | |||
#include "mbed_assert.h" | |||
#include "mbed_critical.h" | |||
#include "mbed_error.h" | |||
#if MBED_CONF_RTOS_PRESENT | |||
#include "cmsis_os2.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.
Is this really needed? You're not using it directly, but maybe something's missing from another header?
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.
@kjbracey-arm I removed them.
#if MBED_CONF_RTOS_PRESENT | ||
#include "cmsis_os2.h" | ||
#endif | ||
#include <string.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.
Ditto - you're not adding anything using it that I can see.
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
CI started |
Test run: SUCCESSSummary: 12 of 12 test jobs passed |
Description
This PR ports #9081 work to NUMAKER_PFM_M2351 target. It majorly includes:
Pull request type
Reviewers
@kjbracey-arm