4 Replies Latest reply on Jun 2, 2017 1:05 PM by MikeMitchell

    Including cyapicallbacks.h in the project

    alexandre.courtemanche.1

      Hello,

         

      I want to define a macro callback in a UART component by following the guide provided by Cypress. In the guide, it says that I have to define a macro in the file called "cyapicallbacks.h". However, the compiler isn't recognizing the defined the macro despite me putting the code in there. Then I realized that the project doesn't have #include "cyapicallbacks.h" written in any file anywhere. Is there a setting in the project that makes it so that somewhere in the generated code the cyapicallbacks.h file is included?

         

      Thanks,

         

      Alex