rust-embedded / riscv

Low level access to RISC-V processors
822 stars 160 forks source link

lib: gate delay module and asm under `delay` feature #126

Closed luojia65 closed 1 year ago

luojia65 commented 1 year ago

RISC-V Privileged Specification and Unprivileged Specification didn't really define a standard way of delaying a period of time. We gate delay features in riscv crate under delay feature, so users may enable this feature to use those custom features.

r? @dkhayes117

Disasm commented 1 year ago

I don't get the point. Why this feature should be put behind a feature-gate? Does it introduce an incompatibility with some hardware implementation?

luojia65 commented 1 year ago

Thanks! Closing for