cancel
Showing results for 
Search instead for 
Did you mean: 

STM32CubeIDE Code Indexer or Parser Bug

IBeRyUS
Associate

STM32CubeIDE parser or indexer not working properly. Tested CubeIDE versions are 1.0.1 and 1.1.0.

Some Stm32 HAL library header files doesn't recognised as C header file and contents not accessible by IDE tools. I noticed some major issues when this happens:

  • Open Declaration command not working
  • On debug Live Expressions can't access peripherals defined in device header file
  • Code completion can't find header file definitions

On the screenshot you can see two of the header files seems like they are not C header file. No coloring and indexing working on files numbered 1 and 2 but file numbered 3 is recognized as regular file. Effected files are not static, they are changing on every time you open IDE.

0690X00000ArnDeQAJ.png

On debug screen IDE can't monitor some peripherals in Live Expressions depending on which files affected by the bug. Example screenshot show TIM4 is known by debugger and can be added to Expressions bu somehow ADC1 is not accessible.

0690X00000ArnGnQAJ.png

I put screen shots how i create sample project in PDF file and attached sample project.

Thanks.

0 REPLIES 0