Skip to main content
Associate
October 23, 2024
Question

STMCubeIDE v1.16.1 UI is Trimming Double Quotes when Adding Symbols to Project

  • October 23, 2024
  • 1 reply
  • 1290 views

 Issue occurs in this build: 

davef_3-1729664793565.png

To reproduce: 

  • In an STM32MCU project right click properties
  • Navigate to C/C++ General -> Paths And Symbols
  • Select the Symbols Tab
  • Add a new Symbol and in the value field, reference an environment variable inside quotes e.g. "${PATH}" 
  • davef_0-1729664432067.png

     

  • Click save and the trailing double quote is removed
  • davef_1-1729664502095.png

 

The workaround is to edit the symbols elsewhere see below noting where I added the extra quote: 

davef_2-1729664689217.png

 

    1 reply

    STTwo-32
    Technical Moderator
    October 23, 2024

    Hello @davef and welcome to the ST Community.

    I'm sending this for internal investigation, and I will be back to you as soon as I have a clear answer.

    Best Regards.

    STTwo-32

    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.
    davefAuthor
    Associate
    October 23, 2024

    Thank you. Another thing I noticed is that system environment variables only seem to be refreshed on opening the workspace, is there a way to refresh the cached environment variables when running a pre compile action or script?