cancel
Showing results for 
Search instead for 
Did you mean: 

" Missing ';' " indexer marker in STM32G070 project

AnthonyRFC
Associate II

Hi folks.

I have been working a couple of days on a project involving the STM32G070RB. The devices uses two uarts : one for serial comunication throug a USB-serial converter and one for modbus comunication.

Both worked OK but now the STM32CubeIDE mark the following lines with "missing ';' " indexer marking and the UART4 stoped to work (both Tx and Rx) and the UART2 Rx IT doesnt work too.

 

 

  __HAL_RCC_GPIOD_CLK_ENABLE();
  __HAL_RCC_GPIOC_CLK_ENABLE();
  __HAL_RCC_GPIOF_CLK_ENABLE();
  __HAL_RCC_GPIOA_CLK_ENABLE();
  __HAL_RCC_GPIOB_CLK_ENABLE();

 

 


¿What could be the root cause? The compiler gives no warning or error in the compilation.

Thanks in advance.  

1 ACCEPTED SOLUTION

Accepted Solutions

Hello @AnthonyRFC ,

 

MahmoudBenRomdhane_0-1741180658836.png

MahmoudBenRomdhane_1-1741180703937.png

STM32CubeIDE 1.18 contains the last integrated version of STM32CubeMX : 6.14.0-RC8.

 

Thanks.

Mahmoud

 

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.

View solution in original post

6 REPLIES 6
Mahmoud Ben Romdhane
ST Employee

Hello @AnthonyRFC ,

First let me thank you for posting and welcome to the ST Community.

For more investigation, I suggest that you provide your Ioc.File.

Thanks.

Mahmoud

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.

Hi @Mahmoud Ben Romdhane , thanks for your fast reply. 

Of course, please find it attached.

Best regards!!

Hello @AnthonyRFC ,

 

Your project was setup with STM32CubeMX version 6.0.0. I suggest please that you download the last version of STM32CubeMX through this link STM32CubeMX - STM32Cube initialization code generator - STMicroelectronics

 

Thanks.

Mahmoud

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.

Hello @Mahmoud Ben Romdhane 

If i update the hole STM32CubeIDE, the newer version of the STM32CubeMX is not included?

Best regards 

Hello @AnthonyRFC ,

 

MahmoudBenRomdhane_0-1741180658836.png

MahmoudBenRomdhane_1-1741180703937.png

STM32CubeIDE 1.18 contains the last integrated version of STM32CubeMX : 6.14.0-RC8.

 

Thanks.

Mahmoud

 

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.

Hello @Mahmoud Ben Romdhane 

I update the STM32CubeIDE to the version 1.18 and the issues gone.

Thanks so much!