|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
Using WindRiver from the command line?
Is there some way of compiling and deploying code from the command line? Our non-programming teammates want to be able to deploy and use code if none of our programmers are present. I've showed several of them how to do it from WindRiver/wrote step-by-step instructions, but I'm looking for a way to simplify the process.
I'm fairly certain deploying the code is just a matter of using ftp to transfer the compiled file to the cRio. Which folder should I place the compiled file in? |
|
#2
|
||||
|
||||
|
Re: Using WindRiver from the command line?
I'm not sure about windriver, but with java, there's several other things that are sent to the robot such as a manifest file which tells the robot what code to run when it starts up.
|
|
#3
|
|||
|
|||
|
Re: Using WindRiver from the command line?
I think I figured out at least the first part. Assuming that your WindRiver install is located at C:\WindRiver and your project is located in C:\WindRiver\workspace\SimpleTemplate, you need to...
I'm still uncertain about the second part though. |
|
#4
|
|||
|
|||
|
Re: Using WindRiver from the command line?
Deploying the code is just a matter of (from ucpp)
Code:
wput -u $CPP_PROJECT_NAME/Debug/$CPP_PROJECT_NAME.out ftp://anonymous@$DEPLOY_IP/ni-rt/system/FRC_UserProgram.out |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|