Just a few questions:
- When generating under CubeMX, do you keep “generate in root directory” checked?
- Where is located the service.h file you want to include?
- How is it included (with quotes or angle brackets)?
- When importing your source code, do you copy the files in your project or link to them?