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

GPIOTE_config_irq_priority error

Hello everyone,

i am trying to compile the Ble-UART_example but everytime it shows this error 'GPIOTE_config_irq_priority is undefined ) and i dont know what went wrong because it is just a library files can anyone tell me how to solve this issue any sugestions would be appreciable

Thank you

Parents
  • There is only GPIOTE_CONFIG_IRQ_PRIORITY (C compiler is case sensitive) and it is define in SDK8.1 and SDK9.0 in components\drivers_nrf\config\nrf_driv_config.h

    Where did you get that Ble-UART-example which uses "GPIOTE_config_irq_priority "?

  • I took that example from sdk version 9.0.0 ble_uart-app whenever i compile this program it is showing me this error and can you guide me how to solve this driver file issue before i did not get this error but suddenly it is showing me this error C:\Keil_v5\ARM\PACK\NordicSemiconductor\nRF_Drivers\3.0.1\gpiote\nrf_drv_gpiote.c(43): error: #20: identifier "GPIOTE_CONFIG_NUM_OF_LOW_POWER_EVENTS" is undefined nrf_drv_gpiote_evt_handler_t handlers[ UMBER_OF_GPIO_TE+GPIOTE_CONFIG_NUM_OF_LOW_POWER_EVENTS]; C:\Keil_v5\ARM\PACK\NordicSemiconductor\nRF_Drivers\3.0.1\gpiote\nrf_drv_gpiote.c(157): error: #20: identifier "GPIOTE_CONFIG_IRQ_PRIORITY" is undefined nrf_drv_common_irq_enable(GPIOTE_IRQn, GPIOTE_CONFIG_IRQ_PRIORITY); C:\Keil_v5\ARM\PACK\NordicSemiconductor\nRF_Drivers\3.0.1\gpiote\nrf_drv_gpiote.c: 0 warnings, 2 errors

Reply
  • I took that example from sdk version 9.0.0 ble_uart-app whenever i compile this program it is showing me this error and can you guide me how to solve this driver file issue before i did not get this error but suddenly it is showing me this error C:\Keil_v5\ARM\PACK\NordicSemiconductor\nRF_Drivers\3.0.1\gpiote\nrf_drv_gpiote.c(43): error: #20: identifier "GPIOTE_CONFIG_NUM_OF_LOW_POWER_EVENTS" is undefined nrf_drv_gpiote_evt_handler_t handlers[ UMBER_OF_GPIO_TE+GPIOTE_CONFIG_NUM_OF_LOW_POWER_EVENTS]; C:\Keil_v5\ARM\PACK\NordicSemiconductor\nRF_Drivers\3.0.1\gpiote\nrf_drv_gpiote.c(157): error: #20: identifier "GPIOTE_CONFIG_IRQ_PRIORITY" is undefined nrf_drv_common_irq_enable(GPIOTE_IRQn, GPIOTE_CONFIG_IRQ_PRIORITY); C:\Keil_v5\ARM\PACK\NordicSemiconductor\nRF_Drivers\3.0.1\gpiote\nrf_drv_gpiote.c: 0 warnings, 2 errors

Children
No Data
Related