cancel
Showing results for 
Search instead for 
Did you mean: 

In STM32CubeIDE, There are ? mark on left side of line number.

SSeo.17
Associate III

0693W00000Dpl9OQAR.pngThere are ? mark on source file.

and when mouse placed there, they say "bad character sequence encounter : \" .

How can i clear ? mark and error message?

(MCU type is STM32F427)

5 REPLIES 5
Peter BENSCH
ST Employee

Both statements are macros that are likely to cause this problem.

Please check whether you can access their definitions, e.g. with F3. The macros should be located in stm32f4xx_hal_rcc.h or stm32f4xx_hal_pwr_ex.h.

Regards

/Peter

In order 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.
SSeo.17
Associate III

Thank you for your reply.

um...

I can access those 2 lines macro with F3 key.

By the way,

'?' are cleared by changing following option.

preference >> general >> editors >> text editors >> Annotations

Vertical Ruler ---> unchecked

Overview Ruler ---> unchecked.

thank you again.

Best regards.

Peter BENSCH
ST Employee

Interesting because it's just the text editor whose options you changed there.

With which annotation type did you switch that: Bookmark, Breakpoints, ... Warnings?

Regards

/Peter

In order 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.
SSeo.17
Associate III

Hi, Peter.

When I press F2 key , a message window appears with a ICON; 

If click the icon, the Annotation window is displayed. 

I have lifted the check points mentioned yesterday there.

I don't understand what you meant by Breakpoint and Bookmark you mentioned. However, as shown in the attached picture, the message 'Add a breakpoint' was displayed.

Please refer to the 3 picture below.

0693W00000DpsikQAB.png 

0693W00000DpsiuQAB.png 

0693W00000DpsizQAB.png 

Regards.

I meant exactly this menu Annotations, to which you indicated the path. It is also reachable from the Eclipse main screen by

Window > Preferences > General > Editors > Text Editors > Annotations

However, you forgot to mention the Annotation Type, where you changed some settings, which can also be seen on your screenshot: C/C++ Index Markers.

Anyway, this setting was most likely not the cause of the question marks, but rather the lack of or incomplete indexing.

Regards

/Peter

In order 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.