The Sparkfun GitHub repo for the RED-V BSP is over 18 months old, and there’s been quite bit of work done upstream at SiFive, so I forked SiFive upstream and created my own BSP in master.
I cloned the SiFive HiFive RevB BSP and edited the definitions for LED0 and it appears to work correctly with the examples I’ve tried. Note that the RED-V has a single monochrome LED instead of the RGB LED of the HiFive, so you’ll need to tweak the examples that access the LED to omit the RGB access.
If interested, have a look at:
https://github.com/danak6jq/freedom-e-sdk
I’ve created a PR for Sparkfun to pick this up if they’re interested.
Any issues/etc. please let me know.
Dana