2026-01-09 4:00 PM
When creating a new CMake-based project in STM32CubeMX, the "Toolchain Folder Location" field is auto-populated with the project folder path upon entering a project name. This behaviour is misleading because the field is intended (at least by its description) to specify the location of the actual toolchain binaries (e.g., GCC ARM) and it is unlikely that a toolchain is installed in a specific project folder.
I have tried to understand what this is by consulting the User Manual UM1718 Revision 49, and there were two references that matched the text "toolchain folder", both of which provided no helpful guidance on what this is actually used for.
This is pretty much the only reference that describes what this option is for, which basically tells you nothing but confirms the toolchain is located in the project folder by default.
Steps to Reproduce:
Expected Behavior:
The error message here seems incomplete and at odds with what the toolchain is for.
Impact:
This behaviour can lead to confusion because the toolchain is designed to be independent of any project you might develop. I have a toolchain installed on my computer and I would like to use this for every project I make.
Suggested Improvement Ideas:
Thanks
Adam