Global variables definitions for project with multiples files ? | Cypress Semiconductor
Global variables definitions for project with multiples files ?
Can you tell me the way to declare global variables (only once) in a Psoc 5 project that contain many sub routines files ?
I tried to create a single .h file containing all the global variables and include him into each sub files, but the compiler seems to not be happy with this solution.
Is there a proper way to do that ?