Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs
This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Zephyr LPCOMP - include libraries

I'm trying to get LPCOMP working in Zephyr.

I'm getting the following error:
error: 'NRFX_LPCOMP_DEFAULT_CONFIG' undeclared (first use in this function)
I can see that this is defined in /modules/hal/nordic/nrfx/drivers/include/nrfx_lpcomp.h, but I have the following includes and I guess it's still not being included, what do I need to include to get access to this file?
#include <nrfx.h>
#include <hal/nrf_lpcomp.h>
I also have it enabled in kconfig:
CONFIG_NRFX_LPCOMP=y
Parents Reply Children
No Data
Related