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

I write a program to read OB1203 and compile for nrf 52832 with PCA10400 sucessfully.But i port it to pca10400e for nrf52810 it have problem.

Parents
  • 1> In file included from E:\Nordic\07.bbcar_f0.8\8.Try\code\examples\main.c:29:
    1> ../../../../integration/nrfx/legacy/nrf_drv_twi.h:119:37: error: 'NRF_DRV_TWI_INSTANCE_0' undeclared here (not in a function); did you mean 'NRF_DRV_TWI_INSTANCE_'?
    1> ../../../../integration/nrfx/legacy/nrf_drv_twi.h:118:37: note: in expansion of macro 'NRF_DRV_TWI_INSTANCE_'
    1> E:\Nordic\07.bbcar_f0.8\8.Try\code\examples\main.c:114:36: note: in expansion of macro 'NRF_DRV_TWI_INSTANCE'
    Build failed

Reply
  • 1> In file included from E:\Nordic\07.bbcar_f0.8\8.Try\code\examples\main.c:29:
    1> ../../../../integration/nrfx/legacy/nrf_drv_twi.h:119:37: error: 'NRF_DRV_TWI_INSTANCE_0' undeclared here (not in a function); did you mean 'NRF_DRV_TWI_INSTANCE_'?
    1> ../../../../integration/nrfx/legacy/nrf_drv_twi.h:118:37: note: in expansion of macro 'NRF_DRV_TWI_INSTANCE_'
    1> E:\Nordic\07.bbcar_f0.8\8.Try\code\examples\main.c:114:36: note: in expansion of macro 'NRF_DRV_TWI_INSTANCE'
    Build failed

Children
Related