SW4STM32 or CubeMX to init STM32 device
I am a starter for STM32 device and I understand CubeMx can generate init C codes and project with main() function.
I am using SW4STM32 IDE as development tools.
If I create a SW4STM32 project including HAL which also genrates functions for init, but not in details as CubeMX does(such as clock generating), do I still can use the init codes generated by CubeMX for SW4STM32 project or I need to use the HAL functions to init device manually?