2022-07-04 07:30 AM
Hey, I'm starting on using OTFDEC for encryption of data on external OSPI flash, the project i'm working on is based on the Zephyr OS, and as far as i can see there are no examples on how to build an application with the OTFDEC setup using Zephyr. So is it possible to use OTFDEC with zephyr, and how?
Solved! Go to Solution.
2022-07-27 05:49 AM
Hello @Tobias Aunbøl and welcome to the community,
It possible to use OTFDEC with zephyr or any kind of RTOS, or even an application that does not use any RTOS.
The idea is to directly call OTFDEC HAL API in the application. For more information on how to allow use of Cube HAL in application, see this LINK.
There is also an example under the TM32Cube_FW_U5, below the path to the project:
"STM32Cube_FW_U5_V1.1.0\Projects\B-U585I-IOT02A\Examples\OTFDEC\OTFDEC_Data_Decrypt"
Mohamed Aymen
2022-07-27 05:49 AM
Hello @Tobias Aunbøl and welcome to the community,
It possible to use OTFDEC with zephyr or any kind of RTOS, or even an application that does not use any RTOS.
The idea is to directly call OTFDEC HAL API in the application. For more information on how to allow use of Cube HAL in application, see this LINK.
There is also an example under the TM32Cube_FW_U5, below the path to the project:
"STM32Cube_FW_U5_V1.1.0\Projects\B-U585I-IOT02A\Examples\OTFDEC\OTFDEC_Data_Decrypt"
Mohamed Aymen