Loading...
 

SW4STM32 and SW4Linux fully supports the STM32MP1 asymmetric multicore Cortex/A7+M4 MPUs

   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 get more information from the ac6-tools website and download two short videos (registration required) highlighting:

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)