CubeMX Code generator creates no region for user function implementation
So I have used STM32CubeIDE to setup a custom BLE service. This creates the files custom_stm.c and custom_stm.h.
So now I need to add my own public functions to custom_stm. I add functions into the USER CODE BEGIN EF, USER CODE END EF region of custom_stm.h, so far so good.
I then look into custom_stm.c to implement these functions, and find that there's just no USER CODE region available to implement these public functions. So I guess I just can't do that?
I don't understand the intended workflow of this IDE. Why not generate self-contained modules instead of half user-source, half generated files with 50000 undocumented regions I need to figure out and hook onto if I want any control over my project structure.
The .ioc should go in SCM, I should then be able to neatly ignore the output of that file which is essentially a compiler output and #include it's functionality from my own application.
I have been considering deleting the .ioc now and taking ownership of the generated code, deleting the user blocks etc. But I wanted to see if there was something I was missing about this workflow. As far as I can tell I now literally don't have a choice because the generator will delete the code I need to add to proceed