STM32CubeMX StdPeripheral HAL Naming Conflicts with Particle StdPeripheral

Hello,
I would like to use code generated from STM32CubeMX for configuration of the lower level peripherals, without replicating the code generated there. Is there a straightforward way to either merge the generated code or update the StdPeripheral HAL for the STM32F2XX?

I guess I wanted to ask simply because there are many seemingly equivalent or variant elements in the HAL which are tedious to configure… but perhaps this is the current state of things?

Thanks for your consideration,