Open j0hax opened 3 weeks ago
In the current state, attempting to access a CSR results in a message like main.c:13: Error: unrecognized opcode csrr s0,0x7e2, extension zicsr required.
main.c:13: Error: unrecognized opcode csrr s0,0x7e2, extension zicsr required
The ESP32-C3 supports the _zicsr extension, which can be enable with the march compiler flag.
_zicsr
march
In the current state, attempting to access a CSR results in a message like
main.c:13: Error: unrecognized opcode csrr s0,0x7e2, extension zicsr required
.The ESP32-C3 supports the
_zicsr
extension, which can be enable with themarch
compiler flag.