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

Problem setting up Eclipse for NRF52

Hello, I have been trying to setup eclipse for the NRF52 off and on all week. I followed the guide on setting up eclipse for the NRF51 and adapted it for the NRF52.

I've finally gotten really close but I am running into some errors when compiling.

It seems that most of the errors are a results of the symbols not being resolved.

I've searched on here and tried all of the answers I could find but none worked.

image description

Parents
  • I've just switched IDE from Keil to Eclipse and had the very same error with symbol "NUMBER_OF_GPIOT_TE". In nRF51 SDK the problem was that "nrf_drv_gpiote.c" uses these macros, but they are defined in inactive #ifdef block (GPIOTE_ENABLED) in "nrf_drv_config.h" so these macros weren't defined. The sollution for me was to exclude the nrf_drv_gpiote.c and all unused drivers from build in project->properties->C/C++ General->Paths and symbols->Source Location-> Edit filter button

Reply
  • I've just switched IDE from Keil to Eclipse and had the very same error with symbol "NUMBER_OF_GPIOT_TE". In nRF51 SDK the problem was that "nrf_drv_gpiote.c" uses these macros, but they are defined in inactive #ifdef block (GPIOTE_ENABLED) in "nrf_drv_config.h" so these macros weren't defined. The sollution for me was to exclude the nrf_drv_gpiote.c and all unused drivers from build in project->properties->C/C++ General->Paths and symbols->Source Location-> Edit filter button

Children
No Data
Related