Skip to main content
Associate
November 26, 2023
Question

Issue compiling generated code: missing MCP.h file

  • November 26, 2023
  • 3 replies
  • 1591 views

Hi everyone!

I am trying to run the B-G431B-ESC1 board for the first time (also it is the first time I am using STm software tools) and ran into this issue. I tried compiling for other boards and even other exemples and none of them generated the mcp.h file in the includes folder. Am I missing something? Did anyone ever had this issue before?

Thanks in advance!

enio_0-1701005111859.png

MC Workbench v6.2.0

CubeIDE v1.14.0

 

This topic has been closed for replies.

3 replies

Tesla DeLorean
Guru
November 26, 2023

>> Am I missing something?

Apparently the file in the project or include paths. Find the file in the MCSDK

 

Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
SRedd.5
Senior III
November 26, 2023

Please ensure the following is enabled in workbench

SRedd5_0-1701017707395.png

The mcp.h file is located in the following folder 

\MCSDK_v6.2.0-Full\MotorControl\MCSDK\MCLib\Any\Inc

enioAuthor
Associate
November 27, 2023

Thank you both, helped a lot!