Adding stm32f2xx_hal_conf.h file to the project folder

Hi,
I am using stm32f205 with platformIO for my project.

I have tried to add stm32f2xx_hal_conf.h to our project library but our files are still using the stm32f2xx_hal_conf.h from the PlatformIO library. How can make the files to use the stm32f2xx_hal_conf.h file from the project library?

If using framework = stm32cube: Per documentation.

https://docs.platformio.org/en/latest/frameworks/stm32cube.html#custom-configuration-header

if using a different framework: Please post your platformio.ini.