Thank you Peter.
I was able to run the simple blink example using mbed on EmBlocks, however, if I try to open a UART (like in the Nucleo_printf example) I get this error messages:
----------------------------------
.\cmsis/core_cm4.h:135:0: warning: "FPU_USED" redefined [enabled by default]
<command-line>:0:0: note: this is the location of the previous definition
src\main.cpp:21:9: warning: "/*" within comment [-Wcomment]
c:/program files (x86)/emblocks/2.20/share/em_armgcc/bin/../lib/gcc/arm-none-eabi/4.7.3/../../../../arm-none-eabi/bin/ld.exe: bin\Debug\Nucleo_f302R8.elf section `.text' will not fit in region `ROM'
c:/program files (x86)/emblocks/2.20/share/em_armgcc/bin/../lib/gcc/arm-none-eabi/4.7.3/../../../../arm-none-eabi/bin/ld.exe: region `ROM' overflowed by 3312 bytes
collect2.exe: error: ld returned 1 exit status
----------------------------------
If I compile in Release mode, of course the program fits and run.
How memory demanding is mbed?
I attached my project files so anybody can use it.
/media/uploads/PakNucleo/nucleo_f302r8_mbed.rar
I have set up a offline project for the EmBlocks IDE :
http://mbed.org/users/dreschpe/notebook/offline-nucleo-development-with-emblocks/#
The EmBlocks IDE support the stlink-v2 debugger .You can simply download code and have a full featured debugger with your mbed code using gcc and newlib nano out of the box.