cpc / openasip

Open Application-Specific Instruction Set processor tools (OpenASIP)
http://openasip.org
Other
140 stars 42 forks source link

tutorial/riscv: elf2hex instructions are misleading #160

Closed jansol closed 2 years ago

jansol commented 2 years ago

You can use RISCV GNU Toolchain and its riscv32-unknown-elf-elf2hex tool. Or alternatively if you don’t want to install the whole toolchain, you can use other projects such as SiFive’s elf2hex ...

However the README of the linked project says

Building requires ... a RISC-V toolchain.

The correct invocation of the elf2hex tool is also not given. This might not be strictly necessary as it is fairly easy to figure out from the following part and the tool's help text, but it is inconsistent with the rest of the tutorial.

pjaaskel commented 2 years ago

Additional RISC-V requirements (I suppose only the elf2hex dumper) should be also described in INSTALL.