Changes between Version 21 and Version 22 of Developer/Eclipse/Plugin


Ignore:
Timestamp:
Nov 22, 2014, 5:25:42 AM (5 years ago)
Author:
Chris Johns
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Developer/Eclipse/Plugin

    v21 v22  
    77= Introduction =
    88
    9 This page describes how to setup and use the RTEMS Eclipse Plug-in.  This plug-in extends [http://www.eclipse.org/cdt CDT] and all features of a full-fledged Eclipse/CDT IDE with an ordinary GNU toolchain are available.  The GDB based debug support works also.  Supported platforms are: Cygwin, MinGW, MacOS X and UNIX.  Every RTEMS target architecture and BSP that provides the standard Makefiles is supported.  These are at least the ones managed by the RTEMS repository from OAR.
     9This page describes how to setup and use the RTEMS Eclipse Plug-in.  This plug-in extends [http://www.eclipse.org/cdt CDT] and all features of a full-fledged !Eclipse/CDT IDE with an ordinary GNU toolchain are available.  The GDB based debug support works also.  Supported platforms are: Cygwin, MinGW, MacOS X and UNIX.  Every RTEMS target architecture and BSP that provides the standard Makefiles is supported.  These are at least the ones managed by the RTEMS repository from OAR.
     10
    1011= Starting Point =
    1112
    1213You should be able to build a simple ''Hello, World!'' application for your BSP with the standard Makefiles.
     14
    1315= Eclipse Installation =
    1416
     
    1618
    1719If on Fedora, then you will want to load the eclipse-cdt RPM.
     20
    1821= Plug-In Installation =
    1922
    2023You can install the plug-in via the standard Eclipse infrastucture.  Simply add http://www.rtems.org/ftp/pub/rtems/eclipse/updates/ to the software update sites ('''Help > Install New Software...''').
    2124
    22 <center>[[Image(repi-install.jpg)]]</center>
     25[[Image(repi-install.jpg)]]
     26
    2327= Plug-In Setup =
    2428
    2529After the plug-in installation you should setup the preferences ('''Window > Preferences''').
    2630
    27 <center>[[Image(repi-setup.jpg)]]</center>
     31[[Image(repi-setup.jpg)]]
    2832
    2933Base path: is the path to the RTEMS installed toolchain
    3034
    3135BSP path: is the path to the RTEMS installed BSP Makefile.inc
    32 # Ensure that RTEMS was installed
    33 # Go to the PREFIX directory (the standard was /opt/rtems-4.11 new standard will be /home/user/development/rtems/4.11)
     361. Ensure that RTEMS was installed
     371. Go to the PREFIX directory (the standard was /opt/rtems-4.11 new standard will be /home/user/development/rtems/4.11)
    3438Find the Makefile.inc
    3539 '''/home/user/development/rtems/4.11$''' find -name Makefile.inc
     
    3943
    4044Navigate to the '''/home/user/development/rtems/4.11/sparc-rtems4.11/sis''' when selecting a BSP path
     45
    4146= Project Creation =
    4247
    4348Switch to the ''C/C++ Perpective'' ('''Window > Open Perspective > Other > C/C++ Perpective''').  You can now create a new ''C Project'' or ''C++ Project'' ('''File > New > C Project''' or '''File > New > C++ Project''') and follow the wizard.  You can create projects for RTEMS executables and static libraries.  A ''Hello, World!'' template is also available.
    4449
    45 <center>[[Image(repi-project.jpg)]]</center>
     50[[Image(repi-project.jpg)]]
     51
    4652= Project Properties =
    4753
    4854You can change the RTEMS specific project properties like RTEMS base installation path and board support package path via the standard properties dialog ('''Project > Properties''') and with the project wizard.
    4955
    50 <center>[[Image(org-rtems-cdt-props.jpg)]]</center>
     56[[Image(org-rtems-cdt-props.jpg)]]
     57
    5158= Trouble Shooting =
    5259
     
    5663Consult the problems view ('''Window > Show View > Problems'''), if something works not like expected.  Errors like below indicate that the paths in the RTEMS preferences and properties are not correct.
    5764
    58 <center>[[Image(org-rtems-cdt-problem-0.jpg)]]</center>
    59 <center>[[Image(org-rtems-cdt-problem-1.jpg)]]</center>
     65[[Image(org-rtems-cdt-problem-0.jpg)]]
     66[[Image(org-rtems-cdt-problem-1.jpg)]]
     67
    6068= Cross-references not Working =
    6169