amperka / ino

Command line toolkit for working with Arduino hardware

Home Page:http://inotool.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Uploading existing code

greenspray opened this issue · comments

I just installed Ino yesterday. I usually use GUI but I want to work from remote location so I have to edit/upload sketches that I wrote from Arduino IDE. I cannot seem to figure out how to do that. I looked over the --help but there is nothing about it. Can anyone guide me?

I also tried
ino preproc [sketch name]
Just as hit and trial. I get the error "No project found in this directory."

I want this too. Did you figure this out?

I was hoping that there would be some flag to fix this

Should work through ssh...

@translucide what do you mean by that?

@Annonomus-Penguin Well I mean that everything you do on a computer with ino can be done remotely via ssh, so if I understand correctly you want to upload a sketch you made with arduino IDE locally and compile&upload it to a device connected to another computer... that could be done through ssh.

I am not sure however I understand correctly what you want to do here...

The only solution I found was to copy the ino file and rename it to
sketch.ino. And you'll have to put the file in src/ directory. It would
look like this :
..
src/sketch.ino
lib/
..

This is not a good solution but it works and we are engineers :D

On Sat, Dec 13, 2014 at 9:50 AM, Translucide notifications@github.com
wrote:

Well I mean that everything you do on a computer with ino can be done
remotely via ssh, so if I understand correctly you want to upload a sketch
you made with arduino IDE locally and compile&upload it to a device
connected to another computer... that could be done through ssh.

I am not sure however I understand correctly what you want to do here...


Reply to this email directly or view it on GitHub
#210 (comment).

@greenspray that doesn't work for me. I had to do the file structure of this:

foldername
  - src
     * src.ino
     * [other files]
  - lib

The Arduino IDE requires the file to be in a folder with the same name as the sketch file for me.

So it's impossible to use ino and the arduino IDE on the same project?