Go to Post What? Thinking is required? I certainly hope not! If so, I'm toast! - Robert Cawthon [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 02-06-2010, 01:11
Robototes2412's Avatar
Robototes2412 Robototes2412 is offline
1 * 4 != 14
FRC #2412 (Robototes)
Team Role: Programmer
 
Join Date: Jan 2010
Rookie Year: 2007
Location: Bellevue
Posts: 312
Robototes2412 is on a distinguished road
Re: H4x0rs needed

Thank you <3

Does anyone know how to fedangle GCC into outputting a VXWORKS binary?

How about STDIN on the cRIO?
  #2   Spotlight this post!  
Unread 02-06-2010, 20:37
Radical Pi Radical Pi is offline
Putting the Jumper in the Bumper
AKA: Ian Thompson
FRC #0639 (Code Red Robotics)
Team Role: Programmer
 
Join Date: Jan 2010
Rookie Year: 2010
Location: New York
Posts: 655
Radical Pi has a spectacular aura aboutRadical Pi has a spectacular aura aboutRadical Pi has a spectacular aura about
Re: H4x0rs needed

Quote:
Originally Posted by Robototes2412 View Post
Thank you <3

Does anyone know how to fedangle GCC into outputting a VXWORKS binary?

How about STDIN on the cRIO?
The easiest way would be to just use Wind River to build it (it uses GCC also). That way you get the header files

And I believe fopen works on the cRIO if you include the right files
__________________

"To have no errors would be life without meaning. No strugle, no joy"
"A network is only as strong as it's weakest linksys"
  #3   Spotlight this post!  
Unread 03-06-2010, 18:24
Robototes2412's Avatar
Robototes2412 Robototes2412 is offline
1 * 4 != 14
FRC #2412 (Robototes)
Team Role: Programmer
 
Join Date: Jan 2010
Rookie Year: 2007
Location: Bellevue
Posts: 312
Robototes2412 is on a distinguished road
Re: H4x0rs needed

I run Linux, Wind River does not.
  #4   Spotlight this post!  
Unread 03-06-2010, 21:07
byteit101's Avatar
byteit101 byteit101 is offline
WPILib maintainer (WPI)
AKA: Patrick Plenefisch
no team (The Cat Attack (Formerly))
Team Role: Programmer
 
Join Date: Jan 2009
Rookie Year: 2009
Location: Worcester
Posts: 699
byteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of light
Re: H4x0rs needed

Quote:
Originally Posted by Robototes2412 View Post
I run Linux, Wind River does not.
But, wine+makefiles==(WindRiver-IDE)

The attached makefile & utils is from AustinSchuh:
Quote:
I have a couple scripts and patches that I've collected up that let me build WPILib and pull down the latest.

My makefile pulls down the latest WPILib (you need to point it to the latest version when that changes), patches it (I found a bug, and the makefile needs to get swapped out for it to build), pulls down the latest GCC compiler that is needed to compile for the cRIO, and then builds the code. So, once all the pieces are found and together, it works like a charm.

If I'm doing things right, and you have all the unlisted prerequisites, all you should have to do is type make in the MainRobot directory. And then wait. Make sure you have wput, ftp, and wine, to start with.

The paths might not seem to make the most sense now, but I'm pulling things from our repository and this is how things are set up.
Quote:
Type make to build the code

Type make deploy to deploy the code. You will have to edit the makefile to change all IP addresses from 10.9.71.2 to your team number.

And that's it. If you want to add more source files, add them on the line that goes something like MainRobot.o.

Once you are that far, you can start poking at it a bit more. It's definately not the most polished makefile in existence.
Attached Files
File Type: tgz gcc-linux-wpilib.tgz (4.6 KB, 83 views)
__________________
Bubble Wrap: programmers rewards
Watchdog.Kill();
printf("Watchdog is Dead, Celebrate!");
How to make a self aware robot: while (∞) cout<<(sqrt(-∞)/-0);
Previously FRC 451 (The Cat Attack)
Now part of the class of 2016 at WPI & helping on WPILib
  #5   Spotlight this post!  
Unread 03-06-2010, 22:17
Robototes2412's Avatar
Robototes2412 Robototes2412 is offline
1 * 4 != 14
FRC #2412 (Robototes)
Team Role: Programmer
 
Join Date: Jan 2010
Rookie Year: 2007
Location: Bellevue
Posts: 312
Robototes2412 is on a distinguished road
Re: H4x0rs needed

It works
  #6   Spotlight this post!  
Unread 04-06-2010, 23:27
Robototes2412's Avatar
Robototes2412 Robototes2412 is offline
1 * 4 != 14
FRC #2412 (Robototes)
Team Role: Programmer
 
Join Date: Jan 2010
Rookie Year: 2007
Location: Bellevue
Posts: 312
Robototes2412 is on a distinguished road
Re: H4x0rs needed

I have a working version of this!

see the zip

deploy the code (warning, linux makefile) and copy MainRobot/lolcode/example.lol to tour robot's root at /robot.lol

you do have to extract the supplied zip of the wpi library, i had to mod it

oh, DONT USE GIMMEH, YOU WILL GET STUCK IN AN INFINITE LOOP
Attached Files
File Type: zip MainRobot.zip (928.1 KB, 28 views)

Last edited by Robototes2412 : 04-06-2010 at 23:39. Reason: forgot something
  #7   Spotlight this post!  
Unread 07-06-2010, 17:52
demosthenes2k8's Avatar
demosthenes2k8 demosthenes2k8 is offline
Graduated but not gone
AKA: Matt Soucy
FRC #0166 (Chop Shop 166)
Team Role: Mentor
 
Join Date: Jan 2009
Rookie Year: 2007
Location: Merrimack, NH
Posts: 589
demosthenes2k8 is a splendid one to beholddemosthenes2k8 is a splendid one to beholddemosthenes2k8 is a splendid one to beholddemosthenes2k8 is a splendid one to beholddemosthenes2k8 is a splendid one to beholddemosthenes2k8 is a splendid one to beholddemosthenes2k8 is a splendid one to beholddemosthenes2k8 is a splendid one to behold
Send a message via AIM to demosthenes2k8 Send a message via Yahoo to demosthenes2k8
Re: H4x0rs needed

You are amazing for doing that. It's kind of awesome.
What did you base the code on?
__________________


GSR Dean's List Finalist 2011
  #8   Spotlight this post!  
Unread 08-06-2010, 16:44
Robototes2412's Avatar
Robototes2412 Robototes2412 is offline
1 * 4 != 14
FRC #2412 (Robototes)
Team Role: Programmer
 
Join Date: Jan 2010
Rookie Year: 2007
Location: Bellevue
Posts: 312
Robototes2412 is on a distinguished road
Re: H4x0rs needed

Justin J Meza's LOLCODE interpreter

http://icanhaslolcode.com

It wont work though can i have a crio emulator please?
  #9   Spotlight this post!  
Unread 08-06-2010, 18:24
Radical Pi Radical Pi is offline
Putting the Jumper in the Bumper
AKA: Ian Thompson
FRC #0639 (Code Red Robotics)
Team Role: Programmer
 
Join Date: Jan 2010
Rookie Year: 2010
Location: New York
Posts: 655
Radical Pi has a spectacular aura aboutRadical Pi has a spectacular aura aboutRadical Pi has a spectacular aura about
Re: H4x0rs needed

Quote:
Originally Posted by Robototes2412 View Post
It wont work though can i have a crio emulator please?
No such thing for C teams. Wind River makes one, but we don't get it
__________________

"To have no errors would be life without meaning. No strugle, no joy"
"A network is only as strong as it's weakest linksys"
  #10   Spotlight this post!  
Unread 09-06-2010, 19:29
Robototes2412's Avatar
Robototes2412 Robototes2412 is offline
1 * 4 != 14
FRC #2412 (Robototes)
Team Role: Programmer
 
Join Date: Jan 2010
Rookie Year: 2007
Location: Bellevue
Posts: 312
Robototes2412 is on a distinguished road
Re: H4x0rs needed

D:

what is the equilavent of STDIN/OUT on the CRIO?
  #11   Spotlight this post!  
Unread 09-06-2010, 23:10
Radical Pi Radical Pi is offline
Putting the Jumper in the Bumper
AKA: Ian Thompson
FRC #0639 (Code Red Robotics)
Team Role: Programmer
 
Join Date: Jan 2010
Rookie Year: 2010
Location: New York
Posts: 655
Radical Pi has a spectacular aura aboutRadical Pi has a spectacular aura aboutRadical Pi has a spectacular aura about
Re: H4x0rs needed

stdout seems to go to the console/netconsole. I don't think stdin goes anywhere
__________________

"To have no errors would be life without meaning. No strugle, no joy"
"A network is only as strong as it's weakest linksys"
  #12   Spotlight this post!  
Unread 10-06-2010, 13:23
Robototes2412's Avatar
Robototes2412 Robototes2412 is offline
1 * 4 != 14
FRC #2412 (Robototes)
Team Role: Programmer
 
Join Date: Jan 2010
Rookie Year: 2007
Location: Bellevue
Posts: 312
Robototes2412 is on a distinguished road
Re: H4x0rs needed

how do you access the netconsole manually?
Closed Thread


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
Help Needed. Mars FIRST Lego League 3 30-12-2007 14:03
Volunteers needed! KathieK FIRST Tech Challenge 0 01-11-2006 21:12
Help needed.... Pin Man General Forum 9 02-06-2003 20:40
videos needed archiver 1999 3 23-06-2002 22:09
VIDEO NEEDED archiver 2000 0 23-06-2002 22:07


All times are GMT -5. The time now is 11:03.

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