How to Import Thousands of STM32Cube Example Projects Into TrueSTUDIO

Posted by Magnus Unemyr on Feb 14, 2017 10:12:43 AM

STMicroelectronics has done a good job of creating example projects for their STM32 devices. A great job, in fact. At least if you ask me. There are well over 4000 different STM32 example projects to be downloaded from the STM32Cube page, which is a whole lot. Many of these are nontrivial, using feature-rich middleware too. I think it is safe to say they are a popular starting point for many new STM32 designs.

All of these example projects have not been ported to the Atollic TrueSTUDIO IDE, unfortunately. But thanks to the project importer, TrueSTUDIO can import almost all of these example projects automatically. Learn how in this blog post!


Many of the STM32Cube example projects contain advanced middleware components, like RTOS, TCP/IP, USB or graphics. Since some of these example projects weren't ported to Atollic TrueSTUDIO previously, they couldn't be used as-is without some manual porting work. 

This is no longer necessary.

With the Atollic TrueSTUDIO project importer (available in TrueSTUDIO v7.1 and later), STM32 example projects developed for the System Workbench for STM32 (also known as SW4STM32 or AC6) can now be imported automatically. In practice, this means that thousands of STM32Cube example projects from the STM32Cube page can be imported with minimal effort. This greatly simplifies the use of these example projects in TrueSTUDIO, in particular for novice developers who are not very fluent in embedded tools.

So, how do you use these example projects in TrueSTUDIO?

To start with, you can download the STM32Cube embedded software libraries and example projects here (navigate to the corresponding STM32 family page to find the right download link):

Secondly, unzip the STM32Cube embedded software for the desired STM32 family, and use the File, Open Projects from File System... menu command in TrueSTUDIO.




Select the Import source folder, and select the project you want to import:




Click the Finish button, and the selected project will be converted from System Workbench for STM32 format to Atollic TrueSTUDIO format automatically. Using this simple method, thousands of STM32Cube example projects can be converted very easily!

And as a side-note, if you started with the System Workbench for STM32 IDE because it was free, you can now easily migrate to the much more powerful Atollic TrueSTUDIO Pro without worrying about spending a lot of time doing migration work.

With TrueSTUDIO Pro, you get professional features like:

And of course, we offer caring support, too!


Read more about STM32 development here:
12 great tools and techniques for STM32 developers

You can also download our whitepaper:

Read our STM32 development whitepaper!


Topics: Atollic TrueSTUDIO, Project migration