I am uploading code to a Teensy remotely via SSH from a Raspberry Pi using arduino-cli (since terminal is the only interface available).
Commands used:
Compilation (works fine):
Upload (works on Raspberry Pi locally, but not over SSH*):
However the command throws an error that says that Teensy Loader is not running (when upload command is run over SSH), if I run the same commands used to compile and upload to the Teensy on the RPi itself, it works fine.
Once the Teensy Loader application is running on the Raspberry Pi, and now if I try running the upload command over SSH it works just fine.
This lead me to believe that what is necessary for the upload command to work over SSH is for Teensy Loader to be running on the RPi when upload is required to work remotely, but I was unable to find the binary that needs to be executed to get the GUI to appear on the RPi.
My question is where (or how) do I find the file that needs to be run for Teensy Loader's GUI to appear when it is executed from the terminal?
Commands used:
Compilation (works fine):
Code:
arduino-cli compile -v --fqbn teensy:avr:teensy41 /home/pi/AutoTrainerModular/AutoTrainerModular.ino --output-dir /home/pi/BuildATM/ --libraries /home/pi/.arduino15/packages/teensy/hardware/avr/1.57.2/libraries
Upload (works on Raspberry Pi locally, but not over SSH*):
Code:
arduino-cli upload -v --fqbn teensy:avr:teensy41 --port /dev/ttyACM0 /home/pi/AutoTrainerModular/AutoTrainerModular.ino
However the command throws an error that says that Teensy Loader is not running (when upload command is run over SSH), if I run the same commands used to compile and upload to the Teensy on the RPi itself, it works fine.
Once the Teensy Loader application is running on the Raspberry Pi, and now if I try running the upload command over SSH it works just fine.
This lead me to believe that what is necessary for the upload command to work over SSH is for Teensy Loader to be running on the RPi when upload is required to work remotely, but I was unable to find the binary that needs to be executed to get the GUI to appear on the RPi.
My question is where (or how) do I find the file that needs to be run for Teensy Loader's GUI to appear when it is executed from the terminal?