2023-01-02 02:21 AM
The overview of the workflow is as follows: Open the STMCubeIDE -> Open new Project -> elect the directory -> Build -> debug -> build
So I am looking for a python library/API which can be used to perform the same function through Automation.
The UI automation through GUI is a little complicated approach, hence I am looking for CLI alternatives to perform the above mentioned steps on STM32.
2023-01-02 04:54 AM
Hello @VNaga.2,
Please check this user manual and precisely section 5 STM32CubeProgrammer CLI for MPUs
Thank you!
Sarra
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.
2023-01-02 05:39 AM
I mean you search for c:\ST\STM32CubeIDE_1.***.0\STM32CubeIDE\headless-build.bat
2023-01-02 09:59 AM
Hi @Sarra.S and @MM..1
I tried the below command C:\ST\STM32CubeIDE_1.11.0\STM32CubeIDE>stm32cubeidec.exe -nosplash --launcher.suppressErrors -application org.eclipse.cdt.managedbuilder.core.headlessbuild -data
I can see Access Denied error in the command prompt. Could you please help me with this.
The workspace as well as the project are not in the same path.
2023-01-02 03:23 PM
For windows cmd shell and powershell "\\" is not a quoted backslash. Just use single \.
2023-01-02 10:18 PM
Hi @Pavel A. , thanks for the help. It is working for me.
But when I load another application, the previous application loads back onto the MCU and not the specified application.
2023-01-03 01:54 AM
Can anyone please provide inputs on these
when I load another application, the previous application loads back onto T2 and not the specified application.
I need these information to progress with automation. I am using python for automation.
2023-01-03 07:01 AM
Hello@ VNaga.2,
Could you please check those stuffs :
We need those answers to help you and solve your issue !
Wijdene,
2023-01-04 10:25 PM
Hi @Wijeden RHIMI ,
Please point me to the help info center to find the user guides. I could just find the normal STMCudeIDE user guide.
I need to find the GDB user guides as well as the headless user guides.
2023-01-05 01:28 AM
Hello@VNaga.2,
Maybe those two screenshots bellow could help you :
Don't hesitate to ask any additional questions .
Wijeden,