Hello,
I am trying to configure my NRF52 dev kit (PCA 10040) to work with pwm using the build-in timer. I used some code from the low_power_pwm example but when I am using it in my code with the libraries included I get these 3 errors:
identifier "CLOCK_CONFIG_XTAL_FREQ" is undefined nrf_clock_xtalfreq_set(CLOCK_CONFIG_XTAL_FREQ); identifier "CLOCK_CONFIG_LF_SRC" is undefined nrf_clock_lf_src_set((nrf_clock_lf_src_t)CLOCK_CONFIG_LF_SRC); identifier "CLOCK_CONFIG_IRQ_PRIORITY" is undefined
I have included the same libraries and drivers from the example into my code (except for nrf_nvic.c) but it still gives me these errors. Also I am using the debug out pins if that helps. Any advice? Thanks.