Skip to main content
Tyama.1
Associate II
August 4, 2020
Question

STM32 Cryptographic Library Stack size

  • August 4, 2020
  • 2 replies
  • 704 views

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​

This topic has been closed for replies.

2 replies

KnarfB
Super User
August 4, 2020

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
Tyama.1Author
Associate II
August 4, 2020

Thanks.

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

Thanks!

Best Regards