This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

How to modify macro TLS_THREAD_STACK_SIZE in TLS_mbed.c file

Hi,

There is #define TLS_THREAD_STACK_SIZE defined as 4096 in TLS_mbed.c file. I want to update this macro to some higher value based on my project requirement. I am using CMSIS setting as RTOS (RTX5) and RTOS2 (RTX5). How can I update this variable?  Based on my understanding, RTX5 doesn't provide any config file like RTX_Conf_CM.c  which is added when using RTX4. 

Parents
  • Yes that is what we have done but as this is part of library files, we should not be making any changes in this file. If we change value in TLS_mbed.c file itself, every other person who tries to use the project need to go and modify the library files, which is not the ideal way of doing it.

    That is why I am looking for some other alternative for modifying this value.

Reply
  • Yes that is what we have done but as this is part of library files, we should not be making any changes in this file. If we change value in TLS_mbed.c file itself, every other person who tries to use the project need to go and modify the library files, which is not the ideal way of doing it.

    That is why I am looking for some other alternative for modifying this value.

Children