Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

Following instructions from "WICED Smart™ Hardware Interfaces" I tried this simple program:

#include "gpiodriver.h"

void application_init(void)

{

  // Initialize the GPIO driver.

  gpioDriver_init();

}

I am getting the linker error:

undefined reference to `gpioDriver_init'

Does anybody know where the implementation of this function is ?

Thank you

Lukas

0 Likes
1 Solution
asridharan
Employee
Employee
10 comments on KBA 5 comments on KBA First comment on KBA

The GPIO driver is always initialized before the application create function is invoked. So there is no need to invoke gpioDriver_init() again in the application create function.

View solution in original post

0 Likes
1 Reply
asridharan
Employee
Employee
10 comments on KBA 5 comments on KBA First comment on KBA

The GPIO driver is always initialized before the application create function is invoked. So there is no need to invoke gpioDriver_init() again in the application create function.

0 Likes