Dear All,
I am trying to add buttons to the a projec called Boiler which is the same as out_of_the_box example.
I have included button_if.h in main.c:
// Common interface includes
#include "gpio_if.h"
#include "uart_if.h"
#include "i2c_if.h"
#include "button_if.h" // 12.11.2014 IlanS - need to use buttons therefore we need this include
#include "common.h"
Also added the folloing functions:
void SystemONInterruptHandler()
{
GPIO_IF_LedOn(MCU_RED_LED_GPIO);
}
void SystemOFFInterruptHandler()
{
GPIO_IF_LedOff(MCU_RED_LED_GPIO);
}
and the following line in BoardInit function:
Button_IF_Init(SystemOFFInterruptHandler,SystemONInterruptHandler);
When trying to build the broject, I get the folloing errors:
#10010 errors encountered during linking; "Boiler.out" not built Boiler
#10234-D</a> unresolved symbols remain Boiler
Description Resource Path Location Typeunresolved symbol Button_IF_Init, first referenced in ./main.obj Boiler
thanks
Ilan