Documentation
  • Coverage
  • 0%
    0 out of 214 items documented0 out of 65 items with examples
  • Size
  • Source code size: 253.77 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.94 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 9s Average build duration of successful builds.
  • all releases: 9s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • buhe

Untitled

bugu-lang

Rust

bugu-lang based buguOS

step

  1. bugu-lang -> risc-v asm
  2. risc-v asm -> risc-v bin code
  3. risc-v bin code -> elf
  4. based on buguOS filesystem implement(fat32), risc-v bin code save fs as a block

buguOS

  1. parser elf
  2. proxy print

Todo

  • link buguOS user lib
  • env gcc bin

test

 cargo install buguc
 # add riscv gcc toolchain
 wget https://drive.google.com/file/d/16GCcvLfSQ4BD5lyCFD-D5Qq5c6GQN30l/view?usp=sharing
 # unzip gcc dist
 unzip ...
 buguc some_src.bugu
 spike --isa=RV32G env/pk some_src
 # result
 echo $?