2021-12-06 12:46 PM
I am coming at the cubeIDE as a newbie AND as a hardware guy. With that said can someone tell me why when I am on a function / header file / or even a #define that SOMETIMES when I hit the F3 on the keyboard I do not jump to the corresponding definition? I realize it's a simple question (am coming from a Code Composer Studio background and it always seems to jump to the link).....I am guessing it could be I don't have something set up correctly in cubeIDE?? For instance I downloaded the BLE_p2pServer project.....Within this I go to the SystemClock_Config function where they call the following...__HAL_RCC_LSEDRIVE_CONFIG. If I place my cursor there and hit F3 nothing happens BUT I have a similar project that I am working in with an identical call and when I hit F3 with cursor on function I jump right to the file...I downloaded and installed this from github....The intereseting thing is if I right click on properties of this project I don't have options for C/C++ Build.
Thanks
Steve
Solved! Go to Solution.
2021-12-06 01:46 PM
2021-12-06 12:59 PM
STM32CubeIDE needs to be know where the definition is, which means it needs to be properly linked in your project files.
Sometimes you can rebuild the index to get definitions to work correctly.
> The intereseting thing is if I right click on properties of this project I don't have options for C/C++ Build.
Sounds like it's just not set up as a buildable project.
2021-12-06 01:06 PM
Yes I do NOT have the hammer when I hover over the project....Seems odd that I wouldn't be able to pull off of github a buildable project for quick testing understanding how to use the various modules of the board??? Is there something I can do to make it buildable or is this something the originator does?
2021-12-06 01:46 PM
2021-12-06 08:08 PM
IIRC this is an issue in the upstream Eclipse CDT. The TI IDE is based on a similar but different Eclipse.
Please look at list of known issues in the CubeIDE release notes.