Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

"File->New Project..."
"C/C++ Project From Existing Code"
"Existing Makefile:" enter the "<release directory>/Makefile"
Change "Build Command:" to "gmake ppc-rtems-rce405-dbg"
Next, Next, Finish, then build the project.

You may also need to configure Code Assistance via right clicking on the project, and going to "Configure Code Assistance...", "Simple Mode".

To run RCE code:

Code Block
telnet rce22
root (nopass)

mount -t nfs 172.21.5.150:/nfsexport/home /nfs #got ip address from "mount" on rddev102
cd /nfs/ahaas/myrelease_new/build/rceapp/mod/ppc-rtems-rce405
runtask -N test ./hellomod.1.0.test.so

...

Code Block
bash
cp -r /reg/lab1/home/estrauss/release-1.0_edit .
export ROOTSYS=/reg/lab1/home/estrauss/root/
export QTBIN=/reg/lab1/home/estrauss/qt-4.4.2/bin/
cd release-1.0_edit
. setup_noTDAQ.sh

#if you want to start NetBeans:
~ahaas/netbeans-6.5.1/bin/netbeans &

#otherwise just do this:
make
bin/STcontrol

To include in code in NetBeans, look at release-1.0_edit/Makefile. Each directory needs to be added as a separate project.
Warning, if you try to just add the whole release-1.0_edit directory at once, NetBeans will may just hang forever!
For instance, to add "STcontrol" do:

...

Then repeat to add other directories/projects you're interested in, with their corresponding Makefiles and build/clean commands.

You also need to configure Code Assistance via right clicking on the project, and going to "Configure Code Assistance...", "Advanced Mode", "Explore Object Files in Folder" and folder = "release-1.0_edit/Applications/Pixel/STcontrol", for instance.