Loading...
 

STM32MP1 support available in SW4STM32

   With System Workbench for Linux, Embedded Linux on the STM32MP1 family of MPUs from ST was never as simple to build and maintain, even for newcomers in the Linux world.
And, if you install System Workbench for Linux in System Workbench for STM32 you can seamlessly develop and debug asymmetric applications running partly on Linux, partly on the Cortex-M4; you can download a short video showcasing this on the ac6-tools website (registration required).

System Workbench for STM32


You are viewing a reply to Importing projects from IAR  

Importing projects from IAR

France

Hi,

For this there is currently only one solution, which is performing a manual import.cry

Hopefully you should be able to simply copy all your source code folders under the src folder of a newly created System Workbench project (as you will probably not need the ST libraries - you should already have them in your IAR source tree - create a project without any firmware). If you have dedicated “include” directories, you should probably place them in the “inc” folder of the created project; if you leave it in the source tree, they may still be referred to by relative paths.

Then you may have to suppress a few files from your copied files, like for example the stm32xxxx_startup.s file); when you have a conflict, you should probably suppress the IAR originated file (or just exclude it from build, to keep it as reference, by right-clicking it >> Properties >> C/C++ Build then check the “Exclude resource from build” checkbox).

You should also, of course, exclude the main.c file created in src by System Workbench (it does not contain any useful code anyway...)

You may also have to adjust a few build options in the “project >> Properties >> C/C++ General >> Paths and Symbols” tab (if you have include files that you do not place directly under the “inc” forlder in your project, or symbols that must be defined for your code to compile correctly) or “project >> Properties >> C/C++ Build >> Settings” tab (if you need to change some specific compile directives).

I hope this will help you; please keep us informed of your progress.

Bernard