OK, full disclosure - I'm pretty new to the whole nRF Connect/Nordic Semi environment, having had to jump across here after all the issues with silicon availability meant I could no longer get Cypress IC's for the products I build.
I'm slowly (very, very, slowly) getting familiar with coding using VSC + nrF Connect + nrF52-DK as my environment. Its painful, but I'm making forward progress.
However, I seem to have come unstuck with a simple piece of code that uses Timer0 to flash a LED at a set period. My code builds, and I can flash it to my DK, but the chip seems to just reset itself shortly after I make a call to the function that enables the timer I am using.
My main loop looks like this:
*** Booting Zephyr OS build v2.6.0-rc1-ncs1 ***
led_config SUCCESS
NRF_SUCCESS
main_loop_timer_init SUCCESS
*** Booting Zephyr OS build v2.6.0-rc1-ncs1 ***
led_config SUCCESS
NRF_SUCCESS
main_loop_timer_init SUCCESS
*** Booting Zephyr OS build v2.6.0-rc1-ncs1 ***
led_config SUCCESS
NRF_SUCCESS
main_loop_timer_init SUCCESS
*** Booting Zephyr OS build v2.6.0-rc1-ncs1 ***