Describe the bug
thread code will be called in the function tx_thread_shell_entry() which is in file tx_thread_sheel_entry.c , in function tx_thread_shell_entry() there is store/restore interrupt which can be configure only in m-mode , so __tx_thread_shell_entry() run in m-mode, user creat thread code will run machine mode too.
Please also mention any information which could help others to understand
the problem you're facing:
What target device are you using? risc-v32
Which version of Azure RTOS? newest
What toolchain and environment? linux
What have you tried to diagnose or workaround this issue?
To Reproduce
Steps to reproduce the behavior:
Build my project in IAR Workbench.
See error
Expected behavior
A clear and concise description of what you expected to happen.
Impact
What impact does this issue have on your progress (e.g., annoyance, showstopper)
Logs and console output
If applicable, add console logs or other types of debug information like Wireshark capture as .zip file.
Additional context
Add any other context about the problem here.
Describe the bug thread code will be called in the function tx_thread_shell_entry() which is in file tx_thread_sheel_entry.c , in function tx_thread_shell_entry() there is store/restore interrupt which can be configure only in m-mode , so __tx_thread_shell_entry() run in m-mode, user creat thread code will run machine mode too.
Please also mention any information which could help others to understand the problem you're facing:
To Reproduce Steps to reproduce the behavior:
Expected behavior A clear and concise description of what you expected to happen.
Impact What impact does this issue have on your progress (e.g., annoyance, showstopper)
Logs and console output If applicable, add console logs or other types of debug information like Wireshark capture as
.zip
file.Additional context Add any other context about the problem here.