mirror of
https://github.com/PiMaker/rvc.git
synced 2024-11-22 03:55:20 +00:00
7f47c7655d
Note that the 'riscv32ima-unknown-none-elf' target is not available by default in rustc, you need a patched version. I'm also pretty sure just converting the ELF binary to raw using objdump messes with stack and heap addresses, but it seems to work fine for now.
10 lines
185 B
TOML
10 lines
185 B
TOML
[package]
|
|
name = "rust_payload"
|
|
version = "0.1.0"
|
|
edition = "2018"
|
|
|
|
[dependencies]
|
|
riscv = "0.6.0"
|
|
linked_list_allocator = "0.9.0"
|
|
lite-json = {version="0.1.3", default-features=false}
|