Build error

Hello. I followed the steps in the video to develop a project on my custom board.

www.youtube.com/watch

I created a new board and new application (blinky sample). Then I added build configuration (I selected the custom board I created as board target).


But when I build, I get the following fatal error in the terminal: “FATAL ERROR: command exited with status 1: 'C:\ncs\toolchains\ce3b5ff664\opt\bin\cmake.EXE' --build 'c:\nordic\myApps\blinky\build'”

Soc: nrf52833qdaa

toolchains: v2.7.0

sdk: v2.7.0

Parents
  • Hi Mustafa

    I think the easiest would be if you can upload your custom bard so we can have a look at it. We could also start by looking at the overlay for your application since you have devicetree error. 

    Regards

    RUnar

  • Hi Runsiv

    Thank you for your support.

    I think I made a mistake when I created the board. I created a new board again and now there is no build error. 

    I flashed the device, but the led did not blink. When I debugged it, I saw that the lfclk_spinwait function in clock_control_nrf.c was stuck at the following part:


    while (!(nrfx_clock_is_running(d, (void *)&type)

               && ((type == target_type)

                || (mode == CLOCK_CONTROL_NRF_LF_START_AVAILABLE))))

    {

    ...

    }

    I think there is something wrong with my clock configuration. What can I do to solve this?2526.blinky_2.zip

Reply
  • Hi Runsiv

    Thank you for your support.

    I think I made a mistake when I created the board. I created a new board again and now there is no build error. 

    I flashed the device, but the led did not blink. When I debugged it, I saw that the lfclk_spinwait function in clock_control_nrf.c was stuck at the following part:


    while (!(nrfx_clock_is_running(d, (void *)&type)

               && ((type == target_type)

                || (mode == CLOCK_CONTROL_NRF_LF_START_AVAILABLE))))

    {

    ...

    }

    I think there is something wrong with my clock configuration. What can I do to solve this?2526.blinky_2.zip

Children
Related