PureModules Tools Setup

Windows Setup:

Lets start by downloading some Software:

Note: If you already have MinGW and GCC navigate here for steps on how to access the Github Code.

For compiling the code you will need to install a compiler.

1. GCC ARM Embedded:

1.1. Click the link below to find the installer:

https://launchpad.net/gcc-arm-embedded get the x_win32.exe installer

Follow the steps to download the GCC ARM Embedded Tools. Be sure to read Add path to Environment variable as described in the next step.

1.2 Make sure to Add path to environmental variable by checking the box below on the final installer screen.

If you do not "Add path to environment variable" refer to step 3 on how to add it.

2. Mingw MSYS:

2.1 Click the link below to find the installer:

http://www.mingw.org/wiki/msys . The easiest way to get the installer is to click here.

Follow the steps to download MinGW

2.2 Check the boxes labeled below to select the packages to install. Not all are necessary for this introduction but may be useful for future projects. This may take some time to install.

Once completed, Installer should look like the image below

3. Add tools to the Path:

3.1 Add MinGW(C:\MinGW\msys\1.0\bin) and ARM GCC (C:\Program Files (x86)\GNU Tools ARM Embedded\5.4 2016q3\bin) to path. The directories above are the default directories.

-Open System Properties

-Navigate to your Control Panel

-Select System and Security

-Select System

-Select "Advanced system settings". A popup will appear like the one below:

-Select the Advanced Tab

-Select the Environment Variables button

-In the system Variables subsection, select the Path Variable.

-Press Edit... This will cause the "Edit environment variable" box to appear.

-Press New and add the MinGW path (C:\MinGW\msys\1.0\bin)

-Press New and add the ARM GCC Path (C:\Program Files (x86)\GNU Tools ARM Embedded\5.4 2016q3\bin)

-In most cases you need to have the msys path before %SystemRoot%\system32;%SystemRoot% stuff.

-Result should look something like this:

-Press OK on all remaining windows.

NEXT STEPS:

You now have the tools to begin using PureModules. Navigate here for a tutorial on how to download and compile the Open Source code for PureModules.