nrf Developer Academy SDK Intermediate Lesson 6 Exercise 3 access violation

Hi there,

When flashing my solution to Lesson 6 Exercise 3 using nrf52DK / nrf52832 - I kept getting an access violation when attempting to setup the timer.  I compared the solution to my app and noticed that the solution was slightly different to the steps listed in the exercise.  Step 3.2 in the exercise calls for:

const nrfx_timer_t timer_instance = NRFX_TIMER_INSTANCE(TIMER_INSTANCE_NUMBER);

but the solution does not have the const restriction.  I removed the const and all worked properly.

Cheers

Parents Reply Children
No Data
Related