Hi @richmit ,
The bundle manager will replace SMT32CubeCLT.
But, we will not deprecate STM32CubeCLT until we have made the bundle manager publicly accessible as a stand-alone tool. This is something we are working on. We also need a bit of introduciton documentation highlighting the main usage scenarios.
In secret we have already shared the bundle manager stand-alone tool with a few customers and the feedback is positive.
Do you see any problems with discontinuing STM32CubeCLT (assuming bundle manager has been launched)? Please share any concerns / questions! That information can help us secure that the user base does not perceive this as a disruptive move.
There are many benefits of the bundle manager:
- Bundle manager only brings the tools you ask for instead of a full package of stuff you may not need...
- Bundle manager can update each tool individually without forcing update of other tools..,
- Bundle manager just adds the "cube" command to the PATH, where as CubeCLT bloats your PATH variable potentially leading to collision with other tools. Bundle manager plays nice!
- Bundle manager can let you work with different GCC versions in different projects without the user having to care about the environmental variables
- Bundle manager is aware of your projects and allows you to call the right CLI tools based on bundle lock-files. Again - you don't have to care!
The cube bundle ... command is today only avialable via VS Code integrated terminal. We have bash script installation method to make it available stand-alone for Win/Lnx/Mac. This allows DevOps to re-create the VS Code project "build and debug" environment on a CI / CD machine with one single command:
cube bundle install --project
That's it. This command will pull download/install/activate only the tools that the proejct requires...
Then to build your project run:
cube cmake ....
The cube prefix before calling cmake ensures that we call the CMake and GCC version that our tools have downloaded instead of whatever you may have on the PATH variable coming...
If you are interested to try an explore, I can provide a bash script allowing you to install the 10MByte bundle manager and put it on PATH... Drop me a PM. :) Always curious to have some feedback...
Note: The bundle manager has been used internally in our "Cube dev organization" to allow developer to share/access many different ST and open-source tools to make collaboration easier!
Kind regards, Mattias