STM32 B-G431-ESC- Implementing CanOpen within SimpleFOC

Hey Folks,
I’m new to the forum and also kind of new with SimpleFOC.
I am looking to implement CanOpen protocol on B-G431-ESC (CanOpen because I want the device to be on a bus where there is already severals others nodes).
I read of the forum that some guys were interested to work with canOpen but don’t know if they secceded.
I’m currently using PlatformIO to run SimpleFOC which work pretty well.
Since PlatformIO uses the HAL of the STM32 my guess was to create a config that works using CubeMX following this tutorial from official CanOpen repos : GitHub - CANopenNode/CanOpenSTM32: CANopenNode on STM32 microcontrollers. and then merge HAL files to the existing project in platformIO (this way appears to be much simpler than integrate all SimpleFOC library into cubeIDE project).
The problem is that it seems that all files from HAL within platformIO are pre-compiled (.o files) and I can’t read the actual configuration (clock, timer…). Do you have any guess to clean merge HAL config from cubeMX to platformIO ? Or maybe someone have a better way ?

Thank you in advance.
Rom