Skip to main content
JGonz.2
Associate II
January 13, 2020
Question

STM32F746g - syntax error: unterminated quoted string

  • January 13, 2020
  • 14 replies
  • 5204 views

I am trying to set up a simple project in STM32CubeIDE + TouchGFX and it returns me the following error: c:

/st/stm32cubeide_1.1.0/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.make.win32_1.1.0.201910081157/ tools / bin / sh: syntax error: unterminated quoted string

I already followed this tip from Martin:

"The issue was simply copying" \ Middlewares \ ST \ TouchGFX \ touchgfx \ framework \ source \ platform \ "into the Library Path settings. If you select the folder through" Add ..-> Workspace " it should be correct and not cause an error. " But it did not work.

I tested CubeMX + TouchGFX + Ac6, CubeMX + TouchGFX + Atollic and two different versions of STM32CubeIDE (1.1.0 and 1.2.0). All unsuccessful attempts. Bugs after creating the GUI project or changing the user's own code in the comment protected area are the most common. I am using CubeMX 5.3.0 and TouchGFX 4.13.

Honestly it is very frustrating to try to use the official tools of ST and come across so many bugs.

This topic has been closed for replies.

14 replies

Martin KJELDSEN
Principal III
April 20, 2020

I haven't been able to reproduce this yet, on my end. Would it be possible for someone to share a faulty project?

/Martin

CKauf
Associate II
May 15, 2020

Hei Martin,

I've got the same problem and I think I've identified the cause:

When I click "create code" in the Designer it adds a corrupted line to the linker library search paths in the project file (see also attached screenshot).

<option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="false" id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.cpp.linker.option.directories.1276840366" name="Library search path (-L)" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.cpp.linker.option.directories" useByScannerDiscovery="false" valueType="libPaths">
 <listOptionValue builtIn="false" value="&quot;${workspace_loc:/LEDS_Firmware/Middlewares/ST/touchgfx/lib/core/cortex_m7/gcc}&quot;"/>
 <listOptionValue builtIn="false" value="../Middlewares/ST/TouchGFX/touchgfx/lib/core/cortex_m7/gcc"/>
 <listOptionValue builtIn="false" value="&quot;${workspace_loc:/${ProjName}/Middlewares/ST/touchgfx/framework/source/platform}&quot;"/>
 <listOptionValue builtIn="false" value="&quot;${workspace_loc:/LEDS_Firmware/Middlewares/ST/touchgfx/lib/core/cortex_m7/gcc}&quot;}&quot;"/> <---this is the problematic line
 </option>

Sadly, I don't have a solution :grinning_face_with_sweat: For now I have to erase the entry manually every time I made a change in the Designer.

If you'd like, I could send you a stripped down version of the project. Where would I be able to do that?

Kind regards

Christoph