Skip to content

Hotboards/mbed_NucleoF030R8

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mbed_NucleoF030R8

Now is easier than ever to use mbed library offline with eclipse and GNU ARM. In this repository you will find a eclipse project with mbed library for ST NucleoF030R8 board.

Updated to: mbed tag 93

##Prerequisits

You need to have installed GNU ARM compiler and Eclipse C/C++ IDE within GNU ARM Eclipse Plugin, check the following links in order to make the setup

##Importing project to workspace

This method is easy, just clone or download ( don't forget to unzip it ) the repository into your eclipse workspace ( the folder where you have all your eclipse projects ), then open eclipse and goto to menu File -> Import... in the new window select General -> Existing Projects into Worspace and then Next.

img1.png

In the next part select the option Select root directory: and Browse... the project folder which i assume is in your workspace by right now, just click on Finish, open the file main.cpp and start coding in mbed style. Have fun!!.

img2.png

By the way you could use your new imported project as a template and every time you want to make a new project just copy and paste it ( check the this post, right in the middle ).

If you need more information about importing projects in eclipse just check the following post

##Cloning the project using Egit

First of all you need to install the plugin Egit in your Eclipse IDE, then goto menu File -> Import... in the new window select Git -> Projects from git and then Next.

img3.png

Select Clone URI and Next, here you only need to write the github address of this repository in the URI: text box ( check the image below )

https://github.com/Hotboards/mbed_NucleoF030R8.git

img4.png

Click on Next, wait and then Next, in this window you have to Browse your eclipse workspace, then next, again next and finally finish.

img5.png

Now you have a new project in Eclipse, open the file main.cpp and start coding in mbed style!!. By the way if you do not want to keep versioning your new project just right click and the Team -> Disconnect.

##Toolchain Path

Update the compiler path from this project, by the default your toolchain should be place it in C:\Lunarm\gcc-arm\bin, to change this path just select your project on the Project Explorer, press Alt + Enter then on Toolchains tab Browse for the bin folder of your toolcahin

img6.png

##Programing your board

Is the same as you do with mbed online, every time you compile your project, in folder Debug you will find a .bin file, just copy and paste it in your Nucleo Drive.

But there is an advantage in eclipse, if you install OpenOCD you could program the board without living the IDE.

And.. one more thing, if you want to know the process to compile the embed library from scratch check here

About

Ready to use eclipse project with mbed library for ST NucleoF030R8 board

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published