Project Home
Project Home
Trackers
Trackers
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - Uploading to target: (5 Items)
   
Uploading to target  
Hi,
can I just upload a binary to the target without executing? I know I can use the Target Filesystem Navigator, but it 
would be much easier to set up a make-target (or run-configuration) that uploads the binary after building it or with a 
single mouseclick.

Regards
Christian
RE: Uploading to target  
There is an "Upload" tab in the QConn (IP) run configuration, you can update binary and shared libraries. You can use 
the "Shared Libraries" section to update files.

Does it meet your need?

Thanks,
Andy


-----Original Message-----
From: Christian Reinecke [mailto:community-noreply@qnx.com]
Sent: Fri 15/01/2010 3:12 AM
To: general-ide
Subject: Uploading to target
 
Hi,
can I just upload a binary to the target without executing? I know I can use the Target Filesystem Navigator, but it 
would be much easier to set up a make-target (or run-configuration) that uploads the binary after building it or with a 
single mouseclick.

Regards
Christian




_______________________________________________

General
http://community.qnx.com/sf/go/post45278


Attachment: Text winmail.dat 2.62 KB
Re: Uploading to target  
Hi, Christian,

Perhaps you could add an install target to your makefile that does an
scp/rcp/ftp command to copy your binaries to the target, assuming that
you have the required service running on the target.

I recall from another post that you use QNX projects.  If that is the
case, then rather than an install target, you might just add the
scp/rcp/ftp command as a Post Build Action in the "Linker" tab of the
Project Properties dialog.  The output binary can be referenced using
the $(BUILDNAME) variable in your command.

HTH,

Christian


On Fri, 2010-01-15 at 03:12 -0500, Christian Reinecke wrote:

> Hi,
> can I just upload a binary to the target without executing? I know I can use the Target Filesystem Navigator, but it 
would be much easier to set up a make-target (or run-configuration) that uploads the binary after building it or with a 
single mouseclick.
> 
> Regards
> Christian
> 
> 
> 
> 
> _______________________________________________
> 
> General
> http://community.qnx.com/sf/go/post45278


Re: Uploading to target  
Good morning,

the uploading via "Run Configuration"->Upload won't work, because not every file is a binary (i.e. there are config-
files), and the uploader just wants binaries.

Do you have an example how to copy files to the target via a make-target? How do I access my Target? 
Re: Uploading to target  
You want to upload config file every time you do make? There is no way
to do through IDE, you have to write a script and call it from make
to do that. You also can call this script before launch if you create
"Group Launch" and include upload script running as first command.