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 STM32F746G-DISCO Project into SW4STM32 Issue

Hello, all,

I am an old hand at micros and have a lot of experience with Cortex-M, gcc and Eclipse though I am new to the STM32 toolchain.

How are folks getting the STM32F746G-DISCO board demo cube file to import into SW4STM32? I immediately get a compile error. Looks like the paths are not correct, or some such. I followed the instructions as best I could, though not everything quite matched up.

Was some undocumented black magic involved?

Thanks!

T Hall
Louisville, KY

PS - My apologies, I originally posted this on a previous topic, but it really is standalone and shouldn’t have been there in the first place.

Hello,

Did you install the soft with the all-in-one installer exe ?

I tried on Windows 7 64 bits, on eclipse Luna or Mars, it is compiling without errors.

Which version of SW4STM32 did you use ?
Installer will install v1.8.0.

The latest is 1.10.0, use the menu Help => Check for Updates
I have tested on Cube FW F7 V1.5.0

Then, procedure is simple, right click of mouse in prj tab, select Import => Existing project into workspace
Browse the root dir to AC6 fw download for F7 cube fw (user/appdata/roaming/ac6/SW4STM32firmwares/STM32CUBE_FW_F7.../Projects/STM32746G-DISCO/Demonstration)
The project is already selected.
Don’t tick the option “copy files into workspace”, that’s not working.
Click OK

You can activate the “parallel build” to build faster. Right click mouse on the Project name, select last menu Properties then in C/C++ Build, choose the 2nd tab “Behavior” and tick the “Enable parallel build” option with the default choice set (optimal jobs).
I have a 16 cores machine and it is really faster.

Then Build project, no errors should happen.

Rgds,
Laurent


Just starting out...
Thanks for posting that, I don’t know eclipse at all though I’ve used other IDEs and I could not find the correct way to import the project. I’m still not quite sure how it works but it built the demonstration.

Well actually it built it with one quirk. The video player isn’t present in the rebuilt version?

I see why the video isn’t there, in main.c

“#if !defined ( GNUC )”
“extern K_ModuleItem_Typedef video_player_board;”`
“#endif”


Also regarding the folder: user/appdata/roaming/ac6/SW4STM32firmwares ?

Should the STM32CUBE files automatically be there or do I have to put them there? I unzipped the CUBE files to c:\ to keep the paths short.

Oh and to any moderators reading this I reported it by mistake looking for the “edit” button. I want to put the code fragment in a “code” box


 

Newest Forum Posts

  1. Можно ли установить камин на балконе или лоджии? by Grand3kpdErorb, 03:38
  2. reservation car service Seattle by Jamesprede, 2025-05-01 10:06
  3. Last day: drone bonus by Danielrug, 2025-04-19 16:55
  4. SPI on Nucleo_STMH533RE by higginsa1, 2025-03-25 07:37
  5. SPI on Nucleo_STMH533RE by royjamil, 2025-03-23 11:31
  6. SPI on Nucleo_STMH533RE by higginsa1, 2025-03-23 09:33
  7. Configuring DMA for ADC in SW? by sam.hodgson, 2025-03-04 12:58
  8. Insightful Perspectives on This Subject by davidsycle, 2025-03-04 05:45
  9. Build a project in "release" mode by info@creosrl.it, 2025-02-20 18:12
  10. Build a project in "release" mode by info@creosrl.it, 2025-02-20 17:05

Last-Modified Blogs