This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Error:“GPIOTE_CONFIG_NUM_OF_LOW_POWER_ENVENTS” is undefined

when compiling "ble_app_proximity" exampled by Nordic, it indicates errors:

"D:\Program Files\MDK5\ARM\PACK\NordicSemiconductor\nRF_Drivers\3.0.0\gpiote\nrf_drv_gpiote.c(30): error: #20: identifier "GPIOTE_CONFIG_NUM_OF_LOW_POWER_EVENTS" is undefined"

"nrf_drv_gpiote_evt_handler_t handlers[NUMBER_OF_GPIO_TE+GPIOTE_CONFIG_NUM_OF_LOW_POWER_EVENTS];"

and

"D:\Program Files\MDK5\ARM\PACK\NordicSemiconductor\nRF_Drivers\3.0.0\gpiote\nrf_drv_gpiote.c(148): error: #20: identifier "GPIOTE_CONFIG_IRQ_PRIORITY" is undefined"

"nrf_drv_common_irq_enable(GPIOTE_IRQn, GPIOTE_CONFIG_IRQ_PRIORITY);"

Parents
  • Find nrf_drv_config.h in your nRF_Examples\8.1.1\peripheral\bsp\pca10028\arm5\RTE\nRF_Drivers Modify following macro will ok.

    #define GPIOTE_ENABLED 1

  • If the pacage installer was used to get the example project the file to edit is in your project folder. For the ble_app_uart example this would be in: ble_app_uart\pca10028\s110\arm5\RTE\nRF_Drivers\nRF51422_xxAC\nrf_drv_config.h

    Pack installer v.1.3.7.0 uvision v5.16a nRF51_SDK_v9.x.x

    Edit: I originally had four errors where two was related to this issue. Two other was due to wrong install order of Keil MDK,uVision,Segger tools and SDK.

Reply
  • If the pacage installer was used to get the example project the file to edit is in your project folder. For the ble_app_uart example this would be in: ble_app_uart\pca10028\s110\arm5\RTE\nRF_Drivers\nRF51422_xxAC\nrf_drv_config.h

    Pack installer v.1.3.7.0 uvision v5.16a nRF51_SDK_v9.x.x

    Edit: I originally had four errors where two was related to this issue. Two other was due to wrong install order of Keil MDK,uVision,Segger tools and SDK.

Children
No Data
Related