You need to use the Freedom Studio to run the code,
-
Create a new empty project
New - Create Freedom E SDK Project- choose empty project - Finish
-
Add the code to project/src
-
Run / Debug
This demo is basically forked from Western Digital RISC-V ASM Tutorials, the demo will make the LED flashes red, green and blue in turn.
And this demo is written by RISC-V assembly language, it's very helpful for you to learn how the CPU control the devices and how to read a board manual, the video you can get from youtube or bilibili