cancel
Showing results for 
Search instead for 
Did you mean: 

Is it possible to cross compile STM32CubeProgrammer API ?

skdanish-007
Associate II

 

Hi Team,

 

I wanted to cross compile STM32CubeProgrammer API but it seems like we need libCubeProgrammer_API.so to be in the cross compiled version.

Can you please help me and provide libCubeProgrammer_API.so file cross compiled for arm-none-eabi-g++

NOTE: I have attached screenshot for the same.

 

Regards

Danish Shaikh

Screenshot 2025-09-24 133040.png

1 ACCEPTED SOLUTION

Accepted Solutions

Hello @skdanish-007,

For now, STM32CubeProgrammer is a PC only tool. Supported OS are Windows, Linux and MacOS.

No support for embedded hosts for now.

Thanks for understanding.

Aziz


In order 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

3 REPLIES 3
Aziz BRIGUI
ST Employee

Hello @skdanish-007

Thanks for reaching out,

Could you explain why you want to cross compile the API via the ARM GNU toolchain? STM32CubeProgrammer is a PC (Host side) tool that is not intended to run on embedded targets.

The main use case of the API is to include STM32CubeProgrammer functionalities into user apps.   

Aziz

 


In order 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.

Hi Aziz

Thanks for your response.

Just to give detail in brief

We want to give firmware upgrade capability from ARM host target to STM32 board.

For that reason, we thought to use STMCubeProgrammer API cross compiled and use.

Basically, we want a replacement of already available open-source solution stm32flash download | SourceForge.net

 

Regards

Danish Shaikh

Hello @skdanish-007,

For now, STM32CubeProgrammer is a PC only tool. Supported OS are Windows, Linux and MacOS.

No support for embedded hosts for now.

Thanks for understanding.

Aziz


In order 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.