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


Import Project Application from CubeMX Repository

I have seached the forum regarding this frequent topic and find that the basic question is still not answered. That is how does one implement a project application from the CubeMX Respository. In my case I am trying to import code created to demonstrate the LwIP_HTTP_Server_Netconn_RTOS application in the Projects>STM32746G-Discovery folder. there is no documentation that I can find to guide the process leading up to code generation. Importing the project from the repo into SW4STM32 creates a project that has all of the includes indexed wrong. Generating a project first in CubeMX for the Disco board kit makes a project that compiles but is obviously missing the application specific code. After that importing the source files and includes from the project application porduces erros of various types including include statements within include files that reference a .h file with a path that does not exist.

I am likely missing something.

Any ideas what?

Hello!

Same problem here. To be accurate about what I did,
I’m trying to find out how to use the Nucleo 401 demonstration code for
the X-Nucleo-CCA02M1 extension.
First, here is what the documentaiton (CHM file) says:
---------
How to use it ?
In order to make the program work, you must do the following :

  • Open your preferred toolchain
  • Rebuild all files and load your image into target memory
  • Run the example

---------

I have the impression there is a lot of explanations missing between line 1 and 2.
I have tried to import it (without any success)
I have also tried to create a new project which integrates STM32Cube code (include
in the project folder), and then copy all the code I found in STM32CubeExpansion_MEMSMIC1_V1.2.0
folder. This doesn’t work either.

That said, I’m sure it’s obvious... when you already know what to do. But for newcomers,
it’s not easy. Beside this, System Workbench version of eclipse doesn’t work the same as
(for instance) Texas Instruments’ CCS. In CCS, when I add files in my source folder, they
are automatically taken into account and shown in the IDE source perspective. In System
Workbench, they are not shown.

Any hint welcome.

Pascal