Part Number: CC1312R
I'm currently using simplelink_cc13x2_26x2_sdk_5_10_00_48 and TI RTOS is flashed directly onto ROM. As far as I can see, the checkStackFlag must be set to false in this situation by default. How can I trigger an interrupt when a stack overflow occurs? I've used the Task_stat() function, but was wondering if there was a more 0-cost way to alert the application exactly when a stack overflow occurs. Also is it safe to use Task_stat() from a hard fault handler interrupt? The documentation on Task_stat only states that it is not recommended as the function is not time deterministic. Are there any ways to make it safe?