sifive / freedom-e-sdk

Open Source Software for Developing on the Freedom E Platform - Deprecated
Other
581 stars 206 forks source link

Add BSP for SparkFun RED-V board #620

Open danak6jq opened 3 years ago

danak6jq commented 3 years ago

Some time ago, I took a stab at adding a BSP for the SparkFun RED-V, similar to the HiFive B. I've used the BSP for a few projects but openly admit I was stumbling around in dim light when I did this. I suggested to SparkFun they might want it, but don't recall hearing back.

Opening a PR to (a) invite expert review and (b) perhaps contribute it upstream.

chaoyangnz commented 2 years ago

sad, no response?

ManuelonGithub commented 1 year ago

Very sad indeed. I am going through the changes you've made and I experienced errors when building with a new clone of the freedom-e-sdk. I've concluded that the new BSP name (i.e. the directory name) must have "hifive1-revb" in its name. Otherwise you will get the following undesired behaviour when building inside of freedom-e-sdk:

Although I am not a fan of how large it forces the name to be (my current fork has it as sparkfun-redv-hifive1-revb), the alternative would be to modify the two submodules and make a pull request on each... I would stick with the longer name route.