-
Notifications
You must be signed in to change notification settings - Fork 3k
TARGET_NUMAKER_PFM_NUC472 dependency on mbed TLS #3006
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
@sg- We want also to be compatible with mbed OS 2. Is there an approach, e.g. conditional compile, to exclude these codes for mbed OS 2? |
Not at the moment. Are these drivers specifically for hardware acceleration covering parts of mbed TLS? |
@sg- Yes. These drivers (aes_alt.c, des_alt.c, sha_alt.c) are hardware acceleration for mbed TLS's crypto modules. |
@sg- After review all global macros of mbed OS 5.x and mbed OS 2.0, we can't find the macro to specify which one is OS 5.x . Maybe, to create target folder in //features/mbedtls and restructure crypto-hal into it. |
@ccli8 thanks for the feedback. I'll have a chat with the mbed TLS maintainers and see how they suggest we handle this. |
There was this same question asked already this week few times, time to progress this. Lets take some code from there and illustrate how it can be done:
hacky to use @c1728p9 @geky @theotherjimmy @sg- @pan- Addition: I hijacked this thread as I found it related, but the main question for this issue stays why mbedtls is required for the driver. we might take this discussion to the separate issue, let me know, I'll redirect it |
Another option to consider, what if we provided |
@geky Indeed, it would also work for application using mbed SDK and importing mbed TLS. |
mbed TLS is integrated in mbed OS and this is a device implementation which should live with the device. We're missing a mbed C HAL for this. |
That makes sense now. |
Description
Bug
Target
TARGET_NUMAKER_PFM_NUC472
Toolchain:
GCC_ARM, ARM, IAR
mbed OS 2 doesn't have a release of mbed TLS supported or delivered. TARGET_NUMAKER_PFM_NUC472 HAL dependency on it for hw acceleration. It seems this target should only support a mbed 5 release
@ccli8
The text was updated successfully, but these errors were encountered: