Skip to main content

Crate csky

Crate csky 

Source
Expand description

Experimental CPU-level primitives for C-SKY ABIv2 microcontrollers.

This crate deliberately owns no reset handler, linker script, peripheral address, or board memory map. Those belong in a runtime or device crate. The llvm-asm-bootstrap feature provides a temporary LLVM-assembled shim for C-SKY control-register instructions that LLVM MC cannot spell yet.

The implementation is currently exercised on CK80x QEMU models. Hardware validation is still required before treating these APIs as production-ready.

Modulesยง

asm
Core instruction and compiler-ordering helpers.
interrupt
Local interrupt-mask operations.
register
CPU control-register access.