Search icon CANCEL
Subscription
0
Cart icon
Close icon
You have no products in your basket yet
Save more on your purchases!
Savings automatically calculated. No voucher code required
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Rapid BeagleBoard Prototyping with MATLAB and Simulink

You're reading from  Rapid BeagleBoard Prototyping with MATLAB and Simulink

Product type Book
Published in Oct 2013
Publisher Packt
ISBN-13 9781849696043
Pages 152 pages
Edition 1st Edition
Languages

Table of Contents (15) Chapters

Rapid BeagleBoard Prototyping with MATLAB and Simulink
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
1. Introducing BeagleBoard 2. Installing Linux on the BeagleBoard 3. C/C++ Development with Eclipse on Windows 4. Automatic Code Generation 5. Digital I/O and Serial Communication 6. Voice Recognition 7. Digital Video-Based Motion Detection Wrapping Up Index

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 Empty Project under ARM Cross Target Application. On the right panel of Toolchains, select ARM Windows GCC (Sourcery G++ Lite), and click on the Finish button. Then a project is created and a new folder helloworld, named after the project name, is created...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €14.99/month. Cancel anytime}