-
Notifications
You must be signed in to change notification settings - Fork 341
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using HINTS for STM Toolchain Path #266
Conversation
This causes toolchains found via the STM32_TOOLCHAIN_PATH variable to take precedence over a toolchain in the system path
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi,
What is the confidence on the TOOLCHAIN_BIN_PATH correctness?
If I quote cmake's find packages doc :
Search paths specified by the HINTS option. These should be paths computed by system introspection, such as a hint provided by the location of another item already found. Hard-coded guesses should be specified with the PATHS option.
Hi, stm32-cmake/cmake/stm32/common.cmake Lines 16 to 45 in 8415560
Maybe |
Well, we want things to work so lets go for the HINT thing then. cmake's documentation is quite poor on the difference between PATH and HINTS anyway. |
This causes toolchains found via the STM32_TOOLCHAIN_PATH variable
to take precedence over a toolchain in the system path.
Also updated README accordingly
Fixes #251 . Closes #265