b875108cd0
Fast subsequent reads and writes to the mstatus csr lead to illegal instruction exceptions on the nucleisys bumblee core of the gd32vf103. This behavior only occurred in high load situations e.g. interrupt frequency of 5khz but reliably let to these errors. Adding the instruction and memory barriers solved the problem. There is some negligible performance impact. |
||
---|---|---|
.. | ||
common | ||
hal | ||
various | ||
.keep |