I use Teensyduino on Windows to write Teensy code.
I actually use a Raspberry Pi and a Teensy on a robot, to which I'm connecting remotely.
I'm using plain ssh and vim for developing on the Pi.
I'd like to not have to walk over to the robot, re-plug the Teensy into the Windows machine, flash it, and plug it back, when I want to update the software.
There are two ways I can do this:
1) Use cross-compiler magic to generate ARM/Thumb code for the Teensy on the RPi, using a makefile project, and use vim to edit the Teensy code just like I do for the Pi.
2) Hook the Arduino IDE to somehow use ssh (pscp/plink) to put the compiled HEX file onto the RPi, and then tell the RPi to push the new binary to the Teensy.
If I wanted to try option 2), what would be the easiest way to do this?
I actually use a Raspberry Pi and a Teensy on a robot, to which I'm connecting remotely.
I'm using plain ssh and vim for developing on the Pi.
I'd like to not have to walk over to the robot, re-plug the Teensy into the Windows machine, flash it, and plug it back, when I want to update the software.
There are two ways I can do this:
1) Use cross-compiler magic to generate ARM/Thumb code for the Teensy on the RPi, using a makefile project, and use vim to edit the Teensy code just like I do for the Pi.
2) Hook the Arduino IDE to somehow use ssh (pscp/plink) to put the compiled HEX file onto the RPi, and then tell the RPi to push the new binary to the Teensy.
If I wanted to try option 2), what would be the easiest way to do this?