The next series of posts are targeted at beginners to the ARM family. We will first need to install the required tools to get started.
The first thing required to make everything working is Java.
Make sure you get the latest tools and set automatic updates on for all
software you use. Also, make sure to download a 64 bit version of Java, if your
processor is 64 bit or a 32 bit version otherwise. Java can be downloaded from
the following link.
After Java is installed, download the latest version of
MinGW tools for the gcc compiler. Also make sure the MSYS folder is inside the
MinGW folder. Try to install all the software in their default paths. MinGW can
be installed using the following setup.
Now, we will proceed with setting up the GNU tools for ARM
embedded processors. Download the latest version of the executable file (.exe).
I’ve downloaded the “gcc-arm-none-eabi-4_9-2015q1-20150306-win32.exe“
version, which is the current version at the time of this write-up. The tools can
be downloaded from the below link.
We will also need to install the OpenOCD (Open On Chip
Debugger) required for debugging. This can be downloaded from the following
link.
And we need the eclipse plugin for the OpenOCD too, which
can be downloaded from the following link.
Next, we need to add the Java, GNU tools for ARM and
compiler variables to the system path to let the system know their locations.
Right click on “My Computer” and select properties. Click on the “Advanced
system settings” on the left pane to open up “System Properties” window. Click on the “Environment Variables” under
the “Advanced” tab. Browse for “Path” under “System variables” in the “Environment
Variables” window, select it and click the “Edit” button. Add the following
text(without quotes) to the beginning of the Path.
“C:\ProgramData\Oracle\Java\javapath;C:\MinGW\bin\;C:\MinGW\msys\1.0\bin;
C:\Program Files (x86)\GNU Tools ARM Embedded\4.9 2015q1\bin\;C:\openocd-0.8.0\bin;”
Finally, we need to install an IDE. I recommend Eclipse as
it is relatively simple and widely used. Eclipse Luna is the C/C++ version for
Windows OS and can be downloaded from the link below.
Now everything
should work perfectly. Go ahead and make a sample C++ project for testing the
installation. Additionally, you could Fork somebody’s GIT repository (that has
a makefile) and test if it works too.
Cheers,
Vijay.
I really appreciate your Post. the post has excellent tips which are useful. this post is good in regards of both knowledge as well as information Mobile App Development Company in India
ReplyDeleteThank you so much for the informative article share with us Mobile App Development Company in India
ReplyDeleteNice post. I was checking constantly this blog and I’m impressed! Extremely useful info specially the last part I care for such information a lot. I was seeking this certain info for a long time. Thank you and good luck.
ReplyDeleteVishnu - Java Training Institute in Chennai
Thanks a lot for this good post sharing. I have gone through it and found some new and useful stuff for me and my company India Interactive, one of the leading App development company in India.
ReplyDeleteThanks for sharing. Web Development
ReplyDeleteMobile App Development
Digital Marketing
Harrah's Hotel & Casino - MapyRO
ReplyDeleteThis property is 보령 출장샵 not associated with nor is it endorsed 시흥 출장안마 by any 춘천 출장안마 professional or collegiate league, 광양 출장샵 association, or team, 세종특별자치 출장샵 association or franchise. Harrah's Hotel & Casino