A portable library uses atomic operations, but a small RISC-V MCU implements fewer extensions than the original target. What should be checked to understand whether those operations remain correct and appropriate for interrupt use?
Reference: GCC: RISC-V target options (https://gcc.gnu.org/onlinedocs/gcc/RISC-V-Options.html).




