cancel
Showing results for 
Search instead for 
Did you mean: 

Is there a way to provide relative paths to the script file to be deployed during command line build of an STM32CubeMX project?

Jansunil
Associate II

I am trying to configure the project settings via a script file for a command line build of my STM32CubeMX project and I intend to provide the relative path to the parameter- "project path", "generate code" etc. However, it does not accept the relative path and breaks the command line build.

Reference:

https://www.st.com/resource/en/user_manual/um1718-stm32cubemx-for-stm32-configuration-and-initialization-c-code-generation-stmicroelectronics.pdf

(Page-30)

I have attached an example script file that I intend to create. Also, I have attached the error screen that pops up during the command line build

1 REPLY 1
Sara BEN HADJ YAHYA
ST Employee

Hello @Jansunil​ ,

Thanks for your feedback,

Which CubeMX version are you using? And where did you place the script file ? is it under STM32_Duplicate Folder?

Could you please provide us with the scenario that led to this issue to help us reproduce it ?

Thanks,

Sara.