Recommended way to create project with HAL drivers without using code generation in STM32CubeIDE?
I am trying to create a project that takes advantage of the HAL drivers, but does not include auto generated code. It would be ideal to be able to tell the IDE which HAL drivers to include and start off from there. Unfortunately, I could not find such option. As an alternative approach, I saw cloning the respective MCU firmware package (in my case the STM32CubeWB) and copying the Drivers and Middlewares folders into the project. Unfortunately, this lead to an infinite chain of having to delete certain files and folders and updating include and source paths. I am wondering what would be the recommended strategy to work with the HAL libraries when I do not want to end up with auto generated code.
Many thanks in advance!