blinky sample (with Zephyr) doesn't work on my board

I am working for 2 years on nrf_sdk with softdevice and FreeRtos on cpu nrf52832


now we want to move to Zephyr OS.

- I installed nrf command line tools. nrf connect for desktop , toolchain and vs code.

- I started with the blinky basic example (no peripheral)

- I have PCA10040 evaluation code

- I picked the nrf52dk/nrf52832 board and flashed the sample to the board
and it worked fine.


Now I want to use the same example on my circuit containing CPU nrf52832.
It fails and reach to the following code:

__STATIC_FORCEINLINE void __set_BASEPRI(uint32_t basePri)
{
__ASM volatile ("MSR basepri, %0" : : "r" (basePri) : "memory");
}

How I fix it?

remark: in the nrf_sdk previous project,
I had to change the slow clock configuration in order it to work as follow:

#ifndef NRF_SDH_CLOCK_LF_SRC
#define NRF_SDH_CLOCK_LF_SRC 0 //1
#endif

Alon Matalon

Parents Reply Children
No Data
Related