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

Migrate Code Nrf51 to Nrf52

Hi guys, i was using nrf51822 s130 sdk, and now i am using nrf52dk s132 sdk. When i am using nrf_adc.h, all bitfields macro's get errors. It's bitfield macros doesn't match nrf52's bitfield macros because i am using nrf51's nrf_adc.h header. And i didn't find a nrf_adc.h header for nrf52 dk. Do you have any idea?

And if i don't use nrf_adc.h, i get this errors;

.\_build\nrf52832_xxaa.axf: Error: L6218E: Undefined symbol app_pwm_enable (referred from main.o).

.\_build\nrf52832_xxaa.axf: Error: L6218E: Undefined symbol app_pwm_init (referred from main.o).

.\_build\nrf52832_xxaa.axf: Error: L6218E: Undefined symbol app_pwm_uninit (referred from main.o).

I don't know is it relevant each other, do you have any idea how can i fix this errors?

Thanks Slight smile

Related