This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

error: too few arguments to function 'nrfx_gpiote_init'

Hello, according to the latest nrf5 SDK documentation, the nrfx_gpiote_init function takes no argument, but if I call nrfx_gpiote_init() in a zephyr application, I get the error mentioned above. However, if I call nrfx_gpiote_init(0) instead, the project builds fine, and the pin is functional. Am I missing something here?

nrfx_err_t nrfx_gpiote_init ( void  )

Function for initializing the GPIOTE module.

Only static configuration is supported to prevent the shared resource being customized by the initiator.

Return values
NRFX_SUCCESS Initialization was successful.
NRFX_ERROR_INVALID_STATE The driver was already initialized.
Parents Reply Children
Related