cancel
Showing results for 
Search instead for 
Did you mean: 

mxCube import to Arm Gnu Eclipse

Posted on December 03, 2015 at 18:49

Hello there,

Arm gnu eclipse ( http://gnuarmeclipse.github.io ) is a plugin for eclipse similar to openSTM32. It has its advantages, for example that user can use way more debuggers than only ST-LINK. I was wondering either ST would consider making an importer for mxCUBE for Arm Gnu EClipse plugin the same way they did for openSTM32.

For example I have a huge problem now. I am using mxCube to import code for openSTM32 project in eclipse. I am using JLINK, so I have to use the module from Arm Gnu Eclipse plugin, as openSTM32 doesnt support it. And now I cannot view peripherals while dubbuging even though both plugins support it. I cant use Arm Gnu Eclipse one, because the project is created by openSTM32. I cant use the second one, as I am using Arm Gnu Eclipse debugger... I dont know whats a way out out of this. 

I would have to either get rid of JLINK and get st-link, but jlink is a lot better. Or I would have to manually copy generated code to Arm Gnu Eclipse project...

So would it be possible maybe for ST to make an importer for Arm Gnu Eclipse? Not a bad idea?
20 REPLIES 20
kevin2399
Associate III
Posted on December 14, 2015 at 22:47

Carmine Noviello has made a wonderful Python script that will convert the SW4STM32 output from CubeMX into a project that works with GCC ARM.  I tried it a couple of weeks ago (before it supported middleware import) and it worked great!

http://www.carminenoviello.com/en/2015/11/02/quickly-import-stm32cubemx-project-eclipse-project/

I have since tried installing the latest version of TrueStudio (v5.4) which is now no longer code size-limited for the Lite version.  I was unable to generate a working CubeMX project for TrueStudio using the latest versions of both products.  CubeMX is messing up the folder structure for the HAL libraries (cannot find Src folders).  Very disappointing.  It also does not let you import actual files, but makes virtual references. Back to GCC I go until ST provides something that won't make me bang my head on my desk.