Go to Post The top 3 debates you don't want to bring up in a group of nerds: Mac vs PC vs Linux, Best Programming Language, and Best CAD Program. - EricH [more]
Home
Go Back   Chief Delphi > Technical > Programming > C/C++
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 09-09-2010, 13:02
masoug's Avatar
masoug masoug is offline
Food Consumer
FRC #0114
Team Role: Programmer
 
Join Date: Jan 2010
Rookie Year: 2009
Location: Planet Earth
Posts: 78
masoug is an unknown quantity at this point
Question How To Use The WindRiver Dev Shell

Hi,
I found out about the WindRiver development shell (wrenv), I I think it has the capability to build robot code without using the WindRiver Workbench.

Has anyone done this before? We have some programmers who can't get WindRiver Workbench to work, so this seems like a good idea...

Thanks!

-Masoug
__________________

JabbaScript
Reply With Quote
  #2   Spotlight this post!  
Unread 22-11-2010, 23:26
taichichuan's Avatar
taichichuan taichichuan is offline
Software Mentor
AKA: Mike Anderson
FRC #0116 (Epsilon Delta)
Team Role: Mentor
 
Join Date: Feb 2010
Rookie Year: 2010
Location: Herndon, VA
Posts: 328
taichichuan has much to be proud oftaichichuan has much to be proud oftaichichuan has much to be proud oftaichichuan has much to be proud oftaichichuan has much to be proud oftaichichuan has much to be proud oftaichichuan has much to be proud oftaichichuan has much to be proud oftaichichuan has much to be proud oftaichichuan has much to be proud of
Send a message via AIM to taichichuan
Re: How To Use The WindRiver Dev Shell

Yes, you can use the host shell to compile the robot code. This sets up a set of environment variables that allow the compiler to execute from the command line. This allows you to use a run of the mill editor like VIM/GVIM, emacs, Visual Slickedit or whatever you feel comfortable with to create the program. Then, using a traditional makefile, build the code from the command line.

Realize that the workbench tool creates Makefiles to achieve code builds under the hood. The tool simply hides all of that from you.

In addition, you can open a connection to the target via something like the network console function. You can even deploy code via any FTP client like Filezilla. Poking around the file system on the target is a must if you want to use the CAN bus because you need to copy some additional code over to the cRIO.

The tricky part is using GDB to debug code outside of the workbench GUI. Again, it's possible. But, debugging from a command line application is non-trivial. I'd stay with the GUI for the debugging of the code.

HTH,

Mike
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
pic: without the shell NCHS robonauts Extra Discussion 2 06-08-2010 08:09
How to NOT use WindRiver masoug C/C++ 9 01-05-2010 21:04
How to configure the cRIO with windriver? z.s.tar.gz C/C++ 3 17-02-2010 08:50
quation Holonomic Drive use Windriver C++ yara92 C/C++ 3 01-01-2010 06:18
How the heck do you use an XBOX360 controller with the chicklet?? waialua359 Control System 58 17-02-2008 12:43


All times are GMT -5. The time now is 13:58.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi