Skip to main content
KKIM.6
Senior
May 7, 2022
Solved

How can I know where a function is being used in STM32CubeIDE?

  • May 7, 2022
  • 3 replies
  • 4208 views

When I analyze a code that another guy made, I want to track where a function is used.

I can see the definition of a function using open declaration but I cannot see where the function is used.

STM32 has so many files. So, I cannot search for each of them.

Could you explain the way to see where the function is used?

This topic has been closed for replies.
Best answer by Pavel A.

Right click on the identifier -> References ->Project (or workspace)

3 replies

Pavel A.
Pavel A.Best answer
May 7, 2022

Right click on the identifier -> References ->Project (or workspace)

KKIM.6
KKIM.6Author
Senior
May 8, 2022

It is working! Thanks!

Tesla DeLorean
Guru
May 7, 2022

>>STM32 has so many files. So, I cannot search for each of them.

Get a better File Manger

Get some better Static Analysis Tools

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..