Hifive1 revb on mac

(Girishsanthosh Ranganathan) #1

Hello, I just got my hifive1-revb board and I am trying to set it up on mac and run basic programs on it. Since the manual does not have mac support, I would like to post on the forum to see if anybody here can share their experience. I don’t have any previous experience on dev-board.

Here are the things I tried/did

-> Connected the board, LEDs are blinking, bootloader seems fine.
-> I have downloaded the Freedom -e-sdk from github onto my mac.
-> Checked the connectivity of debug interface with the host with lsusb.
-> Board shows up as as serial device with cu.usbmodem*
-> I configured the board using the following command and it printed the message on the document
picocom -b 115200 /dev/cu.usbserial-*
-> I downloaded Freedom-e-sdk from github and try to upload hello program into the flash, using the command
make BSP=metal PROGRAM=hello TARGET=sifive-hifive1-revb upload

I am seeing the following config error and doesn’t go through
configure: error: in `/Users/girish/freedom-e-sdk/bsp/sifive-hifive1-revb/build/debug’:
configure: error: C compiler cannot create executables

Can someone please help me to debug this error? I am kind of stuck here for almost a week now.