I created a project through gcc c asf board project and added the necessary files. When i build it, I got the undeclared error(first use in this function error). Even though when I right click the particular function and able to navigate to it.
Inside initialize function, I call the function configure_buttons which is in Button.c, there are several #defines which are already there in #include "sam4e8c.h". I am getting the error for those #defines.
For example --#define PIN_PUSHBUTTON_1_ID (ID_PIOA)
int main (void)
/* Insert system clock initialization code here (sysclk_init()). */
/* Insert application code here, after the board has been initialized. */