Skip to main content
Jansunil
Associate III
November 25, 2021
Question

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

  • November 25, 2021
  • 1 reply
  • 945 views

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

This topic has been closed for replies.

1 reply

Sara BEN HADJ YAHYA
ST Technical Moderator
December 29, 2021

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.

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question.