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


Add *.dll library file to project

Hi,

I would like to add dll library files to the project in AC6 workbench and use functions defined in them.
Could you tell me how can I do it?

Best regards,
Kasia

France

Hi Kasia,

Sorry but *.dll files are containing x86 Windows code, not ARM code; you can’t use them on an STM32.

Moreover System Workbench for STM32 do not run on an OS but directly on the hardware and, as such, does not support shared libraries.

Bernard (Ac6)

Hi Bernard,

Thanks a lot for the answer.
Could you tell me if the is any other option to close a c-library?

Best regards,
Kasia

France

Hi Kasia,

What do you mean exactly by “close a c-library”?

If you have the C source code you may try to compile it; however if it is dependent on Windows, you may not be able to compile it as it may depend on OS-provided features. Then you can create a static library and use it in other projects, or just integrate the source code in those.

If you only have the object code (*.dll) there is regretfully no way to use it.

Bernard (Ac6)


Hi Bernard,

Sorry I don’t reply ealier but I did’t have any message that you reply me.
I would lik e to compile my c-library in that way I could use it in main functions but I could’t open c-file and see the code.
Is it possible for STM?

Best regards,
Kasia

France

Hi Kasia,

For that you just have to create a Static Library project with your source code and build it. This will create a xxxx.a library file that you can then include in the link of your main program.Of course you should also reference the .h header files from your main source code.

Bernard (Ac6)


 

Newest Forum Posts

  1. reservation car service Seattle by Jamesprede, 2025-05-01 10:06
  2. Last day: drone bonus by Danielrug, 2025-04-19 16:55
  3. SPI on Nucleo_STMH533RE by higginsa1, 2025-03-25 07:37
  4. SPI on Nucleo_STMH533RE by royjamil, 2025-03-23 11:31
  5. SPI on Nucleo_STMH533RE by higginsa1, 2025-03-23 09:33
  6. Configuring DMA for ADC in SW? by sam.hodgson, 2025-03-04 12:58
  7. Insightful Perspectives on This Subject by davidsycle, 2025-03-04 05:45
  8. Build a project in "release" mode by info@creosrl.it, 2025-02-20 18:12
  9. Build a project in "release" mode by info@creosrl.it, 2025-02-20 17:05
  10. Build a project in "release" mode by tang, 2025-02-20 10:36

Last-Modified Blogs