cancel
Showing results for 
Search instead for 
Did you mean: 

STM32 Cryptographic Library Stack size

Tyama.1
Associate

Hello Experts,

I am trying to integrate the "STM32 Cryptographic Library" to my application. 

The library name is "libSTM32CryptographicV3.1.3_CM4_GCC_ot_fpu.a".

How big is the stack size used by this library?

When I used the library, RTOS got a hard fault due to stack overflow.

your quick help in getting the above library working is very much appreciated.

Thanks!

Best Regards

T.yama​

2 REPLIES 2
KnarfB
Principal III

Since the UM1924 User Manual doesn't publish official figures, you may measure the stack usage. I would generously increase the task stack size until the library works. Some RTOS already support stack usage measuring (or estimating).

Tyama.1
Associate

Thanks.

I try to measure the stack size with software that only uses the library.

Thanks!

Best Regards