Skip to main content
Associate
September 24, 2025
Solved

Is it possible to cross compile STM32CubeProgrammer API ?

  • September 24, 2025
  • 1 reply
  • 307 views

 

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

Best answer by Aziz BRIGUI

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

1 reply

Aziz BRIGUI
Technical Moderator
September 25, 2025

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.
Associate
September 25, 2025

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

Aziz BRIGUI
Aziz BRIGUIBest answer
Technical Moderator
October 2, 2025

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.