When I compile the following using Eclipse it throws “undefined reference to `ldx_i2c_request’”. i2c.h is on the include path so I don’t understand.
#include
#include
#include
#include
static i2c_t *i2c_ptr;
int i2c_bus = 0;
int main(void){
puts (“hello”);
i2c_ptr = ldx_i2c_request((unsigned int)i2c_bus);
return 0;
}