Rephrase explanation on `cc_platform_setup()`

Rephrase the explanation on `cc_platform_setup()`, since previous
explanation wasn't coherent.
pull/6794/head
Ron Eldor 2018-05-08 14:52:12 +03:00 committed by Ron Eldor
parent 55e7690593
commit f07ff36f47
1 changed files with 1 additions and 1 deletions

View File

@ -17,6 +17,6 @@ To port your CC 310 driver to Mbed OS on your specific target, do the following:
1. In `objects.h`, include `objects_cryptocell.h`. You can use the `DEBICE_CRYPTOCELL` pre-compilation check as defined above.
1. In `features/mbedtls/targets/TARGET_CRYPTOCELL310/TARGET_<target name>`, add your platform-specific libraries for all toolchains in `TOOLCHAIN_ARM`, `TOOLCHAIN_GCC_ARM` and `TOOLCHAIN_IAR` respectively.
1. Add your CC setup code:
* Implement `cc_platform_setup()` and `cc_platform_terminate()` to enable CC on your platform, in case you have such limitations. You can implement these functions as empty functions.
* Implement `cc_platform_setup()` and `cc_platform_terminate()` to enable CC on your platform, in case you have board specific setup functionality, required for CC setup. You can implement these functions as empty functions.
* Define `cc_platform_ctx` in `cc_platform.h` in a way that suits your implementation.