cancel
Showing results for 
Search instead for 
Did you mean: 

Can we create DLL file from STM32CubeIDE? Just like as in Visual Studio, one can create DLL file from C language to be used by other languages.

SChen.24
Associate

 I have a big project in C that was created by other people, it builds and run well on STM32CubeIDE. I want to create DLL file out of this to expose the functions used inside so that it can be used by other programming languages.

1 ACCEPTED SOLUTION

Accepted Solutions
Semer CHERNI
ST Employee

Hello @SChen.24​ 

First let met thank you for posting.

If you are really meaning you need to generate DLL files, then the answer is you can't do it as those files exist for application running in Windows environment.

However you can create static libraries with STM32CubeIDE and share them in other project.

For more details, check the STM32CubeIDE user manual UM2609 - Rev 7 chapter 2.2.2 Creating a new STM32 static library project.

Hope this answer your question.

KR,

Semer.

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

View solution in original post

1 REPLY 1
Semer CHERNI
ST Employee

Hello @SChen.24​ 

First let met thank you for posting.

If you are really meaning you need to generate DLL files, then the answer is you can't do it as those files exist for application running in Windows environment.

However you can create static libraries with STM32CubeIDE and share them in other project.

For more details, check the STM32CubeIDE user manual UM2609 - Rev 7 chapter 2.2.2 Creating a new STM32 static library project.

Hope this answer your question.

KR,

Semer.

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.