Skip to main content
Associate III
Solved

Automation Report Generation

Hello everyone,

 

I have seen that is possible to generate a pdf report using STM32CubeMX (version 6.18.1) as shown in the image:
 


Is there a way in order to launch a command line to run this operation? In order to automatize my development process.

Thank you in advance,

 

Alberto

ST Technical Moderator

Hello 

This feature will be available on the next release STM32CubeMX 6.19.

Thanks.

 

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.

11 replies

ST Technical Moderator

Hello ​@Fin95 

Let me thank you for bringing this behavior to our attention.

A change request has been submitted to the dedicated team under this internal ticket:

(Ticket Number: CDM0065699)

Thanks.

Mahmoud

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.
Fin95Author
Associate III

Hello ​@Mahmoud Ben Romdhane,

 

thank you for your response. Where can I find this ticket?

Thanks,

 

Alberto 

ST Technical Moderator

Hello ​@Fin95 

[CDM0065699] is an internal tracking number and is not accessible or usable by customers.

Thanks.

Mahmoud

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.
Fin95Author
Associate III

Hello ​@Mahmoud Ben Romdhane,

 

do you have any news?

 

Best regards,

 

Alberto

Associate

Hi Alberto, 

 

This is interesting to me so im following this thread too.

Are you linux or windows as you could probably quite easily make a bash script to generate the report which you could run in command line. Dependant on operating system but the work flow will go something like.

CREATE VIRTUAL DISPLAY → LAUNCH PROJECT FROM COMMAND LINE → SEND CTRL+R TO GEN REPORT → APPEARS IN OUTPUT FOLDER.

I might try and make one on my end if i get a chance but let me know if any other thought springs to mind

Fin95Author
Associate III

Hi ​@ozammo,

 

I am working on windows, but I think it isn’t relevant for the issue.

My goal is to put this report into a pipeline on github. For that reason my idea was to create a dedicated docker container with CubeMX inside, but I want to avoid the display management.

Your propose is interesting and for now I don’t see any other ways due to the forced application interaction.

I think ST has designed into CubeMX the report generator, that takes all the info from the ioc file, so it could be interesting to extract that part as a stand alone executable file and launch in the CLI the generation. I don’t know how difficult could be for the ST team, but if the SW is well design, it could be done very quickly!

 

Thanks for your support,

 

Alberto

Fin95Author
Associate III

Hello ​@Mahmoud Ben Romdhane,

 

I have seen the new release of STM32CubeMX is already deployed, but I didn’t seen any update about the cli command to generate the documentation. Is it right?

 

Thanks,

 

Alberto

ST Technical Moderator

Hello ​@Fin95 

The request was introduced in STM32CubeMX 6.19.0.

 

Thanks.

Mahmoud

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.