Loading...
 

Zephyr project on STM32

   Zephyr Workbench, a VSCode extension to manage Zephyr on STM32.
It enables users to easily create, develop, and debug Zephyr applications.
Main features:
  • Install host dependencies.
  • Import toolchain and SDK.
  • Create, configure, build and manage apps.
  • Debug STM32.
You can directly download it from the VSCode marketplace
For more details, visit the Zephyr Workbench

System Workbench for STM32


Importing projects from IAR

Hello,

Is there any way to import a IAR project into SW4STM32 ? I have a project with many, many files in multiples folders...

Thank you

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


Hello Bernard,
Is still manual import the only solution or in recent days is there any tool or new method available to import an IAR project into SW4STM32?

I have generated Project code for STM32 using STM32CubeMX, that can be opened and compiled in “ac6 tools System Workbench for STM32” (eclipse).
The next task is to import IAR Project code to this Eclipse Project.

Request you please provide a reference link for this importing process if any?

Thanks
Warm Regards,
Nitin Jadhav


 

Newest Forum Posts

  1. SPI on Nucleo_STMH533RE by royjamil, 2025-05-04 20:13
  2. SPI on Nucleo_STMH533RE by higginsa1, 2025-03-25 07:37
  3. SPI on Nucleo_STMH533RE by royjamil, 2025-03-23 11:31
  4. SPI on Nucleo_STMH533RE by higginsa1, 2025-03-23 09:33
  5. Configuring DMA for ADC in SW? by sam.hodgson, 2025-03-04 12:58
  6. Build a project in "release" mode by info@creosrl.it, 2025-02-20 18:12
  7. Build a project in "release" mode by info@creosrl.it, 2025-02-20 17:05
  8. Build a project in "release" mode by tang, 2025-02-20 10:36
  9. Build a project in "release" mode by info@creosrl.it, 2025-02-19 17:35
  10. Fail to debug in Win 11 C/C++ by mortenlund, 2024-12-26 20:27

Last-Modified Blogs