- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
According to SDK document,
wiced_hal_gpio_init() must be invoked before accessing any GPIO driver services, typically at boot.
But, on wiced_platform_init() in wiced_platform.c, wiced_hal_gpio_select_function() and wiced_hal_gpio_configure_pin() are used without wiced_hal_gpio_init().
Or is wiced_hal_gpio_init() implicitly called in SDK binary code?
When /where should I call wiced_hal_gpio_init() in my program?
Thanks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi ToKo_4602001 ,
In the current SDK implementation, you don't have to call wiced_hal_gpio_init() explicitly in the code for 20819. Its calling internally.
Regards,
Anjana
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Which device and demo code are you refering to?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi ToKo_4602001 ,
In the current SDK implementation, you don't have to call wiced_hal_gpio_init() explicitly in the code for 20819. Its calling internally.
Regards,
Anjana
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you for your reply.
I'm going to delete this line from our code.
Thanks