View Single Post
  #1   Spotlight this post!  
Unread 05-02-2009, 18:39
HarryScheiner HarryScheiner is offline
Mentor for Team 1358
FRC #1358 (MacArthur Generals)
Team Role: Programmer
 
Join Date: Feb 2009
Rookie Year: 2007
Location: New York
Posts: 18
HarryScheiner is an unknown quantity at this point
How do I load the default code?

Hi, I'm trying to set up Wind River with the default code to get at least something on the flash memory of the cRIO. I've set up a project with the SimpleTemplate, but from what I can see, the project only includes .h files, and MyRobot.cpp. Shouldn't there be .cpp files for each .h file? I can see no declarations for any of the functions in the .h files anywhere in the project, and I searched for ".cpp" in the WindRiver directory and could not find anything. However, I downloaded the source code (WPILibRC0.1718SourceCode.zip) from http://first.wpi.edu/FRC/frcupdates.html , but I can't figure out what directory it has to go in in order for this to work.

Any help would be greatly appreciated. Thank you.


EDIT: I forgot to mention, the default code from the cRIO imaging tool works fine, but it does not stay in memory after a reboot.

Last edited by HarryScheiner : 05-02-2009 at 18:41.
Reply With Quote