This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Call to SystemInit() required?

Hi,

I've just returned to working on an nRF52811-based project after a year so I'm a little rusty, and I'm wondering if it is necessary to explicitly call SystemInit()  (in system_nrf52811.c) in my main file? I've not seen this done anywhere in the examples etc. but if it's not called, how is my RESET pin being configured? And shouldn't it be called anyway to run the errata workarounds ?

(My project is non-BLE, so no softdevice is used, and I'm using SDK 17.0.2)

Thanks,

Pete

Parents Reply
  • Ah, so it's called from inside the startup .s file. Thanks for the reply Vidar. I'm using Eclipse with GCC but I can see the gcc_startup_nrf52811.S file in my makefile. And if I comment out the system_nrf52811.c file I get a compile error (can't find SystemInit() ), as expected.

    Thanks again.

    Pete

Children
No Data
Related