Aparently I solved the compilation problem adding "#include "Application.h"" in my "ewmain.c" file. That's strange because the file is inside the "GeneratedCode", included on the makefile and also included on the "DeviceDriver.h", which was already included on the "ewmain.c" file.
Anyway, I'm using the Embedded working package to the STM34L4 provided by the EW website (compiling with GCC).
Now the compilation problem is solved, but the function is not triggering. Further debug is necessary.