Teensy loader cli on fresh noobs raspbian install on raspberry pi

Status
Not open for further replies.

Gibbedy

Well-known member
How do I do this.
I would like to have command line teensy loader on a raspberry pi so I can upload hex to raspberry pi then load my teensy without need to be physically near it.
Thanks.

piTeensyLoader.PNG

edit:
This is what I did:

Noobs raspbian install then.
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install samba samba-common-bin
sudo mkdir -m 1777 /share
sudo vi /etc/samba/smb.conf
Add this to the end of the file:
[share]
Comment = Pi shared folder
Path = /share
Browseable = yes
Writeable = Yes
only guest = no
create mask = 0777
directory mask = 0777
Public = yes
Guest ok = yes
sudo /etc/init.d/samba restart
sudo apt-get install libusb-dev
copy teensy loader cli source to raspberry pi samba share.
Goto teensy loader source folder and type
make.
Copy compiled binary to somewhere. This sounds good.
sudo cp teensy_loader_cli /usr/local/bin

t4.PNG
 
Last edited:
edit..
I think it's working.
 

Attachments

  • t2.PNG
    t2.PNG
    32.5 KB · Views: 153
  • t3.PNG
    t3.PNG
    34.9 KB · Views: 138
Last edited:
The files have to go into a local directory on the rasPi and you have to launch the C compiler which is installed with your Linux distro on the RasPi (can't guess from here which one it is) but basically, the procedure is the same as for all other software which you compile from the sources and install on a Linux system, thus you for sure have already done it. On many systems, it's going to the source directory and executing "make install" on the command line after having installed all the needed libraries and headers.
 
Thanks thermonuclear.
I just typed make and that worked. I’m guessing make install puts the compiled binary in a useful location. Anyhow going now.
 
Status
Not open for further replies.
Back
Top