4 releases (2 breaking)
0.3.0 | Jan 17, 2022 |
---|---|
0.2.1 | Jan 10, 2022 |
0.2.0 | Jan 10, 2022 |
0.1.0 | Dec 29, 2021 |
#1095 in Development tools
82KB
2K
SLoC
Contains (ELF exe/lib, 150KB) env/pk
bugu-lang
bugu-lang based buguOS
step
- bugu-lang -> risc-v asm
- risc-v asm -> risc-v bin code
- risc-v bin code -> elf
- based on buguOS filesystem implement(fat32), risc-v bin code save fs as a block
buguOS
- parser elf
- 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 $?