Loading...
 
Skip to main content

System Workbench for STM32


Importing an STM32CubeMX generated project under System Workbench for STM32

Hi Shin2016. I am still migrating my project and evaluating Ac6, so please take the following with a grain of salt.

I solved my compilation issues by starting with a very simple project (generated by CubeMX and imported into Eclipse as an Ac6 project) with no middle ware and minimum peripheral selected. Then I built up progressively from there. I would highly recommend doing the same. It will be easier for people to help if you start with a simple project.

For me, my compilation issues were actually some missing includes.The errors were just noise, and I only worked it out by progressively adding the existing code. The build issues had nothing to do with Eclipse, the build chain, or Ac6.

I don't know what Cocooex is, so I can't help there.

I recall looking into Eclipse Neon. I believe I read that Ac6 (or could have been the STM32CubeMX plugin) supported Mars; there was no mention of Neon. So I stuck with Mars. However, I would be surprised if using Neon caused compilation issues.

I don't believe you should be using MinGW. Ac6 comes with built tools and you need to use those. I assume you are trying to compile for a STM32 device? MinGW is for compiling for a Windows target. If you could explain why you are using MinGW?

The SW4 toolchain is GCC. I am migrating to SW4STM32 because I need a development environment which runs on Linux, uses Eclipse, and is low cost. Previously I was using VisualStudio and VisualGDB; which is a great tool, but all my other products are developed on Linux using Eclipse, and I prefer to maintain a single development environment.