Describe the bug
In case of TX_PORT_USE_BASEPRI is not defined and no task are running, function __tx_ts_wait will run forever because of consecutive calls to CPSIE I and CPSID D (see image). In my case, I have systick interrupt (higher priority than pend sv) that is pending but is never executed.
Please also mention any information which could help others to understand
the problem you're facing:
STM32U575 (Cortex M33)
threadx-6.2.1_rel
GNU gcc / STM32CUBE IDE
Debugging and replicating the issue
To Reproduce
As described in bug.
Expected behavior
After CPSIE I higher priority interrupts are pending should be executed. In my case, it's enough to call ISB after CPSIE I
Impact
If task are waiting for timeouts from systick, they will block forever.
Describe the bug In case of TX_PORT_USE_BASEPRI is not defined and no task are running, function __tx_ts_wait will run forever because of consecutive calls to CPSIE I and CPSID D (see image). In my case, I have systick interrupt (higher priority than pend sv) that is pending but is never executed.
Please also mention any information which could help others to understand the problem you're facing:
To Reproduce As described in bug.
Expected behavior After CPSIE I higher priority interrupts are pending should be executed. In my case, it's enough to call ISB after CPSIE I
Impact If task are waiting for timeouts from systick, they will block forever.
Logs and console output
Additional context