I want to run C code on a RISC-V core, using the Freedom Studio. There are some sample codes named as “Examples” in the freedom studio and I guess the QEMU is doing that. But writing a custom software code to run on the RISC-V core. How can this be done using Freedom Studio.
You say “a RISC-V core” and “the RISC-V core” but it’s not at all clear what hardware (I presume) RISC-V platform that you’re trying to target. Maybe you can clarify? I presume that the SiFive tools and examples clarify how to compile for SiFive hardware targets. So maybe you’re trying to deal with some other, non SiFive, RISC-V target?