AnsweredAssumed Answered

STMCubeMX HAL: User Code includes in generated code

Question asked by traud.jason on Sep 27, 2016
Latest reply on Sep 28, 2016 by ForumSTM32.ForumSTM3
I'm using System Workbench for STM32 and working with an STM32F7 with the HAL libraries.

I'm working with a VCP and I'm looking at capturing the input buffer in the usbd_cdc_if.c and sending it to a parsing routine in another file. 

However, when I add my include statement in the usbd_cdc_if.c file the compiler throws an error saying that it cannot find the file or directory. 

Looking at the directory structure generated by Cube, the generated code is in the Src folder and the user code is under SW4STM32/Project/Application/User folder.

This looks like some incorrect setting in System Workbench regarding search paths that I need to set to be able to do this. Can anyone shed some insight on where to look?