For programming of development board Mini64SER6 we selected Eclipse IDE.
It is convenient environment that has versions for most operating systems and in the future there will be no problems with the transfer of code to another OS and retraining users.
Go to the manufacturer’s website and download Eclipse IDE for C/C++ Developers.
The downloaded archive unpack containing folder in Program Files folder and launch the file eclipse.exe
The next window select the working folder for saving projects. This step is very important because through it useful in the future due relative paths.
Now we need to install a plugin for the GNU ARM go to Help>Install New Software
In the Name field write the name of the desired plug-in and the field Location шлях way
Once Eclipse has found files enable checkboxes and click NEXT
click again NEXT
Accept the license terms.
It will be a warning that the plugin contains suspicious files, do not pay attention to what just click ok.
The next step is to install the compiler ARM GCC. Go to the page https://launchpad.net/gcc-arm-embedded
And download the installation file.
Proceed to create the project in Eclipse. Run File>New>C Project
In the next box, Eclipse will offer to automatically create a blank project to us that will contain the core library ARM CMSIS library and work with peripheral controller StdPeriph.
Choose the type of controller for Mini64SER6 is Medium Density 128Kb flash memory.
Setting folder names leave unchanged.
In the next window, select the number of configurations of code that will generate the environment.
Then choose our toolchain and specify the path to it.
That’s all we have created in the Eclipse project for our boards as a bonus we see an example of a flashing LED that is already present in the main loop.
In the next article we will explain how to connect and debug fee Mini64SER6 in Eclipse using the programmer ST-Link.