How to compile on laptop, and upload with RaspberryPi

Status
Not open for further replies.

maren

Member
I have read the thread from 2012 about building for and uploading to Teensy from RaspberryPi: https://forum.pjrc.com/threads/3654-Teensy-loader-for-Raspberry-Pi/page2. I assume it is still not possible to just set up the Teensyduino IDE on a Raspberry. If I read correctly it should be possible to build on a normal linux machine and then use the RaspberryPi version of the teensy loader to upload the built machine code. Am I right about that?

Could someone please explain how to do this? Perhaps using the Blink.ino as an example.

Fx I have not found where my laptop puts the hex files mentioned in the threads. Preferably I would like to run the teensy loader via ssh, so I won't need to set up a VNC server on the RaspberryPi. Is that possible?

Sincerely
 
It looks like it is possible to run the IDE on a Raspberry Pi: http://razzpisampler.oreilly.com/ch10.html

Relating to your other question, if you go to the teensy loader on a computer and click the little "page" icon it will ask you if you want to manually choose the .hex file to load but also should show you where it was last pointing.
 
I'm having some success using Platformio command line environment to build and upload from my Raspberry Pi 2. Much faster than the Arduino IDE.

I hit a bug that the Platformio team gave me a workaround for very quickly.
 
It is certainly possible to program a regular Arduino from a RaspberryPI, but I believe it is not possible with a Teensy.

I'm doing it fine using teensy_loader_cli as provided by Platformio with a Teensy 3.1 and Raspberry Pi 2.
 
Status
Not open for further replies.
Back
Top