icyphy / lf-buckler

Programming an nRF embedded board with a Berkeley Buckler daughter card using Lingua Franca.
BSD 2-Clause "Simplified" License
7 stars 0 forks source link

Typo in README setup #23

Closed Fi50 closed 1 year ago

Fi50 commented 1 year ago

I'm new to this so mayhaps I misunderstand, but is this a typo?

Add the following to the botton of the file. The run the source command to load into current shell instance.

export PATH="$HOME/lfc_0.3.0/bin/lfc:$PATH"
source ~/.bashrc

Replace the above $HOME/lfc_0.3.0 wiht the actual path to the version you downloaded.

At least on macOS, the command should be:

export PATH="$HOME/lfc_0.3.0/bin:$PATH"
source ~/.bashrc

In addition, might be worth pointing out that the macOS Terminal uses .bash_profile rather than .bashrc, unlike other Unix-likes.

(Sorry, not sure if it's normal opening issues for minor things lol.)

lhstrh commented 1 year ago

Thanks! You're right, this is a typo. I'll fix it right away and point out that macOS uses .bash_profile.

Fi50 commented 1 year ago

Also, regarding the FIXME at the very top, the VMs are available here (EECS149 2022 course staff).

And this part:

If your nRF52 does not have the Buckler board mounted on it, then:

lfc src/BuiltInLEF.lf

Should be:

lfc src/BuiltInLED.lf
lhstrh commented 1 year ago

Fixed!