O'Reilly logo

Rapid BeagleBoard Prototyping with MATLAB and Simulink by Dr.Fei Qin, Dr. Xuewu Dai

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Build your first Hello World! program

Now the cross-compiler and the Eclipse IDE for BeagleBoard have been set up on Windows 7 and we are going to write our first program, a classic Hello World!, on the Eclipse IDE, build it to get an executable program, and then run it on the BeagleBoard.

Creating your first project in Eclipse

Before we start typing code, we need to create a project so that we can easily manage the source files and configure the compilation options. Follow the steps to create your first C project:

  1. Switch the Eclipse IDE into C/C++ perspective.
  2. Create a C project. From the menu bar, select File | New | C Project. In the C project window, type in a project name (for example, helloworld). On the left panel of Project Type, select

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required