I want to use gpiote and functions like:
- nrfx_gpiote_input_configure
- nrfx_gpiote_in_event_enable
This is added to the top of my document:
#include <nrfx_gpiote.h>
However, my build says:
'nrfx_gpiote_in_event_enable' was not declared in this scope; did you mean 'nrfy_gpiote_event_enable'
Why is that?
When, in my prj.conf, I add the line:
CONFIG_NRFX_GPIOTE=y
For some reason, my build fails with:
error: NRFX_GPIOTE (defined at C:/ncs/v2.9.0/zephyr/modules/hal_nordic\nrfx/Kconfig:169,
modules\hal_nordic\nrfx/Kconfig:169) is assigned in a configuration file, but is not directly user-
configurable (has no prompt). It gets its value indirectly from other symbols. See
docs.zephyrproject.org/.../kconfig.html and/or look up NRFX_GPIOTE in
the menuconfig/guiconfig interface. The Application Development Primer, Setting Configuration
Values, and Kconfig - Tips and Best Practices sections of the manual might be helpful too.
I'm running vs code and sdk toolchain v2.9.0 along with nRF Connect SDK v2.9.0