cancel
Showing results for 
Search instead for 
Did you mean: 

How to add X-Cube-Crypto to the STM32CubeMx ?

green_om_2006
Associate III

Hi,

The X-Cube-Cryptolib is not in the list of STM32CubeMX software (I have the latest version).

and when I tried to add the downloaded zip file of the cryptolib expansion from the "From Local" in STM32CubeMX, it gives error.

1- It means that I can not add that lib directly into the STM32CubeMX ?

2- So I have to first make my project in STM32CubeMX and then add crypto library files manually in the project folder? (I use Keil software)

 

Thanks & Best Regards.

 

2 REPLIES 2
STTwo-32
ST Employee

Hello @green_om_2006 

The X-CUBE-CRYPTOLIB pack cannot be installed in CubeMX, however it can be included in the project generated by CubeMX.

 

For more details, please check this wiki: https://wiki.stmicroelectronics.cn/stm32mcu/wiki/Security:Getting_started_with_the_Cryptographic_Library

Best Regards.

STTwo-32 

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

Thanks for your reply, I followed the link step by step, but I get this error:

Untitled.png

I checked all the compiler settings with a NUCLEO board project in the CryptoLib package too, They are all same with my own project....

I am using STM32L071.

Can you please help me fine and solve the problem?

 

Thanks & Best Regards.