|
Re: WPILib and Eclipse
Now you're getting more into the specifics of how Eclipse works, and that's pretty well documented (including steps and examples) in the Eclipse "C/C++ Development User Guide". I recommend you check it out.
Your WPILib project will work just like any other Eclipse C/C++ project; just trust the plugins to create the project for you and make all the right property settings. If you create a project and just add a simple WPILib example file, it should compile and link with no changes required to the Project properties.
After you compile and link, the generated objects and .hex file will be placed in a subdirectory under your project directory, and will be named based on the toolchain that you chose to use (e.g. mine is called "vEx WPILib Robot"). This allows you to use the same project directory and source files for multiple projects (e.g. a Vex project and an FRC project can use the same code; they just need to be compiled and linked differently).
You'll still need to use either the IFI Loader or the one that comes with EasyC to move the .hex file to the robot. Note that you can use the Loader that comes with EasyC (and take advantage of its graphics terminal capability) without actually having an EasyC license on your machine. Just use the graphics terminal routines available in WPILib.
HTH.
|