Hi,
I am trying to decrypt a message from a host that encrypts with SHA256.
I use an example code from here Mbed Crypto H/W Acceleration (rm_psa_crypto)
Then, I added MbedTLS (Crypto only) to the Ctrl Thread stacks panel, and some errors are shown below.
What confused me is the error about the heap that shows in the message "The heap size should be at least 0x200 under Th..........."
I have checked the heap size and the default value is 1024 (0x400). So, it's not less than 0x200.
By the way, the error still shows and how can I fix this problem? Or Any example for FreeRTOS + MbedTLS ?
This information may useful FSP 5.0.1RA6M1FreeRTOS V10.6.1
Thank you in advance.Best Regards,
PS. The example code from github: example for mbed_crypto_ek_ra6m1_ep works fine but I would like to use FreeRTOS in my application.
Hello BuBEE,
Thanks for reaching out Renesas Community!
Try to enable Support Dynamic Allocation, which is located above the total Heap Size.
Also, there are some extra errors, that should be fixed, according to your screenshot. Some features should be undefined.
Regards,
AL_Renesas
Thanks for your answer.
Yes, after enabling the Support Dynamic Allocation the error message for heap size is gone.
Best Regards,