Black Lives Matter - Action and Equality. ... Adafruit is open and shipping.
0

Linux install
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

Linux install

by csva on Thu May 28, 2020 9:30 pm

It went pretty good but I have some comments on https://learn.adafruit.com/building-circuitpython/linux

Code: Select all | TOGGLE FULL SIZE
cd ~/bin
tar xvf <name of the .bz2 file you downloaded>

Put this "...Choose which board you want to build for..." on a new line.
This also implies you have a "/bin" folder in your user directory, not necessarily automatic.

"... Copy firmware.uf2 to your board the same way you'd update CircuitPython: Double-click to get the BOOT drive, and then just copy the .uf2 file:

Code: Select all | TOGGLE FULL SIZE
cp build-circuitplayground_express/firmware.uf2 /media/yourname/CPLAYBOOT

"Copy the same way?" Is that the only way? I like to use KDE Dolphin, F4 gets you a terminal in the same directory you are looking at, and CTRL+t get you a new tab, F3 gets you split window with two directories where its easy to drag-drop files. Updating the CircuitPython does not look like a copy.

Change Double-click the reset button, then:
to Double-click the reset button of your board, then:

"... build-circuitplayground_express..." is a specific board, (was news to me). I suppose you could build for other boards too, so maybe <put-board-name-here> is more clear.

Thanks

csva
 
Posts: 7
Joined: Wed Mar 14, 2018 5:55 pm

Re: Linux install

by tannewt on Fri May 29, 2020 1:52 pm

What are you trying to do? Run CircuitPython on Linux or build it yourself for a board you have?

tannewt
 
Posts: 1693
Joined: Thu Oct 06, 2016 8:48 pm

Re: Linux install

by csva on Fri May 29, 2020 6:52 pm

Both.

csva
 
Posts: 7
Joined: Wed Mar 14, 2018 5:55 pm

Re: Linux install

by tannewt on Fri May 29, 2020 8:00 pm

Ok, to give guide feedback please click the "Feedback? Corrections?" link on the guide page on the bottom left of any guide page.

We don't usually run CircuitPython proper on Linux. Usually, we only run it on the boards themselves.

Anything further you are trying to do? Seems like you sorted it all out.

tannewt
 
Posts: 1693
Joined: Thu Oct 06, 2016 8:48 pm

Please be positive and constructive with your questions and comments.